[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Automatically remounting CIFS share



On Tue, Feb 16, 2010 at 03:41:14PM -0500, Scott Gifford
wrote:
> Is there a way to get similar behavior from a CIFS server,
> where a rebooted fileserver will automatically be
> remounted when it comes back?

automount might help you. It won't do exactly as you ask
there (remount on failure). What it does is mount on access,
and unmount after a period of inactivity. So, if the CIFS
server breaks, but nobody is around, it won't be mounted at
that time. But if it's available and you try to use it, it
will be mounted.

I've only run the automounter with NFS mounts but I think it
can be used with anything that fits into the fstab.

-- 
Jon Dowland

Attachment: signature.asc
Description: Digital signature


Reply to: