Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
You might be able to use fuser to see what process is using the NFS mount.
It's possible that a process is giving you the 'device busy' error rather
than the server being down as the source of the error. You could also try
umount -k to kill processes using the mount point.
However, Ryan is probably right (he usually is ;) ) in that a reboot of
the client may be in order to umount the filesystem. If nothing is using
it or processes aren't getting blocked in the kernel and using up tons
of io wait time in the cpu while waiting for a filesystem that will never
respond, then it's OK to just let it wait until the next scheduled reboot.
Dave Lloyd
On Wed, 9 Jan 2002, Ryan Dooley wrote:
>
> > 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/
>
--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php
Archives are available at http://mlug.missouri.edu/list-archives/