1LVMDUMP(8) System Manager's Manual LVMDUMP(8)
2
3
4
6 lvmdump - create lvm2 information dumps for diagnostic purposes
7
9 lvmdump [options] [-d directory]
10
12 lvmdump is a tool to dump various information concerning LVM2. By
13 default, it creates a tarball suitable for submission along with a
14 problem report.
15
16 The content of the tarball is as follows:
17 - dmsetup info
18 - table of currently running processes
19 - recent entries from /var/log/messages (containing system messages)
20 - complete lvm configuration and cache (content of /etc/lvm)
21 - list of device nodes present under /dev
22 - list of files present /sys/block
23 - list of files present /sys/devices/virtual/block
24 - if enabled with -m, metadata dump will be also included
25 - if enabled with -a, debug output of vgscan, pvscan and list of all
26 available volume groups, physical volumes and logical volumes will be
27 included
28 - if enabled with -c, cluster status info
29
31 -h — print help message
32
33 -a — advanced collection
34 WARNING: if lvm is already hung, then this script may hang as
35 well if -a is used
36
37 -m — gather LVM metadata from the PVs
38 This option generates a 1:1 dump of the metadata area from all
39 PVs visible to the system, which can cause the dump to increase
40 in size considerably. However, the metadata dump may represent a
41 valuable diagnostic resource.
42
43 -d directory — dump into a directory instead of tarball
44 By default, lvmdump will produce a single compressed tarball
45 containing all the information. Using this option, it can be
46 instructed to only produce the raw dump tree, rooted in direc‐
47 tory.
48
49 -c — if clvmd is running, gather cluster data as well
50
52 LVM_BINARY
53 The LVM2 binary to use. Defaults to "lvm". Sometimes you might
54 need to set this to "/sbin/lvm.static", for example.
55
56 DMSETUP_BINARY
57 The dmsetup binary to use. Defaults to "dmsetup".
58
59Red Hat, Inc. LVM TOOLS 2.02.84(2) (2011-02-09) LVMDUMP(8)