Solved

df -k hangs in redhat 5.x

Posted on 2010-09-24
4
1,142 Views
Last Modified: 2012-05-10
I did a df -k on a box and the command hung.

Called the SA and very quickly learned that it was a hung samba mount.

How did he determine that so quick ( what was the command ? )

0
Comment
Question by:TIMFOX123
  • 2
4 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 334 total points
ID: 33756275
Issue "df" and note the last filesystem dispayed before the hang.
Now issue "mount".
The filesystem displayed just following the one you noted is most probably the culprit.

wmp
0
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 334 total points
ID: 33756305
... or issue "mount" and then "df /mount/point" one by one against all displayed mountpoints.
You will immediately see where it hangs.
0
 
LVL 14

Assisted Solution

by:Deepak Kosaraju
Deepak Kosaraju earned 166 total points
ID: 33757454
df hungs when samba (or) nfs mountpoints are having problem. Try to cd to the filesystem that are mounted via samba (or) NFS if u cannot that implies filesystem is hung. Its better to open a new remote session as a backup because even cd hungs when you try to a hung filesystem. using mount -a u can try to remount the filesystem if else the entry to mount the filesystem is present under /etc/fstab if not try to check the status to services on SAMBA Server if all looks good on server side, mount the filesystem manually using following command
mount -t smbfs //server1/sharefilesystem /destinationfilesystem

To automount using fstab everytime when system boots use following procedure in the link
http://www.cyberciti.biz/faq/configure-a-system-to-automount-a-samba-share-with-etcfstab/
0
 

Author Closing Comment

by:TIMFOX123
ID: 33762518
'this answers my question
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question