You are not logged in.

#1 2010-11-12 21:03:18

jkastelic
Member
Registered: 2010-02-14
Posts: 17

df reports wrong free space (LUKS/ext4)

I have a 8 GB ext4 partition encrypted by LUKS and for the past 6 months, all has been working great. Lately, I have noticed that my disk usage is up to 100 % and since X won't boot that way, I just deleted some files to free up disk space. But soon disk magically filled up (I suspect it is after system updates, but I am not sure).

Output of df -h:

Filesystem            Size  Used Avail Use% Mounted on
udev                   10M  180K  9.9M   2% /dev
/dev/mapper/root      8.3G  7.7G  206M  98% /
shm                   439M  292K  439M   1% /dev/shm
/dev/sda1              23M   16M  6.2M  72% /boot
/dev/mapper/home      138G   86G   46G  66% /home

However du / --exclude={proc,home} | sort -nr reports the following (bottom part stripped off)

2574341 /
2278528 /usr
1047852 /usr/share
736748  /usr/lib
315976  /usr/share/fonts
302164  /usr/bin
268728  /usr/share/fonts/TTF
193012  /usr/share/fonts/TTF/Western Fonts
170608  /usr/share/locale
142284  /var

From the above I believe that only about 3G of / is really used space. I have read somewhere that it is caused when a file is deleted while still being open by some process. But I think this is not the case since the problem persists after reboot.

Any ideas what is keeping my root partition full?

Offline

#2 2010-11-13 21:31:45

jkastelic
Member
Registered: 2010-02-14
Posts: 17

Re: df reports wrong free space (LUKS/ext4)

Do not concern yourself any more with this problem, since I just reformated the partitions (back) to ext3.

Offline

Board footer

Powered by FluxBB