e2freefrag - report free space fragmentation information


   e2freefrag [ -c chunk_kb ] [ -h ] filesys


   e2freefrag  is used to report free space fragmentation on ext2/3/4 file
   systems.  filesys is  the  filesystem  device  name  (e.g.   /dev/hdc1,
   /dev/md0).    The   e2freefrag  program  will  scan  the  block  bitmap
   information to check how many free blocks are present as contiguous and
   aligned  free  space.  The percentage of contiguous free blocks of size
   and  of  alignment  chunk_kb  is  reported.   It  also   displays   the
   minimum/maximum/average free chunk size in the filesystem, along with a
   histogram of all free chunks.  This information can be  used  to  gauge
   the level of free space fragmentation in the filesystem.


   -c chunk_kb
          If  a  chunk  size  is specified, then e2freefrag will print how
          many free chunks of size chunk_kb  are  available  in  units  of
          kilobytes  (Kb).   The  chunk size must be a power of two and be
          larger than filesystem block size.

   -h     Print the usage of the program.


   # e2freefrag /dev/vgroot/lvhome
   Device: /dev/vgroot/lvhome
   Blocksize: 4096 bytes
   Total blocks: 1504085
   Free blocks: 292995 (19.5%)

   Min. free extent: 4 KB
   Max. free extent: 24008 KB
   Avg. free extent: 252 KB

   Extent Size Range :   Free extents   Free Blocks  Percent
       4K...    8K- :           704           704     0.2%
       8K...   16K- :           810          1979     0.7%
      16K...   32K- :           843          4467     1.5%
      32K...   64K- :           579          6263     2.1%
      64K...  128K- :           493         11067     3.8%
     128K...  256K- :           394         18097     6.2%
     256K...  512K- :           281         25477     8.7%
     512K... 1024K- :           253         44914    15.3%
       1M...    2M- :           143         51897    17.7%
       2M...    4M- :            73         50683    17.3%
       4M...    8M- :            37         52417    17.9%
       8M...   16M- :             7         19028     6.5%
      16M...   32M- :             1          6002     2.0%


   This version of e2freefrag was written by Rupesh Thakare, and  modified
   by Andreas Dilger <adilger@sun.com>, and Kalpak Shah.


   debugfs(8), dumpe2fs(8), e2fsck(8)

More Linux Commands

Tcl_MutexFinalize(3) - Tcl thread support - Linux man page
Tcl provides Tcl_CreateThread for creating threads. The caller can determine the size of the stack given to the new thread and modify the behaviour through the

mq_notify(2) - register for notification when a message is a
mq_notify() allows the calling process to register or unregister for delivery of an asynchronous notification when a new message arrives on the empty message qu

mbsinit(3) - test for initial shift state - Linux man page
Character conversion between the multibyte representation and the wide character representation uses conversion state, of type mbstate_t. Conversion of a string

strdupa(3) - duplicate a string (Library - Linux man page)
The strdup() function returns a pointer to a new string which is a duplicate of the string s. Memory for the new string is obtained with malloc(3), and can be f

btrfs-convert(8) convert from ext2 3 4 filesystem to btrfs o
btrfs-convert is used to convert existed ext2/3/4 to btrfs filesystem, and the original filesystem image is accessible as from separate subvolume named ext2_sav

XGrabDeviceKey(3) - grab/ungrab extension input device Keys
The XGrabDeviceKey request establishes a passive grab. In the future, the device is actively grabbed (as for XGrabDevice, the last-device-grab time is set to th

Tcl_UnsetVar2(3) - manipulate Tcl variables - Linux man page
These procedures are used to create, modify, read, and delete Tcl variables from C code. Tcl_SetVar2Ex, Tcl_SetVar, Tcl_SetVar2, and Tcl_ObjSetVar2 will create

Unicode::Collate::CJK::Korean(3pm) - weighting CJK Unified I
Unicode::Collate::CJK::Korean provides weightKorean(), that is adequate for overrideCJK of Unicode::Collate and makes tailoring of CJK Unified Ideographs in the

Module::Build::Platform::aix(3pm) - Builder class for AIX pl
This module provides some routines very specific to the AIX platform. Please see the Module::Build for the general docs. AUTHOR Ken Williams &lt;kwilliams@cpan.org

free_form(3form) - create and destroy forms - Linux man page
The function new_form creates a new form connected to a specified field pointer array (which must be NULL-terminated). The function free_form disconnects form f

IO::File(3pm) - supply object methods for filehandles.......
IO::File inherits from IO::Handle and IO::Seekable. It extends these classes with methods that are specific to file handles. CONSTRUCTOR new ( FILENAME [,MODE [

snmpinform(1) - sends an SNMP notification to a manager.....
snmptrap is an SNMP application that uses the SNMP TRAP operation to send information to a network manager. One or more object identifiers (OIDs) can be given a

We can't live, work or learn in freedom unless the software we use is free.