On Jan 3, 2008 9:54 AM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On Jan 2, 2008 2:49 PM, Dan McGee <dpmcgee@gmail.com> wrote:
I've noticed lately that netfs always fails to shut down correctly, and I was wondering if this is just my system or if others are also noticing this. An easy way to check: sudo /etc/rc.d/netfs restart
If you see a [FAIL], you're in the same boat as me. Let me know and I'll file a bug report if more people have the same issue.
What netfs filesystems do you have mounted? samba? nfs?
$ mount ... nfsd on /proc/fs/nfsd type nfsd (rw,noexec,nosuid,nodev) cork:/home/dmcgee on /home/dmcgee/cork type nfs (rw,addr=192.168.1.101) That is it. cork is always up when I'm trying to shutdown, so that isn't the problem. An "lsof | grep cork" right before I run "/etc/rc.d/netfs restart" yields no results, and yet the shutdown still fails (but the startup is a success). Running the umount command manually from the daemon script, as root, yields a return value of 1 (although the NFS mount is unmounted according to mount output). Running mount returns 0 (and the NFS share is remounted). Vaguely related, but it is also odd that mount has its path fully spelled out (/bin/mount) while umount does not. That doesn't make a difference though. -Dan