Re: nfs stuck, don't know what processes to kill

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



Dave Burns wrote:
> On Tue, Feb 2, 2016 at 9:23 AM, <m.roth@xxxxxxxxx> wrote:
>
>> Dave Burns wrote:
>> > My NFS server is up and other clients can access x. One particular
>> client
>> > can't. I tried to unmount the NFS share:
>> >
>> > [root@nfsclient ~]#  umount -f /disk/x
>> > umount2: Device or resource busy
>> > umount.nfs: /disk/x: device is busy
>> > umount2: Device or resource busy
>> > umount.nfs: /disk/x: device is busy
>> >
>> > If I use df or lsof to try to figure out what process to kill, they
>> > hang.I am reluctant to just reboot, as many other users are getting
>> > stuff done. dmesg doesn't show anything useful.
>> >
>> > How to get unstuck?
>>
>> *IF* I understand what you're saying, on that one client, you're trying
>> to umount the nfs share. Is that the case?
>>
>> IF that is the case... is autofs running? If so, service autofs stop,
>> and you should be able to umount it.
>>
>> # service autofs stop results in fail. Maybe need #rm
>> /var/run/autofs.pid?

Ok, ps -ef | grep auto, and see if it's running; or are you saying it
*said* shutting it down failed? Oh, and is this CentOS 6 or 6 (service, or
systemctl)?

If it's already shut off, and lsof doesn't help, does doing a df help?
Perhaps it might show someone's workspace, or home directory mounted, so
you know who to kill?

        mark

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux