Hello list,
here's an interesting phenomena I am seeing:
# df -h
/dev/hda3 215G 152G 63G 71% /sam224
/dev/dm-0 233G 233G 350M 100% /sam250
# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/hda3 112254144 33076 112221068 1% /sam224
/dev/dm-0 1466272 35982 1430290 3% /sam250
How come that dm-0 has much less inodes despite the two volumes having
about the same size? It can't be because of isize=512, can it? (If at
all, I would expect an isize=512 volume to have less inodes than a
isize=256 one for the same number of blocks.)
# xfs_info /dev/dm-0
meta-data=/dev/disk/by-label/sam250 isize=256 agcount=16, agsize=3813429
blks = sectsz=512 attr=0
data = bsize=4096 blocks=61014864, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=1
naming =version 2 bsize=4096
log =internal bsize=4096 blocks=29792, version=1
= sectsz=512 sunit=0 blks
realtime =none extsz=65536 blocks=0, rtextents=0
# xfs_info /dev/hda3
meta-data=/dev/disk/by-label/sam224 isize=512 agcount=16, agsize=3507943
blks = sectsz=512 attr=0
data = bsize=4096 blocks=56127088, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=1
naming =version 2 bsize=4096
log =internal bsize=4096 blocks=27405, version=1
= sectsz=512 sunit=0 blks
realtime =none extsz=65536 blocks=0, rtextents=0
Jan
--
ft: http://freshmeat.net/p/chaostables/
|