LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

lvmdump

collects diagnostic information about the LVM2 subsystem for troubleshooting

TLDR

Collect a standard LVM diagnostic dump (tarball)
$ lvmdump
copy
Include advanced data (metadata, locks, daemon info)
$ lvmdump -a -l -m
copy
Write dump files into a directory (not a tarball)
$ lvmdump -d [path/to/directory]
copy
Show help
$ lvmdump -h
copy

SYNOPSIS

lvmdump [options]

DESCRIPTION

lvmdump collects diagnostic information about the LVM2 (Logical Volume Manager) subsystem for troubleshooting purposes. By default, it creates a compressed tar archive in the home directory containing system information, LVM configuration, and status data.The dump includes output from commands like pvs, vgs, lvs, configuration files, dmsetup info, and relevant system information. When used with the -m flag, it also captures the raw metadata from all volume groups.This tool is primarily used when reporting LVM issues to developers or support teams, providing all the context needed to diagnose problems.

PARAMETERS

-a

Include advanced diagnostic information
-l
Include lvmetad cache state (if running)
-m
Include LVM metadata from all volume groups
-d _directory_
Output to a directory instead of a compressed tarball
-h
Display help information

INSTALL

sudo apt install lvm2
copy
sudo dnf install lvm2
copy
sudo pacman -S lvm2
copy
sudo apk add lvm2-extra
copy
sudo zypper install lvm2
copy
nix profile install nixpkgs#lvm2
copy

CAVEATS

The dump may contain sensitive information about storage configuration. Review contents before sharing externally. The -m option creates a larger dump that includes volume group metadata. Requires root privileges.

SEE ALSO

lvm(8), pvs(8), vgs(8), lvs(8), dmsetup(8)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid