Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

e2freefrag(8) [linux man page]

E2FREEFRAG(8)						      System Manager's Manual						     E2FREEFRAG(8)

NAME
e2freefrag - report free space fragmentation information SYNOPSIS
e2freefrag [ -c chunk_kb ] [ -h ] filesys DESCRIPTION
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 mini- mum/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. OPTIONS
-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. EXAMPLE
# 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 HISTOGRAM OF FREE EXTENT SIZES: 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% AUTHOR
This version of e2freefrag was written by Rupesh Thakare, and modified by Andreas Dilger <adilger@sun.com>, and Kalpak Shah. SEE ALSO
debugfs(8), dumpe2fs(8), e2fsck(8) E2fsprogs version 1.41.14 December 2010 E2FREEFRAG(8)

Check Out this Related Man Page

df_vxfs(1M)															       df_vxfs(1M)

NAME
df_vxfs: df - report number of free disk blocks on a VxFS file system SYNOPSIS
[special|directory]... DESCRIPTION
prints the number of free blocks and free inodes in VxFS file systems or directories based on the counts kept in the super-blocks. VxFS dynamically allocates inodes from a pool of free blocks. The number of free inodes and blocks reported by is an estimate based on the number of free 8K or larger extents and the current ratio of allocated inodes to allocated blocks. (Extents smaller than 8K may not be usable for all types of allocation, so does not count free blocks in extents smaller than 8K.) Allocating additional blocks may therefore decrease the count of free inodes and vice versa. If the operand to is a special device name, the file system can be an unmounted or mounted file system (for example, If you specify a directoryname, displays information for the file system at that mount point. If neither special nor directory is specified, the free space on all of the mounted file systems is printed. Options recognizes the following options: Report only the number of kilobytes free. Report the number of files free. Report only an actual count of the blocks in the free list (free inodes are not reported). When this option is specified, reports on raw devices. Specify the file system type Report the entire statvfs(2) structure. Report the total number of inodes, the number of free inodes, number of used inodes and the percentage of inodes in use. Report the allocation in kilobytes. Report on local file systems only. Report the file system name. If invoked with no other options this option prints a list of mounted file system types. Print the number of free extents of each size. Free extents are always an integral power of two in length, ranging from a minimum of one block to the maximum extent size supported by the file system. Report the total allocated block figures and the number of free blocks. Report the percentage of blocks used, the number of blocks used and the number of blocks free. This option cannot be used with other options. Echo the completed command line, but performs no other action. The command line is generated by incorporating the user-specified options and other information derived from This option allows the user to verify the command line. There are a number of options that specify output formats, some combinations of which are incompatible. If an incompatible combination is specified, one of the options will override the other(s). Operands recognizes the following operands: directory Name of the mount point from which the VxFS file system is accessed. special Device name, which contains a mounted or unmounted VxFS file system. EXAMPLES
Report the number of free disk blocks for all mounted file systems: Report the number of free extents of each size, for all mounted VxFS file systems: Report the number of free files for all mounted VxFS file systems: Report the total allocated block figures and the number of free blocks, for all mounted file systems: Report the total allocated block figures and the number of free blocks, for the file system mounted as FILES
File-system devices. File-system devices. Static information about the file systems. mounted-file-system table. SEE ALSO
du(1), df(1M), fsck_vxfs(1M), statvfs(2), fs_vxfs(4), mnttab(4). STANDARDS CONFORMANCE
: SVID2, XPG2, XPG3 df_vxfs(1M)
Man Page