bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: df command hangs system.


From: Suresh Kumar Papneja, Noida
Subject: RE: df command hangs system.
Date: Mon, 22 Jan 2007 12:15:47 +0530

Hi Phil,

Thanks for all your support! Problem is resolved after umount bad
filesystem.

Thanks, 
 
Suresh Papneja

-----Original Message-----
From: Philip Rowlands [mailto:address@hidden 
Sent: Friday, January 19, 2007 7:05 PM
To: Suresh Kumar Papneja, Noida
Cc: address@hidden
Subject: Re: df command hangs system.

On Fri, 19 Jan 2007, Suresh Kumar Papneja, Noida wrote:

> While executing "df -kP" or "df" command, the system will go in wait 
> state until forcefully kill by ctrl+c,

It's likely that an NFS mount is hanging in the statfs call. You should 
be able to see this by running df under strace.

$ strace -e statfs,statfs64 df
statfs64("/", 84, {f_type="EXT2_SUPER_MAGIC", f_bsize=4096,
f_blocks=4828858, f_bfree=2920424, f_bavail=2675132, f_files=2452800,
f_ffree=2200287, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
etc.


Cheers,
Phil

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]