Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

df -g & original space are different

Status
Not open for further replies.

pctech321

IS-IT--Management
Oct 20, 2007
18
US
hi,

i have a strange problem today , i got a warning saying 96% full of /import filesystem

tech@sunclipse/import#df -g /import
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/hd1 2.00 0.09 96% 2692 1% /import


but i run the following command, and found out that total space of all folders and files is not equal to 96% of 2 GB
is there any process consume the space in my import directory ? how to find out that process..see below

tech@sunclipse:/import#du -sg * | sort +0nr
0.02 robert
0.01 bb
0.01 sam
0.01 sitescop
0.00 kalyan
0.00 arrechs
0.00 bealr
0.00 mayne
0.00 dacyp
0.00 devines
0.00 elliottj
0.00 stlouis
0.00 guest
0.00 heng
0.00 leek
0.00 lost+found
0.00 chang
0.00 ponds
0.00 mohan
0.00 sshd
0.00 sysback
0.00 weatherd
0.00 wiggink
0.00 yud

any help appreciated..

thank you,

-Pctech
 
This happens when a process opens a file in that filesystem and being unproperly killed!

Check the processes that are connected to that filesystem using lsof or fuser!

umounting and mounting the filesystem will help as well but it might not let you do that as long as the process is still using it!

Regards,
Khalid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top