You are not logged in.

#1 2010-04-17 20:31:43

bseege
Member
Registered: 2010-04-17
Posts: 3

Directory sizes corrupted

Hi,

a couple of minutes ago I noticed that my root partition had no space left. It was at exactly 0 bytes free space. I thought it should have a few GB free and looked at the sizes of the directorys under /. For a couple of directorys (/dev, /lib,...) the size was displayed as 131072,0 GB.

I tried to reboot hoping the problem would go away but I couldn't start X anymore (apparently it some free disk space on / to boot). I logged in as root and freed some space by removing packages and could start X again. I also booted with a live cd and ran fsck on the device but it didn't find anything wrong.

I found some tools that can display the correct file sizes and disk usage (ncdu reports total disk usage 592 GiB but Apparent size 128 TiB, I wish I really had that much) but nothing to correct them.

Does anybody have an idea how I could solve this?

Offline

#2 2010-04-17 20:37:24

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: Directory sizes corrupted

Remove the cache of packages with:

$ sudo pacman -Scc

Offline

#3 2010-04-17 20:41:01

bseege
Member
Registered: 2010-04-17
Posts: 3

Re: Directory sizes corrupted

Yes, I did that to get more space but the disk usage is still displayed incorrectly.

Offline

#4 2010-04-17 21:24:00

bseege
Member
Registered: 2010-04-17
Posts: 3

Re: Directory sizes corrupted

Ok I was able to solve this after all.

In case anyone cares the 128TB files are apparently normal... The real culprit were three logfiles under /var/log that had grown to more than 1GB each. They were all filled with the same message "Apr 11 xx:xx:xx desktop kernel: hda-intel: spurious response 0x0:0x0, last cmd=0x1f8101" over and over again (like 50 times per second). Er I guess I should look into this further.

Offline

Board footer

Powered by FluxBB