{
    "content": [
        {
            "type": "text",
            "text": "# xfs_info(8) (man)\n\n**Summary:** xfsinfo - display XFS filesystem geometry information\n\n**Synopsis:** xfsinfo [ -t mtab ] [ mount-point | block-device | file-image ]\nxfsinfo -V\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -t | — | — | /etc/mtab). This is used when working with filesystems mounted without writing to /etc/mtab file - refer to mount(8) for |\n| -V | — | — |  |\n\n## Examples\n\n- `Understanding xfsinfo output.`\n- `Suppose one has the following \"xfsinfo /dev/sda\" output:`\n- `meta-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`\n- `data     =                       bsize=4096   blocks=47793152, imaxpct=25`\n- `=                       sunit=32     swidth=128 blks`\n- `naming   =version 2              bsize=4096   ascii-ci=0, ftype=1`\n- `log      =internal log           bsize=4096   blocks=23336, version=2`\n- `=                       sectsz=512   sunit=0 blks, lazy-count=1`\n- `realtime =none                   extsz=4096   blocks=0, rtextents=0`\n- `Here,  the data section of the output indicates \"bsize=4096\", meaning the data block size for`\n- `this filesystem is 4096 bytes.  This section also shows  \"sunit=32  swidth=128  blks\",  which`\n- `means 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\n## See Also\n\n- mkfs.xfs(8)\n- md(4)\n- lvm(8)\n- mount(8)\n- xfsinfo(8)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (3 lines)\n- **DESCRIPTION** (5 lines)\n- **OPTIONS** (1 lines) — 2 subsections\n  - -t (4 lines)\n  - -V -V (1 lines)\n- **EXAMPLES** (21 lines)\n- **SEE ALSO** (5 lines)\n\n## Full Content\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### OPTIONS\n\n#### -t\n\n/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\n#### -V -V\n\n### EXAMPLES\n\nUnderstanding 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\n### SEE ALSO\n\nmkfs.xfs(8), md(4), lvm(8), mount(8).\n\n\n\nxfsinfo(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "xfs_info",
        "section": "8",
        "mode": "man",
        "summary": "xfsinfo - display XFS filesystem geometry information",
        "synopsis": "xfsinfo [ -t mtab ] [ mount-point | block-device | file-image ]\nxfsinfo -V",
        "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": []
            }
        ]
    }
}