Re: SAMBA -- automatic remounting
- From: Keith Keller <kkeller-usenet@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 30 Mar 2006 14:30:30 -0800
On 2006-03-30, Ignoramus27088 <ignoramus27088@xxxxxxxxxxxxxxxxxxxx> wrote:
What I do want though, is to ensure that these mounts would survive
reboots of the server and that they would auto-reconnect if something
goes bad temporarily. (one of these computers is for a 4.5 year old
kid, so I cannot expect him to do any system maintenance yet).
So...
1) How to detect when a samba mount is stale.
2) Is there some system flag to automatically remount the shared
drives, or do I just need to write a little "stale detection and
remounting" script? What is the right way to do it?
I'm surprised nobody has suggested automount. It won't necessarily
detect a stale mount, but it will timeout a mount (so that it won't be
affected if the mount is not needed when the server reboots), and will
automatically mount when a request is made for the automount point. It
works great in my NFS setup, but it's not fstype-specific (it can do
local mounts as well as network mounts).
--keith
--
kkeller-usenet@xxxxxxxxxxxxxxxxxxxxxxxxxx
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom
see X- headers for PGP signature information
.
- Follow-Ups:
- Re: SAMBA -- automatic remounting
- From: The Natural Philosopher
- Re: SAMBA -- automatic remounting
- Prev by Date: Re: Create log file from script code..
- Next by Date: Re: Create log file from script code..
- Previous by thread: Re: SAMBA -- automatic remounting
- Next by thread: Re: SAMBA -- automatic remounting
- Index(es):
Relevant Pages
|