{
    "content": [
        {
            "type": "text",
            "text": "# xfs_info (man)\n\n## NAME\n\nxfsinfo - display XFS filesystem geometry information\n\n## SYNOPSIS\n\nxfsinfo [ -t mtab ] [ mount-point | block-device | file-image ]\nxfsinfo -V\n\n## DESCRIPTION\n\nxfsinfo displays geometry information about an existing XFS filesystem.  The mount-point ar‐\ngument is the pathname of a directory where the filesystem is mounted.  The  block-device  or\nfile-image  contain a raw XFS filesystem.  The existing contents of the filesystem are undis‐\nturbed.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (2 subsections)\n- **EXAMPLES**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "xfs_info",
        "section": "",
        "mode": "man",
        "summary": "xfsinfo - display XFS filesystem geometry information",
        "synopsis": "xfsinfo [ -t mtab ] [ mount-point | block-device | file-image ]\nxfsinfo -V",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-t",
                "long": null,
                "arg": null,
                "description": "/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."
            },
            {
                "flag": "-V",
                "long": null,
                "arg": null,
                "description": ""
            }
        ],
        "examples": [
            "Understanding xfsinfo output.",
            "Suppose one has the following \"xfsinfo /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": [
            {
                "name": "mkfs.xfs",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/mkfs.xfs/8/json"
            },
            {
                "name": "md",
                "section": "4",
                "url": "https://www.chedong.com/phpMan.php/man/md/4/json"
            },
            {
                "name": "lvm",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvm/8/json"
            },
            {
                "name": "mount",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/mount/8/json"
            },
            {
                "name": "xfsinfo",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/xfsinfo/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-t",
                        "lines": 4,
                        "flag": "-t"
                    },
                    {
                        "name": "-V -V",
                        "lines": 1,
                        "flag": "-V"
                    }
                ]
            },
            {
                "name": "EXAMPLES",
                "lines": 21,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "xfsinfo - display XFS filesystem geometry information\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "xfsinfo [ -t mtab ] [ mount-point | block-device | file-image ]\nxfsinfo -V\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "xfsinfo displays geometry information about an existing XFS filesystem.  The mount-point ar‐\ngument is the pathname of a directory where the filesystem is mounted.  The  block-device  or\nfile-image  contain a raw XFS filesystem.  The existing contents of the filesystem are undis‐\nturbed.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-t",
                        "content": "/etc/mtab).   This  is  used  when working with filesystems mounted without writing to\n/etc/mtab file - refer to mount(8) for further details.  This  option  has  no  effect\nwith the block-device or file-image parameters.\n",
                        "flag": "-t"
                    },
                    {
                        "name": "-V -V",
                        "content": "",
                        "flag": "-V"
                    }
                ]
            },
            "EXAMPLES": {
                "content": "Understanding xfsinfo output.\n\nSuppose one has the following \"xfsinfo /dev/sda\" output:\n\nmeta-data=/dev/pmem0             isize=512    agcount=8, agsize=5974144 blks\n=                       sectsz=512   attr=2, projid32bit=1\n=                       crc=1        finobt=1, sparse=1, rmapbt=1\n=                       reflink=1\ndata     =                       bsize=4096   blocks=47793152, imaxpct=25\n=                       sunit=32     swidth=128 blks\nnaming   =version 2              bsize=4096   ascii-ci=0, ftype=1\nlog      =internal log           bsize=4096   blocks=23336, version=2\n=                       sectsz=512   sunit=0 blks, lazy-count=1\nrealtime =none                   extsz=4096   blocks=0, rtextents=0\n\nHere,  the data section of the output indicates \"bsize=4096\", meaning the data block size for\nthis filesystem is 4096 bytes.  This section also shows  \"sunit=32  swidth=128  blks\",  which\nmeans the stripe unit is 32*4096 bytes = 128 kibibytes and the stripe width is 128*4096 bytes\n= 512 kibibytes.  A single stripe of this filesystem therefore consists of four stripe  units\n(128 blocks / 32 blocks per unit).\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "mkfs.xfs(8), md(4), lvm(8), mount(8).\n\n\n\nxfsinfo(8)",
                "subsections": []
            }
        }
    }
}