lvmdiskscan scans all SCSI, (E)IDE disks, multiple devices and a
bunch of other block devices in the system looking for LVM PVs.
The size reported is the real device size. Define a filter in
lvm.conf(5) to restrict the scan to avoid a CD ROM, for example.
This command is deprecated, use pvs instead.
The command profile to use for command configuration. See
lvm.conf(5) for more information about profiles.
Config settings for the command. These override lvm.conf
settings. The String arg uses the same format as
lvm.conf, or may use section/field syntax. See
lvm.conf(5) for more information about config.
Set debug level. Repeat from 1 to 6 times to increase the
detail of messages sent to the log file and/or syslog (if
If set to no, the command will not attempt to use device-
mapper. For testing and debugging.
Display help text.
Used to pass options for special cases to lvmlockd. See
lvmlockd(8) for more information.
Display long help text.
Only report PVs.
An alias for --commandprofile or --metadataprofile,
depending on the command.
Suppress output and log messages. Overrides --debug and
--verbose. Repeat once to also suppress any prompts with
Run the command in a special read-only mode which will
read on-disk metadata without needing to take any locks.
This can be used to peek inside metadata used by a virtual
machine image while the virtual machine is running. No
attempt will be made to communicate with the device-mapper
kernel driver, so this option is unable to report whether
or not LVs are actually in use.
Run in test mode. Commands will not update metadata. This
is implemented by disabling all metadata writing but
nevertheless returning success to the calling function.
This may lead to unusual error messages in multi-stage
operations if a tool relies on reading back metadata it
believes has changed but hasn't.
Set verbose level. Repeat from 1 to 4 times to increase
the detail of messages sent to stdout and stderr.
Display version information.
Do not prompt for confirmation interactively but always
assume the answer yes. Use with extreme caution. (For
automatic no, see -qq.)
See the option description for information about the
Size is an input number that accepts an optional unit.
Input units are always treated as base two values,
regardless of capitalization, e.g. 'k' and 'K' both refer
to 1024. The default input unit is specified by letter,
followed by |UNIT. UNIT represents other possible input
units: bBsSkKmMgGtTpPeE. b|B is bytes, s|S is sectors of
512 bytes, k|K is KiB, m|M is MiB, g|G is GiB, t|T is TiB,
p|P is PiB, e|E is EiB. (This should not be confused with
the output control --units, where capital letters mean
multiple of 1000.)