lvscan(8) [redhat man page]
LVSCAN(8) System Manager's Manual LVSCAN(8) NAME
lvscan - scan (all disks) for logical volumes SYNOPSIS
lvscan [-b|--blockdevice] [-d|--debug] [-D|--disk] [-h|--help] [-v|--verbose] DESCRIPTION
lvscan scans all known volume groups or all supported LVM block devices in the system for defined logical volumes. OPTIONS -b, --blockdevice Adds the device major and minor numbers to the display of each logical volume. -d, --debug Enables additional debugging output (if compiled with DEBUG). -D, --disk Scan for logical volumes on disk(s) instead of getting the information from the kernel. -h, --help Print a usage message on standard output and exit successfully. -v, --verbose Gives verbose runtime information about lvscan's activities. --version Prints version number of tool and exits sucessfully. DIAGNOSTICS
lvscan returns an exit code of 0 for success and > 0 for error: 1 no volume groups found 2 invalid volume group name 3 error getting VGDA from kernel 95 driver/module not in kernel 96 invalid I/O protocol version 97 error locking logical volume manager 98 invalid lvmtab (run vgscan(8)) 99 invalid command line SEE ALSO
lvm(8), lvcreate(8), lvdisplay(8) AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com> Heinz Mauelshagen LVM TOOLS LVSCAN(8)
Check Out this Related Man Page
VGDISPLAY(8) System Manager's Manual VGDISPLAY(8) NAME
vgdisplay - display attributes of volume groups SYNOPSIS
vgdisplay [-A|--activevolumegroups] [-c|--colon] [-d|--debug] [-D|--disk] [-h|--help] [-s|--short] [-v[v]|--verbose [--verbose]] [--ver- sion] [VolumeGroupName...] DESCRIPTION
vgdisplay allows you to see the attributes of VolumeGroupName (or all volume groups if none is given) with it's physical and logical vol- umes and their sizes etc. OPTIONS -A, --activevolumegroups Only select the active volume groups. -c, --colon Generate colon seperated output for easier parsing in scripts or programs. The values are: 1 volume group name 2 volume group access 3 volume group status 4 internal volume group number 5 maximum number of logical volumes 6 current number of logical volumes 7 open count of all logical volumes in this volume group 8 maximum logical volume size 9 maximum number of physical volumes 10 current number of physical volumes 11 actual number of physical volumes 12 size of volume group in kilobytes 13 physical extent size 14 total number of physical extents for this volume group 15 allocated number of physical extents for this volume group 16 free number of physical extents for this volume group 17 uuid of volume group -d, --debug Enables additional debugging output (if compiled with DEBUG). -D, --disk Show attributes from the volume group descriptor area on disk(s). Without this switch they are shown from the kernel. Useful if the volume group isn't activated. -h, --help Print a usage message on standard output and exit successfully. -s, --short Give a short listing showing the existence of volume groups. -v, --verbose Display verbose information containing long listings of physical and logical volumes. If given twice, also display verbose runtime information of vgdisplay's activities. --version Display version and exit successfully. DIAGNOSTICS
vgdisplay returns an exit code of 0 for success and > 0 for error: 1 error reading VGDA 2 volume group doesn't exist 3 not all physical volumes of volume group online 4 volume group not found 5 no volume groups found at all 6 error reading VGDA from lvmtab 95 driver/module not in kernel 96 invalid I/O protocol version 97 error locking logical volume manager 98 invalid lvmtab (run vgscan(8)) 99 invalid command line SEE ALSO
lvm(8), pvcreate(8), vgcreate(8), lvcreate(8) AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com> Heinz Mauelshagen LVM TOOLS VGDISPLAY(8)