xfs estimate command examples

xfs estimate command examples

xfs_estimate – estimate the space that an XFS filesystem will take

% xfs_estimate -e 10m /var/tmp

/var/tmp will take about 4.2 megabytes with the external log using 2560 blocks or about 10.0 megabytes

% xfs_estimate -v -e 10m /var/tmp

directory bsize blocks megabytes logsize

/var/tmp 4096 792 4.0MB 10485760

% xfs_estimate -v /var/tmp

directory bsize blocks megabytes logsize

/var/tmp 4096 3352 14.0MB 10485760

% xfs_estimate /var/tmp

/var/tmp will take about 14.0 megabytes

 

Leave a Reply

Your email address will not be published. Required fields are marked *