Comment 24 for bug 321528

Revision history for this message
Serhii Piddubchak (serhii-piddubchak) wrote : Re: ext4 defrag / defragment tool in Jaunty - include

@Michael, I hope I had at least 3% of fragmentation )

Just performed a check on my 1TB partition (I use it in my Gentoo home server).
The partition is one year and one month old
917GB total, 871GB used, 37GB free, 10GB reserved
it is used as storage for audio and video files and for rtorrent.

$ sudo /sbin/tune2fs -l /dev/sda1
tune2fs 1.41.9 (22-Aug-2009)
...
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags: signed_directory_hash
...
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 965
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 8192
Inode blocks per group: 512
Flex block group size: 16

$ sudo fsck.ext4 -nv /dev/sda1
e2fsck 1.41.9 (22-Aug-2009)
...
   43007 inodes used (0.07%)
   15990 non-contiguous files (37.2%)
...
   39260 regular files
    3736 directories

37.2% is very high level of fragmentation I suppose, so defragmentation support is much awaited