{
    "content": [
        {
            "type": "text",
            "text": "# lvmdump (man)\n\n## NAME\n\nlvmdump — create lvm2 information dumps for diagnostic purposes\n\n## SYNOPSIS\n\nlvmdump [-a] [-c] [-d directory] [-h] [-l] [-m] [-p] [-s] [-u]\n\n## DESCRIPTION\n\nlvmdump is a tool to dump various information concerning LVM2.  By default, it creates a tar‐\nball suitable for submission along with a problem report.\n\n## TLDR\n\n> Collect diagnostic information about LVM2 (Logical Volume Manager).\n\n- Generate a basic dump:\n  `lvmdump`\n- Generate an extended dump with metadata and daemon info:\n  `lvmdump -a -l -m`\n- Dump the information into a directory instead of a tarball:\n  `lvmdump -d {{path/to/directory}}`\n- Display help:\n  `lvmdump -h`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (8 subsections)\n- **ENVIRONMENT VARIABLES**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "lvmdump",
        "section": "",
        "mode": "man",
        "summary": "lvmdump — create lvm2 information dumps for diagnostic purposes",
        "synopsis": "lvmdump [-a] [-c] [-d directory] [-h] [-l] [-m] [-p] [-s] [-u]",
        "tldr_summary": "Collect diagnostic information about LVM2 (Logical Volume Manager).",
        "tldr_examples": [
            {
                "description": "Generate a basic dump",
                "command": "lvmdump"
            },
            {
                "description": "Generate an extended dump with metadata and daemon info",
                "command": "lvmdump -a -l -m"
            },
            {
                "description": "Dump the information into a directory instead of a tarball",
                "command": "lvmdump -d {{path/to/directory}}"
            },
            {
                "description": "Display help",
                "command": "lvmdump -h"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-a",
                "long": null,
                "arg": null,
                "description": "well if -a is used."
            },
            {
                "flag": "-d",
                "long": null,
                "arg": null,
                "description": "Dump into a directory instead of tarball By default, lvmdump will produce a single compressed tarball containing all the information. Using this option, it can be in‐ structed to only produce the raw dump tree, rooted in directory."
            },
            {
                "flag": "-h",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-l",
                "long": null,
                "arg": null,
                "description": "that is currently stored in lvmetad: VG metadata, PV metadata and various mappings in between these metadata for quick access."
            },
            {
                "flag": "-m",
                "long": null,
                "arg": null,
                "description": "from all PVs visible to the system, which can cause the dump to increase in size con‐ siderably. However, the metadata dump may represent a valuable diagnostic resource."
            },
            {
                "flag": "-p",
                "long": null,
                "arg": null,
                "description": "operation currently monitored by the daemon and partial history for all yet uncol‐ lected results of polling operations already finished including reason."
            },
            {
                "flag": "-s",
                "long": null,
                "arg": null,
                "description": "lsblk command and various systemd info and context: overall state of systemd units present in the system, more detailed status of units controlling LVM functionality and the content of systemd journal for current boot."
            },
            {
                "flag": "-u",
                "long": null,
                "arg": null,
                "description": "'udevadm info --version' command), udev rules currently used in the system (content of /lib/udev/rules.d and /etc/udev/rules.d directory), list of files in /lib/udev direc‐ tory and dump of current udev database content (the output of 'udevadm info --ex‐ port-db' command)."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "lvm",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvm/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 19,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-a",
                        "lines": 2,
                        "flag": "-a"
                    },
                    {
                        "name": "-d",
                        "lines": 4,
                        "flag": "-d"
                    },
                    {
                        "name": "-h",
                        "lines": 1,
                        "flag": "-h"
                    },
                    {
                        "name": "-l",
                        "lines": 3,
                        "flag": "-l"
                    },
                    {
                        "name": "-m",
                        "lines": 3,
                        "flag": "-m"
                    },
                    {
                        "name": "-p",
                        "lines": 3,
                        "flag": "-p"
                    },
                    {
                        "name": "-s",
                        "lines": 4,
                        "flag": "-s"
                    },
                    {
                        "name": "-u",
                        "lines": 5,
                        "flag": "-u"
                    }
                ]
            },
            {
                "name": "ENVIRONMENT VARIABLES",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "lvmdump — create lvm2 information dumps for diagnostic purposes\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "lvmdump [-a] [-c] [-d directory] [-h] [-l] [-m] [-p] [-s] [-u]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "lvmdump is a tool to dump various information concerning LVM2.  By default, it creates a tar‐\nball suitable for submission along with a problem report.\n\nThe content of the tarball is as follows:\n- dmsetup info\n- table of currently running processes\n- recent entries from /var/log/messages (containing system messages)\n- complete lvm configuration and cache (content of /etc/lvm)\n- list of device nodes present under /dev\n- list of files present /sys/block\n- list of files present /sys/devices/virtual/block\n- if enabled with -m, metadata dump will be also included\n- if enabled with -a, debug output of vgscan, pvscan and list of all available volume groups,\nphysical volumes and logical volumes will be included\n- if enabled with -l, lvmetad state if running\n- if enabled with -p, lvmpolld state if running\n- if enabled with -s, system info and context\n- if enabled with -u, udev info and context\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-a",
                        "content": "well if -a is used.\n",
                        "flag": "-a"
                    },
                    {
                        "name": "-d",
                        "content": "Dump into a directory instead of tarball By default, lvmdump  will  produce  a  single\ncompressed  tarball  containing  all the information. Using this option, it can be in‐\nstructed to only produce the raw dump tree, rooted in directory.\n",
                        "flag": "-d"
                    },
                    {
                        "name": "-h",
                        "content": "",
                        "flag": "-h"
                    },
                    {
                        "name": "-l",
                        "content": "that  is currently stored in lvmetad: VG metadata, PV metadata and various mappings in\nbetween these metadata for quick access.\n",
                        "flag": "-l"
                    },
                    {
                        "name": "-m",
                        "content": "from  all PVs visible to the system, which can cause the dump to increase in size con‐\nsiderably.  However, the metadata dump may represent a valuable diagnostic resource.\n",
                        "flag": "-m"
                    },
                    {
                        "name": "-p",
                        "content": "operation  currently  monitored  by  the daemon and partial history for all yet uncol‐\nlected results of polling operations already finished including reason.\n",
                        "flag": "-p"
                    },
                    {
                        "name": "-s",
                        "content": "lsblk  command  and  various  systemd info and context: overall state of systemd units\npresent in the system, more detailed status of units controlling LVM functionality and\nthe content of systemd journal for current boot.\n",
                        "flag": "-s"
                    },
                    {
                        "name": "-u",
                        "content": "'udevadm info --version' command), udev rules currently used in the system (content of\n/lib/udev/rules.d  and /etc/udev/rules.d directory), list of files in /lib/udev direc‐\ntory and dump of current udev database content (the  output  of  'udevadm  info  --ex‐\nport-db' command).\n",
                        "flag": "-u"
                    }
                ]
            },
            "ENVIRONMENT VARIABLES": {
                "content": "LVMBINARY\nThe  LVM2  binary to use.  Defaults to \"lvm\".  Sometimes you might need to set this to\n\"/usr/lvm/lvm.static\", for example.\n\nDMSETUPBINARY\nThe dmsetup binary to use.  Defaults to \"dmsetup\".\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "lvm(8)\n\n\n\nRed Hat, Inc.                     LVM TOOLS 2.03.11(2) (2021-01-08)                       LVMDUMP(8)",
                "subsections": []
            }
        }
    }
}