xfs_estimate.8   xfs_estimate.8 
xfs_estimate(8) xfs_estimate (8) xfs_estimate(8) xfs_estimate (8)
NAME NAME
xfs_estimate - estimate the space that an XFS filesystem will take xfs_estimate - estimate the space that an XFS filesystem will take
SYNOPSIS SYNOPSIS
xfs_estimate [ -h? ] [ -b blocksize ] [ -i logsize ] xfs_estimate [ -h ] [ -b blocksize ] [ -i logsize ]
[ -e logsize ] [ -v ] directory ... [ -e logsize ] [ -v ] directory ...
xfs_estimate -V
DESCRIPTION DESCRIPTION
For each directory argument, xfs_estimate estimates the space t hat For each directory argument, xfs_estimate estimates the space t hat
directory would take if it were copied to an XFS filesystem. xfs_es ti‐ directory would take if it were copied to an XFS filesystem. xfs_es ti‐
mate does not cross mount points. The following definitions are use d: mate does not cross mount points. The following definitions are use d:
KB = *1024 KB = *1024
MB = *1024*1024 MB = *1024*1024
GB = *1024*1024*1024 GB = *1024*1024*1024
The xfs_estimate options are: The xfs_estimate options are:
skipping to change at line 34 skipping to change at line 35
xfs_estimate -b 64k / xfs_estimate -b 64k /
requests an estimate of the space required by the directory / on requests an estimate of the space required by the directory / on
an XFS filesystem using a blocksize of 64K (65536) bytes. an XFS filesystem using a blocksize of 64K (65536) bytes.
-v Display more information, formatted. -v Display more information, formatted.
-h Display usage message. -h Display usage message.
-? Display usage message.
-i, -e logsize -i, -e logsize
Use logsize instead of the default log size of 1000 blocks. -i Use logsize instead of the default log size of 1000 blocks. -i
refers to an internal log, while -e refers to an external l og. refers to an internal log, while -e refers to an external l og.
The modifiers k or m can be used after the number to indic ate The modifiers k or m can be used after the number to indic ate
multiplication by 1024 or 1048576, respectively. multiplication by 1024 or 1048576, respectively.
For example, For example,
xfs_estimate -i 1m / xfs_estimate -i 1m /
requests an estimate of the space required by the directory / on requests an estimate of the space required by the directory / on
an XFS filesystem using an internal log of 1 megabyte. an XFS filesystem using an internal log of 1 megabyte.
-V Print the version number and exits.
EXAMPLES EXAMPLES
% xfs_estimate -e 10m /var/tmp % xfs_estimate -e 10m /var/tmp
/var/tmp will take about 4.2 megabytes /var/tmp will take about 4.2 megabytes
with the external log using 2560 blocks or about 10.0 megaby tes with the external log using 2560 blocks or about 10.0 megaby tes
% xfs_estimate -v -e 10m /var/tmp % xfs_estimate -v -e 10m /var/tmp
directory bsize blocks megabytes logsize directory bsize blocks megabytes logsize
/var/tmp 4096 792 4.0MB 10485760 /var/tmp 4096 792 4.0MB 10485760
% xfs_estimate -v /var/tmp % xfs_estimate -v /var/tmp
 End of changes. 4 change blocks. 
3 lines changed or deleted 4 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/