from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

210282

userrating:


May 25th. 2007:
Words

486

Views

259220

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

150591

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





xfs_info

Section: Maintenance Commands (8)
Index Return to Main Contents
 

NAME

xfs_info - display XFS filesystem geometry information  

SYNOPSIS

xfs_info [ -t mtab ] [ moun-point | bloc-device | fil-image ]
xfs_info -V  

DESCRIPTION

xfs_info displays geometry information about an existing XFS filesystem. The moun-point argument is the pathname of a directory where the filesystem is mounted. The bloc-device or fil-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 bloc-device or fil-image parameters.
-V
Prints the version number and exits. The moun-point argument is not required with -V.
 

EXAMPLES

Understanding xfs_info output.

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

met-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   asci-ci=0, ftype=1
log      =internal log           bsize=4096   blocks=23336, version=2
         =                       sectsz=512   sunit=0 blks, laz-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), md(4), lvm(8), mount(8).


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 18.0 ms