LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-22-2008, 02:40 PM   #1
philh03
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Rep: Reputation: 0
df command works, but hangs


All - When I issue the df command on one of the Solaris X6250 running RedHat Linus 4 64 bit the command displays the data fine, but then it hangs, not returning to the command prompt. It happens no matter what shell I'm using. The only way to get out is to kill the SSH session I've used to connect.

Any ideas?

Phil
 
Old 07-22-2008, 02:50 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 246Reputation: 246Reputation: 246
You might have a hung mount somewhere, like an NFS share or the like? Does this server have NFS or another other remote mounts setup?
 
Old 07-22-2008, 02:53 PM   #3
philh03
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Yes, new F+NFS mount

Yes, another person tried to create one.
 
Old 07-22-2008, 03:47 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 246Reputation: 246Reputation: 246
Quote:
Originally Posted by philh03 View Post
Yes, another person tried to create one.
There you go then. It's not very graceful but whenever I've encountered this issue and was unable to umount properly or if it's for sure not mounted, sometimes the /etc/mtab file will still have the NFS mount in the file, I'll edit this file to remove the NFS mount and df works like a charm once again. Be careful though to not remove any other mount you need for the system though.

You may consider AutoFS if you do need NFS mounts. It will mount when needed and umount after no activity for the time specified in the configuration.
 
1 members found this post helpful.
  


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
du command hangs/freezes redir Linux - Server 10 08-28-2007 05:31 PM
X works for root, hangs for users a_priebe47 Slackware 3 01-26-2007 04:58 PM
PC hangs on lsusb command Adrian Baker Linux - General 0 07-07-2005 09:52 AM
Linmodem works, then hangs up. webwolf70 Linux - Hardware 10 09-29-2004 11:29 AM
Mandrake 9.2 install CD hangs, but 9.1 works KWTm Mandriva 0 04-29-2004 12:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:44 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration