Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xfs_estimate(1M) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



xfsestimate(1M)                                              xfsestimate(1M)



NAME
     xfs_estimate - estimate the space that an XFS filesystem will take

SYNOPSIS
     xfsestimate [ -h? ] [ -b blocksize ] [ -i logsize ] [ -e logsize ] [ -v ] directory ...

DESCRIPTION
     For each directory argument, xfs_estimate estimates the space that
     directory would take if it were copied to an XFS filesystem.
     xfs_estimate does not cross mount points.  The following definitions are
     used:
          KB = *1024
          MB = *1024*1024
          GB = *1024*1024*1024

     The xfs_estimate options are:

     -b blocksize
          Use blocksize instead of the default blocksize of 4096 bytes.  The
          modifier k can be used after the number to indicate multiplication
          by 1024.  For example,

               xfsestimate -b 64k /

          requests an estimate of the space required by the directory / on an
          XFS filesystem using a blocksize of 64K (65536) bytes.

     -v   Display more information, formatted.

     -h   Display usage message.

     -?   Display usage message.

     -i, -e logsize
          Use logsize instead of the default log size of 10 MB.  -i refers to
          an internal log, while -e refers to an external log.  The modifiers
          k or m can be used after the number to indicate multiplication by
          1024 or 1048576, respectively.

          For example,

               xfsestimate -i 1m /

          requests an estimate of the space required by the directory / on an
          XFS filesystem using an internal log of 1 megabyte.

     If xfsestimate is run on an XFS filesystem, the estimate is less
     reliable than on an EFS filesystem.







                                                                        Page 1





xfsestimate(1M)                                              xfsestimate(1M)



EXAMPLES
          % xfsestimate -e 10m /var/tmp
          /var/tmp will take about 4.2 megabytes
                  with the external log using 2560 blocks or about 10.0 megabytes

          % xfsestimate -v -e 10m /var/tmp
          directory                     bsize   blocks    megabytes    logsize
          /var/tmp                       4096      792        4.0MB   10485760

          % xfsestimate -v /var/tmp
          directory                     bsize   blocks    megabytes    logsize
          /var/tmp                       4096     3352       14.0MB   10485760

          % xfsestimate /var/tmp
          /var/tmp will take about 14.0 megabytes








































                                                                        Page 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026