{
    "content": [
        {
            "type": "text",
            "text": "# xfs_estimate(8) (man)\n\n**Summary:** xfsestimate - estimate the space that an XFS filesystem will take\n\n**Synopsis:** xfsestimate [ -h ] [ -b blocksize ] [ -i logsize ]\n[ -e logsize ] [ -v ] directory ...\nxfsestimate -V\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -b | — | — | Use blocksize instead of the default blocksize of 4096 bytes. The modifier k can be used after the number to indicate mu |\n| -v | — | — |  |\n| -h | — | — |  |\n| -e | — | — | Use logsize instead of the default log size of 1000 blocks. -i refers to an internal log, while -e refers to an external |\n| -V | — | — |  |\n\n## Examples\n\n- `% xxffsseessttiimmaattee --ee 1100mm //vvaarr//ttmmpp`\n- `/var/tmp will take about 4.2 megabytes`\n- `with the external log using 2560 blocks or about 10.0 megabytes`\n- `% xxffsseessttiimmaattee --vv --ee 1100mm //vvaarr//ttmmpp`\n- `directory                     bsize   blocks    megabytes    logsize`\n- `/var/tmp                       4096      792        4.0MB   10485760`\n- `% xxffsseessttiimmaattee --vv //vvaarr//ttmmpp`\n- `directory                     bsize   blocks    megabytes    logsize`\n- `/var/tmp                       4096     3352       14.0MB   10485760`\n- `% xxffsseessttiimmaattee //vvaarr//ttmmpp`\n- `/var/tmp will take about 14.0 megabytes`\n- `xfsestimate(8)`\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (4 lines)\n- **DESCRIPTION** (9 lines) — 5 subsections\n  - -b (8 lines)\n  - -v (1 lines)\n  - -h (1 lines)\n  - -i, -e (11 lines)\n  - -V (1 lines)\n- **EXAMPLES** (18 lines)\n\n## Full Content\n\n### NAME\n\nxfsestimate - estimate the space that an XFS filesystem will take\n\n### SYNOPSIS\n\nxfsestimate [ -h ] [ -b blocksize ] [ -i logsize ]\n[ -e logsize ] [ -v ] directory ...\nxfsestimate -V\n\n### DESCRIPTION\n\nFor each directory argument, xfsestimate estimates the space that directory would take if it\nwere copied to an XFS filesystem.  xfsestimate does not cross mount points.   The  following\ndefinitions are used:\nKB = *1024\nMB = *1024*1024\nGB = *1024*1024*1024\n\nThe xfsestimate options are:\n\n#### -b\n\nUse  blocksize  instead of the default blocksize of 4096 bytes.  The modifier k can be\nused after the number to indicate multiplication by 1024.  For example,\n\nxxffsseessttiimmaattee --bb 6644kk //\n\nrequests an estimate of the space required by the directory / on an XFS filesystem us‐\ning a blocksize of 64K (65536) bytes.\n\n#### -v\n\n#### -h\n\n#### -i, -e\n\nUse  logsize instead of the default log size of 1000 blocks.  -i refers to an internal\nlog, while -e refers to an external log.  The modifiers k or m can be used  after  the\nnumber to indicate multiplication by 1024 or 1048576, respectively.\n\nFor example,\n\nxxffsseessttiimmaattee --ii 11mm //\n\nrequests an estimate of the space required by the directory / on an XFS filesystem us‐\ning an internal log of 1 megabyte.\n\n#### -V\n\n### EXAMPLES\n\n% xxffsseessttiimmaattee --ee 1100mm //vvaarr//ttmmpp\n/var/tmp will take about 4.2 megabytes\nwith the external log using 2560 blocks or about 10.0 megabytes\n\n% xxffsseessttiimmaattee --vv --ee 1100mm //vvaarr//ttmmpp\ndirectory                     bsize   blocks    megabytes    logsize\n/var/tmp                       4096      792        4.0MB   10485760\n\n% xxffsseessttiimmaattee --vv //vvaarr//ttmmpp\ndirectory                     bsize   blocks    megabytes    logsize\n/var/tmp                       4096     3352       14.0MB   10485760\n\n% xxffsseessttiimmaattee //vvaarr//ttmmpp\n/var/tmp will take about 14.0 megabytes\n\n\n\nxfsestimate(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "xfs_estimate",
        "section": "8",
        "mode": "man",
        "summary": "xfsestimate - estimate the space that an XFS filesystem will take",
        "synopsis": "xfsestimate [ -h ] [ -b blocksize ] [ -i logsize ]\n[ -e logsize ] [ -v ] directory ...\nxfsestimate -V",
        "flags": [
            {
                "flag": "-b",
                "long": null,
                "arg": null,
                "description": "Use blocksize instead of the default blocksize of 4096 bytes. The modifier k can be used after the number to indicate multiplication by 1024. For example, xxffsseessttiimmaattee --bb 6644kk // requests an estimate of the space required by the directory / on an XFS filesystem us‐ ing a blocksize of 64K (65536) bytes."
            },
            {
                "flag": "-v",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-h",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-e",
                "long": null,
                "arg": null,
                "description": "Use logsize instead of the default log size of 1000 blocks. -i refers to an internal log, while -e refers to an external log. The modifiers k or m can be used after the number to indicate multiplication by 1024 or 1048576, respectively. For example, xxffsseessttiimmaattee --ii 11mm // requests an estimate of the space required by the directory / on an XFS filesystem us‐ ing an internal log of 1 megabyte."
            },
            {
                "flag": "-V",
                "long": null,
                "arg": null,
                "description": ""
            }
        ],
        "examples": [
            "% xxffsseessttiimmaattee --ee 1100mm //vvaarr//ttmmpp",
            "/var/tmp will take about 4.2 megabytes",
            "with the external log using 2560 blocks or about 10.0 megabytes",
            "% xxffsseessttiimmaattee --vv --ee 1100mm //vvaarr//ttmmpp",
            "directory                     bsize   blocks    megabytes    logsize",
            "/var/tmp                       4096      792        4.0MB   10485760",
            "% xxffsseessttiimmaattee --vv //vvaarr//ttmmpp",
            "directory                     bsize   blocks    megabytes    logsize",
            "/var/tmp                       4096     3352       14.0MB   10485760",
            "% xxffsseessttiimmaattee //vvaarr//ttmmpp",
            "/var/tmp will take about 14.0 megabytes",
            "xfsestimate(8)"
        ],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 9,
                "subsections": [
                    {
                        "name": "-b",
                        "lines": 8,
                        "flag": "-b"
                    },
                    {
                        "name": "-v",
                        "lines": 1,
                        "flag": "-v"
                    },
                    {
                        "name": "-h",
                        "lines": 1,
                        "flag": "-h"
                    },
                    {
                        "name": "-i, -e",
                        "lines": 11,
                        "flag": "-e"
                    },
                    {
                        "name": "-V",
                        "lines": 1,
                        "flag": "-V"
                    }
                ]
            },
            {
                "name": "EXAMPLES",
                "lines": 18,
                "subsections": []
            }
        ]
    }
}