{
    "mode": "man",
    "parameter": "BTRFS-MAP-LOGICAL",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/BTRFS-MAP-LOGICAL/8/json",
    "generated": "2026-05-30T08:16:51Z",
    "synopsis": "btrfs-map-logical <options> <device>",
    "sections": {
        "NAME": {
            "content": "btrfs-map-logical - map btrfs logical extent to physical extent\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "btrfs-map-logical <options> <device>\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "btrfs-map-logical can be used to find out what the physical offsets are on the mirrors, the\nresult is dumped to stdout by default.\n\nMainly used for debug purpose.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "-l|--logical <logicalnum>\nLogical extent to map.\n\n-c|--copy <copy>\nCopy of the extent to read(usually 1 or 2).\n\n-o|--output <filename>\nOutput file to hold the extent.\n\n-b|--bytes <bytes>\nNumber of bytes to read.\n",
            "subsections": []
        },
        "EXIT STATUS": {
            "content": "btrfs-map-logical will return 0 if no error happened. If any problems happened, 1 will be\nreturned.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "mkfs.btrfs(8)\n\n\n\nBtrfs v5.16.2                                02/16/2022                         BTRFS-MAP-LOGICAL(8)",
            "subsections": []
        }
    },
    "summary": "btrfs-map-logical - map btrfs logical extent to physical extent",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "mkfs.btrfs",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/mkfs.btrfs/8/json"
        }
    ]
}