Re: SAMBA -- automatic remounting
- From: The Natural Philosopher <a@xxx>
- Date: Fri, 31 Mar 2006 11:52:39 +0100
Keith Keller wrote:
On 2006-03-30, Ignoramus27088 <ignoramus27088@xxxxxxxxxxxxxxxxxxxx> wrote:That is what I thought the 'auto' bit in the mount command did..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
.
- Follow-Ups:
- Re: SAMBA -- automatic remounting
- From: John-Paul Stewart
- Re: SAMBA -- automatic remounting
- References:
- Re: SAMBA -- automatic remounting
- From: Keith Keller
- Re: SAMBA -- automatic remounting
- Prev by Date: Profiler on Linux
- Next by Date: Re: Profiler on Linux
- Previous by thread: Re: SAMBA -- automatic remounting
- Next by thread: Re: SAMBA -- automatic remounting
- Index(es):
Relevant Pages
|