LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Any command on one directory under / hangs. (https://www.linuxquestions.org/questions/linux-newbie-8/any-command-on-one-directory-under-hangs-4175417023/)

mannmaniyar 07-16-2012 02:30 PM

Any command on one directory under / hangs.
 
Hi,

When I try to access directory /backup it just get hangs. when I perform any command ls, lsof, cd, rm.

The directory was temporary mount point of NFS share. NFS share was unavailable for some time and after that I am facing this issue.

Kindly suggest what might me the reason and any work around to solve the issue.

acid_kewpie 07-16-2012 04:26 PM

well the reason would be it's trying to hit the NFS server.

try a "umount -l /backup" for a "lazy" umount.

sharadchhetri 07-16-2012 06:04 PM

umount and mount the dir again.

umount /backup

mount -t nfs nfsserver:/path/to/share /backup

suicidaleggroll 07-16-2012 06:07 PM

Quote:

Originally Posted by acid_kewpie (Post 4729875)
well the reason would be it's trying to hit the NFS server.

try a "umount -l /backup" for a "lazy" umount.

I often have to do a "umount -fl" in these situations, but yes that's the approach I would take as well.

mannmaniyar 07-16-2012 09:33 PM

Hi All,

Thanks for the replies. I used
Quote:

umount -fl /backup
and it worked.

Best Wishes,
Mann.


All times are GMT -5. The time now is 02:50 AM.