smbfs mounts, and disconnected (then reconnected) networks

Ziga Mahkovec ziga.mahkovec at klika.si
Mon Apr 11 14:02:20 UTC 2005


On Mon, 2005-04-11 at 01:53 +1000, Colin Charles wrote: 
> So, I tend to do:
> 
> 	mount -t smbfs //myserver/share /mnt
> 
> a lot. Problem is, I do this on my laptop, and I do tend to move it
> around sometimes, to places that don't involve my network. Because ACPI
> sleep doesn't work on my beautiful x86 laptop, I resort to just closing
> the lid, putting it in my backpack, and moving it usually, a 5-minute
> drive away from my home to where I usually spend the rest of my day
> 
> Now, if I try to stat /mnt, I can an I/O error. This is mighty annoying,
> so is there a timeout for "lost mounts"? 
> [...]

If that's not an NT4 server you're accessing, you could try the newer
CIFS filesystem (mount.cifs) and see if it behaves any better.

> Note that in all these scenarious, unmounting /mnt _does not work_

When I have these problems with stale NFS mounts, I usually resort to
lazy unmounting (umount -l).


Hope that helps,
-- 
Ziga




More information about the fedora-test-list mailing list