lvmdump(8)


NAME

   lvmdump --- create lvm2 information dumps for diagnostic purposes

SYNOPSIS

   lvmdump [-a] [-c] [-d directory] [-h] [-l] [-m] [-p] [-s] [-u]

DESCRIPTION

   lvmdump  is  a  tool  to  dump various information concerning LVM2.  By
   default, it creates a tarball suitable  for  submission  along  with  a
   problem report.

   The content of the tarball is as follows:
   - dmsetup info
   - table of currently running processes
   - recent entries from /var/log/messages (containing system messages)
   - complete lvm configuration and cache (content of /etc/lvm)
   - list of device nodes present under /dev
   - list of files present /sys/block
   - list of files present /sys/devices/virtual/block
   - if enabled with -m, metadata dump will be also included
   -  if  enabled  with -a, debug output of vgscan, pvscan and list of all
   available volume groups, physical volumes and logical volumes  will  be
   included
   - if enabled with -c, cluster status info
   - if enabled with -l, lvmetad state if running
   - if enabled with -p, lvmpolld state if running
   - if enabled with -s, system info and context
   - if enabled with -u, udev info and context

OPTIONS

   -a     Advanced collection.  WARNING: if lvm is already hung, then this
          script may hang as well if -a is used.

   -c     If clvmd is running, gather cluster data as well.

   -d directory
          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  instructed  to  only
          produce the raw dump tree, rooted in directory.

   -h     Print help message

   -l     Include  lvmetad(8)  daemon  dump  if  it  is  running. The dump
          contains cached information that is currently stored in lvmetad:
          VG  metadata,  PV metadata and various mappings in between these
          metadata for quick access.

   -m     Gather LVM metadata from the PVs This  option  generates  a  1:1
          dump  of  the  metadata area from all PVs visible to the system,
          which can cause the  dump  to  increase  in  size  considerably.
          However,  the  metadata dump may represent a valuable diagnostic
          resource.

   -p     Include lvmpolld(8) daemon dump  if  it  is  running.  The  dump
          contains  all  in-progress  operation currently monitored by the
          daemon and partial history for all yet  uncollected  results  of
          polling operations already finished including reason.

   -s     Gather system info and context. Currently, this encompasses info
          gathered by calling 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.

   -u     Gather  udev  info  and  context: /etc/udev/udev.conf file, udev
          daemon version (output of  '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 directory and dump of current udev database
          content (the output of 'udevadm info --export-db' command).

ENVIRONMENT VARIABLES

   LVM_BINARY
          The LVM2 binary to use.  Defaults to "lvm".  Sometimes you might
          need to set this to "/sbin/lvm.static", for example.

   DMSETUP_BINARY
          The dmsetup binary to use.  Defaults to "dmsetup".

SEE ALSO

   lvm(8)





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.