[Breezy] Incorrect Report by df -h

Mike Bird mgb-ubuntu at yosemite.net
Sat Dec 31 21:36:16 UTC 2005


On Sat, 2005-12-31 at 13:10, Ed Fletcher wrote:
> root:/mnt # df -h  (other partitions not shown)
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sdb7             9.2G   33M  8.7G   1% /temp
> /dev/sda2              55G   33M   52G   1% /mnt
> root:/mnt #
> 
> The numbers don't add up.
> 
> I know that they are empty.

In addition to your lost+found blocks, there are blocks used
for superblocks, bitmaps, group descriptors, inodes, journal,
indirect blocks, and probably others too.

As a test I just created an empty 32MB ext3 filesystem:

# mke2fs -j /dev/VG0/test

It has 14% used:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VG0-test     31729      4127     25964  14% /test

--Mike Bird






More information about the ubuntu-users mailing list