How does fragmentation work?

From: Eve Zeng (eve@ASIRIUS.COM)
Date: Wed Jul 24 2002 - 23:03:24 EDT


Hi,

Can anyone of you explain this: I have created 2 filesystems as shown below,
/tmp/frag4096 created with fragmentation size 4096 and nbpi 4096,
/tmp/frag512 created with fragmentation size 512 and nbpi 512, and I stored
50 512-byte files in each filesystem, theoretically /tmp/frag512 should save
more space when storing small files, but it doesn't seem to be the case,
why?
Filesystem 512-blocks Free %Used Iused
%Iused Mounted on

/dev/lv01 32768 31256 5% 67
2% /tmp/frag4096

/dev/lv02 32768 24416 26% 67
1% /tmp/frag512

Any prompt reply will be greatly appreciated!

Cordially
Eve Zeng
IT Consultant
Asirius Pte Ltd
Tel:65-62279-002
Fax:65-62277-528
E-mail:eve@asirius.com
URL: www.asirius.com



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:05 EDT