Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
du results appear anomolous...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Off the Wall
View previous topic :: View next topic  
Author Message
amasidlover
Apprentice
Apprentice


Joined: 16 Jun 2002
Posts: 272
Location: Manchester, UK

PostPosted: Wed Jul 24, 2002 9:46 am    Post subject: du results appear anomolous... Reply with quote

If I run df my /home partition appears to hae 2.7G of data on it. If I run du -chxs * on /home it reports a total of 2.7G and shows that 2.6G of it is in /home/alex. If I then cd to /home/alex and run du-chxs * it reports a total of 1.0G.

Does anyone have any suggestions as to how I find out where the other 1.6G is?

Thanks in Adance,

Alex
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Jul 24, 2002 9:49 am    Post subject: Reply with quote

It's probably in files that begin with a leading dot, so try
Code:
$ du .*

_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
amasidlover
Apprentice
Apprentice


Joined: 16 Jun 2002
Posts: 272
Location: Manchester, UK

PostPosted: Wed Jul 24, 2002 10:08 am    Post subject: Reply with quote

Ok, du -chs .* gives 2.6G in . and none of the other .* files are of any significant size..

I'm stumped...
Back to top
View user's profile Send private message
amasidlover
Apprentice
Apprentice


Joined: 16 Jun 2002
Posts: 272
Location: Manchester, UK

PostPosted: Wed Jul 24, 2002 10:16 am    Post subject: Reply with quote

Ok, I had an idea and tried
Code:
du -ch --max-depth=1 *
in /home. Bingo! .xauth is 1G !!
it seems that there is an .nfs file in .xauth/root/alex.alex-masidlover.co.uk which is 1G in size. I have absolutely no idea how or why this has happened since alex.alex-masidlover.co.uk does not and has never resolved to an IP address...
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Jul 24, 2002 10:19 am    Post subject: Reply with quote

It could also be a file (like a big download in a browser cache) that has been deleted but is still held open by a running process, so it hasn't been reaped yet. Does this same behavior persist across a reboot?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Off the Wall All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum