[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with getfh & nfs
Hi,
well, I am using the automounter and sometimes it gets stuck with stale
NFS handles. then I can't umount ("device busy"), can't remove the
automounter from the /proc/mount (though the process long died), and can't
even rmdir the mount point ("device busy").
And then I really only can reboot to clean up this mess. I already tried
to go to single user and back to multi user, but it doesn't help.
Sincerely,
Schlomo Schapiro
---
email: schlomo@schapiro.org
WWW: http://www.schapiro.org
On Thu, 26 Oct 2000, Nadav Har'El wrote:
> On Thu, Oct 26, 2000, Schlomo Schapiro wrote about "problem with getfh & nfs":
> >..
> > Also, what can I do to get rid of stale NFS handles ? I mean besides
> > rebooting the machine (which is not a Linux-style solution).
>
> I hope you'll get a better answer, but I just wanted to point out one thing:
> one of the nice things about Linux (and Unix in general) is the decoupling
> of the various parts of the system, and when one fails you can (at least in
> priciple) restart it, without having to restart the whole system ("reboot").
> What Windows users know as "reboot the system for this tiny configuration
> change to take effect" is known in Unix as "restart this one tiny service
> for the changes to it to take effect".
>
> So if you're having problems with NFS onone filesystem, you can umount it,
> and mount it again, and that should (minus any bugs) clear all the handles,
> caches, and such stuff from the time of the old mount.
>
> [I know nfs is in the kernel now, but I hope that it still follows the general
> Unix philosophy]
>
> > PS: Please reply to the list only
> >
> > PPS: List-master ! Please reinstate the Reply-To: header field !
>
> ;)
> As usual (without the reply-to) you'll get this reply to the list and to
> yourself - pressing "g"(roup reply) is easier than having to cut and paste
> the list address myself...
> All you YAY-sayers out there: there's still a little time to vote!
>
> --
> Nadav Har'El | Thursday, Oct 26 2000, 27 Tishri 5761
> nyh@math.technion.ac.il |-----------------------------------------
> Phone: +972-53-245868, ICQ 13349191 |Lumber Cartel member #2224.
> http://nadav.harel.org.il |http://come.to/the.lumber.cartel
>
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il