# xfs_info(8) - man - phpMan


[xfs_info(8)](https://www.chedong.com/phpMan.php/man/xfsinfo/8/markdown)                            System Manager's Manual                           [xfs_info(8)](https://www.chedong.com/phpMan.php/man/xfsinfo/8/markdown)



## NAME
       xfs_info - display XFS filesystem geometry information

## SYNOPSIS
       **xfs**___**info** [ **-t** _mtab_ ] [ _mount-point_ | _block-device_ | _file-image_ ]
       **xfs**___**info** **-V**

## DESCRIPTION
       **xfs**___**info** displays geometry information about an existing XFS filesystem.  The _mount-point_ ar‐
       gument is the pathname of a directory where the filesystem is mounted.  The  _block-device_  or
       _file-image_  contain a raw XFS filesystem.  The existing contents of the filesystem are undis‐
       turbed.

## OPTIONS
### -t
              _/etc/mtab_).   This  is  used  when working with filesystems mounted without writing to
              _/etc/mtab_ file - refer to [**mount**(8)](https://www.chedong.com/phpMan.php/man/mount/8/markdown) for further details.  This  option  has  no  effect
              with the _block-device_ or _file-image_ parameters.

### -V -V

## EXAMPLES
       Understanding xfs_info output.

       Suppose one has the following "xfs_info /dev/sda" output:

         meta-data=/dev/pmem0             isize=512    agcount=8, agsize=5974144 blks
                  =                       sectsz=512   attr=2, projid32bit=1
                  =                       crc=1        finobt=1, sparse=1, rmapbt=1
                  =                       reflink=1
         data     =                       bsize=4096   blocks=47793152, imaxpct=25
                  =                       sunit=32     swidth=128 blks
         naming   =version 2              bsize=4096   ascii-ci=0, ftype=1
         log      =internal log           bsize=4096   blocks=23336, version=2
                  =                       sectsz=512   sunit=0 blks, lazy-count=1
         realtime =none                   extsz=4096   blocks=0, rtextents=0

       Here,  the data section of the output indicates "bsize=4096", meaning the data block size for
       this filesystem is 4096 bytes.  This section also shows  "sunit=32  swidth=128  blks",  which
       means the stripe unit is 32*4096 bytes = 128 kibibytes and the stripe width is 128*4096 bytes
       = 512 kibibytes.  A single stripe of this filesystem therefore consists of four stripe  units
       (128 blocks / 32 blocks per unit).

## SEE ALSO
       [**mkfs.xfs**(8)](https://www.chedong.com/phpMan.php/man/mkfs.xfs/8/markdown), [**md**(4)](https://www.chedong.com/phpMan.php/man/md/4/markdown), [**lvm**(8)](https://www.chedong.com/phpMan.php/man/lvm/8/markdown), [**mount**(8)](https://www.chedong.com/phpMan.php/man/mount/8/markdown).



                                                                                         [xfs_info(8)](https://www.chedong.com/phpMan.php/man/xfsinfo/8/markdown)
