Re: Automatically remounting CIFS share

2010-03-01 Thread Chris Davies
Jon Dowland wrote: > I've only run the automounter with NFS mounts but I think it > can be used with anything that fits into the fstab. That's correct. I have an automounter handling CIFS, NFS, and even local partitions. There's no reason I can see why it couldn't handle FUSE-based filesystems, t

Re: Automatically remounting CIFS share

2010-02-22 Thread Scott Gifford
On Mon, Feb 22, 2010 at 6:18 AM, Jon Dowland wrote: > On Fri, Feb 19, 2010 at 04:29:23PM -0500, Scott Gifford > wrote: > > I'm a bit surprised there isn't a solution that's less > > messy, though. > > There is: the automounter. > Maybe. The files on the server are accessed very frequently, so I

Re: Automatically remounting CIFS share

2010-02-22 Thread Jon Dowland
On Fri, Feb 19, 2010 at 04:29:23PM -0500, Scott Gifford wrote: > I'm a bit surprised there isn't a solution that's less > messy, though. There is: the automounter. signature.asc Description: Digital signature

Re: Automatically remounting CIFS share

2010-02-19 Thread Scott Gifford
On Wed, Feb 17, 2010 at 5:07 AM, Stan Hoeppner wrote: > Scott Gifford put forth on 2/16/2010 2:41 PM: > [ ... ] > > Is there a way to get similar behavior from a CIFS server, where a > rebooted > > fileserver will automatically be remounted when it comes back? > > Stop rebooting the NAS. If it

Re: Automatically remounting CIFS share

2010-02-19 Thread Scott Gifford
On Wed, Feb 17, 2010 at 1:06 AM, Brian Ryans wrote: > Quoting Scott Gifford on 2010-02-16 14:41:14: > > Is there a way to get similar behavior from a CIFS server, where a > rebooted > > fileserver will automatically be remounted when it comes back? > > Hi Scott. If my mental model of your problem

Re: Automatically remounting CIFS share

2010-02-17 Thread Brian Ryans
Quoting Scott Gifford on 2010-02-16 14:41:14: > Is there a way to get similar behavior from a CIFS server, where a rebooted > fileserver will automatically be remounted when it comes back? Hi Scott. If my mental model of your problem is correct, then your problem can be solved by adding an entry t

Re: Automatically remounting CIFS share

2010-02-17 Thread Jon Dowland
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

Re: Automatically remounting CIFS share

2010-02-17 Thread Stan Hoeppner
Scott Gifford put forth on 2/16/2010 2:41 PM: > Hello, > > We have a Debian Linux server which has a persistent mount of a CIFS share > provided by a Buffalo fileserver (NAS) device. > > The mount is started automatically (from fstab) when our Debian machine > boots, and works properly and consis