xfs_info - Online Linux Manual PageSection : 8

NAMExfs_info − display XFS filesystem geometry information

SYNOPSISxfs_info [ −t mtab ] [ mount-point | block-device | file-image ]
xfs_info −V

DESCRIPTIONxfs_info displays geometry information about an existing XFS filesystem. The mount-point argument 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 undisturbed.

OPTIONS−t  Specifies an alternate mount table file (default is /proc/mounts if it exists, else /etc/mtab). This is used when working with filesystems mounted without writing to /etc/mtab file - refer to mount(8) for further details. This option has no effect with the block-device or file-image parameters. −V  Prints the version number and exits. The mount-point argument is not required with −V.

EXAMPLESUnderstanding 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 ALSOmkfs.xfs(8), md(4), lvm(8), mount(8).
0
Johanes Gumabo
Data Size   :   6,288 byte
man-xfs_info.8Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 180,594
Visitor ID   :     :  
Visitor IP   :   13.59.83.202   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.