MLUG: Re: [MLUG] NFS
Re: [MLUG] NFS
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

> I have an NFS share that is currently mounted and would like to unmount
> it.  The problem is that the computer which is exporting the NFS shares
> has been shutdown.  When we try to unmount the NFS shares it says "device
> busy".  I haven't been able to successfully force an unmount of the NFS
> shares.  We ran into this problem before and since we couldn't unmount the
> NFS shares we tried rebooting the computer.  The computer would't shutdown
> so we had to hit the power botton.  [We're running ext2 right now and
> hopefully soon move over to ext3 or xfs]  I'd really like to have a clean
> shutdown but I don't think that is possible with the NFS shares pointing
> to a server that is currently down.  I could try to bring the box that was
> exporting the NFS shares up, but I think its hard drives have been
> formatted.

Depends on how the NFS mount was mounted (options after -o?).  If you
didn't specifiy bg or intr, a clean reboot (well, if you can do something
like: sync;sync;sync before you hit the power button) of the client is
probably in order.

If it comes down to this in the future, try the following:

mount -t nfs -o hard,bg,intr,<other options> server:/share /mnt/point

The bg attempts to mount exports in the background after a time out.
The hard option will try to access the mount when you get the "server not
responding" messagess.
The intr option will allow the mount point to be interrupted (file
operations get EINTR).

Most of that comes from "man 5 nfs"

Cheers,
	Ryan

--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/