
21 Aug
2015
21 Aug
'15
2:24 a.m.
David Zuccaro writes:
df -h /dev/sdf1 1.4T 1.4T 0 100% /media/dz/5540d70d-...
[I deleted] 30 GB of data [...] df still reports the disk is completely full
By default mke2fs reserved 5% of the filesystem for uid 0. This is also used as a staging area to reduce fragmentation. df does not include this area in the "free" size, so if you fill a disk *as root*, you must remove >5% for df to show any change. 30G is about 2% of 1.4T, so that's not enough. You can remove this reserved area using tune2fs, but that is a bad idea.