You are not logged in.

#1 2010-07-15 15:43:47

ernesto
Member
Registered: 2008-10-30
Posts: 21

Size discrepancy or misinterpretation?

Problem:
df -h

Filesystem                             Size  Used   Avail Use% Mounted on
/dev/mapper/nyjora-home   283G  232G   37G  87% /home

lvs

LV        VG     Attr   LSize      Origin Snap%  Move Log Copy%  Convert
home nyjora -wi-ao 287.00g

sudo tune2fs -l /dev/mapper/nyjora-home | grep -i 'block'

Block count:              75235328
Reserved block count:     3761765
Free blocks:              13375707
First block:              0
Block size:               4096
Reserved GDT blocks:      1006
Blocks per group:         32768
Inode blocks per group:   512
Flex block group size:    16
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
Journal backup:           inode blocks

The information given by lvs states the size of home is 287G, the block count/size info given by tune2fs adds up to 287, but df is stating the filesystem is only 283G. Is this right or is something actually wrong here?

I just came back from shrinking home and extending root so I'm afraid there's a chance I cocked something up. sad

Offline

Board footer

Powered by FluxBB