{
    "mode": "man",
    "parameter": "LVMDUMP",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/LVMDUMP/8/json",
    "generated": "2026-06-16T10:10:40Z",
    "synopsis": "lvmdump [-a] [-c] [-d directory] [-h] [-l] [-m] [-p] [-s] [-u]",
    "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": []
        }
    },
    "summary": "lvmdump — create lvm2 information dumps for diagnostic purposes",
    "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"
        }
    ]
}