Solved

df -k hangs in redhat 5.x

Posted on 2010-09-24
4
1,160 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

733 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