Stephen Montgomery-Smith wrote:
I have SuSE on a laptop and FreeBSD on a desktop. I am mounting an NFS filesystem on my laptop from the desktop machine, by having
desktop:/usr/home/stephen /home/stephen/desktop nfs rsize=8192,wsize=8192,timeo=14,intr
in my /etc/fstab file. (I got this from the man page for nfs).
I have a couple of questions. 1. If I switch on the laptop with the desktop switched off, the boot sequence for the laptop stops at the point of mounting the NFS file system. Also, if I switch the laptop on while the desktop is on then switch the desktop off, then boot down the laptop, the laptop halting process stops at the umounting stage. I can see no other way around then to switch off the laptop, and then its local filesystems are not clean.
How do I get around this? It seems to me that the mounting and umounting should time out after a short amount of time (like one second).
Thanks for the suggestions. I put the mounting of the nfs system in the background in /sbin/init.d/nfs, as Eilert suggested, and also added bg to the list of options as Jesse suggested. These helped with mounting. As for umounting, umount -f does not do it. Finally what I came up with was to change /sbin/init.d/halt so that in the part UMOUNT_FAILED=false ECHO_RETURN=$rc_done_up echo "Unmounting file systems" umount -avt noproc,nonfs || { UMOUNT_FAILED=true ECHO_RETURN=$rc_failed_up } echo -e "$ECHO_RETURN" I have added nonfs to the options of umount. This means it will not be trying to umount the nfs file systems. (They should have been umounted already by /sbin/init.d/nfs, so if all is well with nfs this does not change anything, but if nfs is down, then the computer can still umount the other file systems.) I think that this change should be made to the SuSE distribution. How do I make this suggestion? -- Stephen Montgomery-Smith Department of Mathematics, University of Missouri, Columbia, MO 65211 Phone 573-882-4540, fax 573-882-1869 http://www.math.missouri.edu/~stephen stephen@math.missouri.edu -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/