LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-16-2012, 02:30 PM   #1
mannmaniyar
LQ Newbie
 
Registered: Apr 2009
Posts: 22

Rep: Reputation: 0
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.

Last edited by mannmaniyar; 07-16-2012 at 03:43 PM.
 
Old 07-16-2012, 04:26 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well the reason would be it's trying to hit the NFS server.

try a "umount -l /backup" for a "lazy" umount.
 
Old 07-16-2012, 06:04 PM   #3
sharadchhetri
Member
 
Registered: Aug 2008
Location: INDIA
Distribution: Redhat,Debian,Suse,Windows
Posts: 179

Rep: Reputation: 23
umount and mount the dir again.

umount /backup

mount -t nfs nfsserver:/path/to/share /backup
 
Old 07-16-2012, 06:07 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by acid_kewpie View Post
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.
 
1 members found this post helpful.
Old 07-16-2012, 09:33 PM   #5
mannmaniyar
LQ Newbie
 
Registered: Apr 2009
Posts: 22

Original Poster
Rep: Reputation: 0
Hi All,

Thanks for the replies. I used
Quote:
umount -fl /backup
and it worked.

Best Wishes,
Mann.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Script/Command Require in case command hangs rajaniyer123 Linux - General 1 04-03-2012 06:45 PM
Find directory older than x and mv directory with sub files command ajhart Linux - Newbie 4 07-15-2011 05:24 AM
[SOLVED] MD RAID5 Hangs on Directory Creation Kal Bob Linux - Server 2 04-13-2010 07:42 PM
Back Track 3 Live CD hangs during boot [...looking for data directory] dheerajsuthar2008 Linux - Newbie 2 04-03-2009 11:26 PM
Two roots? revenge80200 Yoper 0 01-29-2005 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration