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)


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.

Free Software

Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.

Free Books

The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.