mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-04 09:18:36 +03:00
make: generate
Oops, previous generate was not correct.
This commit is contained in:
parent
396d93937d
commit
9eca131256
@ -594,7 +594,7 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--activate\fP \fBy\fP|\fBn\fP|\fBay\fP
|
\fB-a\fP|\fB--activate\fP \fBy\fP|\fBn\fP|\fBay\fP
|
||||||
.br
|
.br
|
||||||
@ -623,7 +623,7 @@ If auto_activation_volume_list is defined and empty, no LVs are autoactivated.
|
|||||||
Items included by auto_activation_volume_list will not be autoactivated if
|
Items included by auto_activation_volume_list will not be autoactivated if
|
||||||
the autoactivation property has been disabled.
|
the autoactivation property has been disabled.
|
||||||
See \fBlvmlockd\fP(8) for more information about activation options \fBey\fP and \fBsy\fP for shared VGs.
|
See \fBlvmlockd\fP(8) for more information about activation options \fBey\fP and \fBsy\fP for shared VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--activationmode\fP \fBpartial\fP|\fBdegraded\fP|\fBcomplete\fP
|
\fB--activationmode\fP \fBpartial\fP|\fBdegraded\fP|\fBcomplete\fP
|
||||||
.br
|
.br
|
||||||
@ -638,14 +638,14 @@ and is the most restrictive mode.
|
|||||||
should only be used for recovery or repair.
|
should only be used for recovery or repair.
|
||||||
For default, see lvm.conf/activation_mode.
|
For default, see lvm.conf/activation_mode.
|
||||||
See \fBlvmraid\fP(7) for more information.
|
See \fBlvmraid\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--addtag\fP \fITag\fP
|
\fB--addtag\fP \fITag\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Adds a tag to a PV, VG or LV. This option can be repeated to add
|
Adds a tag to a PV, VG or LV. This option can be repeated to add
|
||||||
multiple tags at once. See \fBlvm\fP(8) for information about tags.
|
multiple tags at once. See \fBlvm\fP(8) for information about tags.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--alloc\fP
|
\fB--alloc\fP
|
||||||
.nh
|
.nh
|
||||||
@ -669,14 +669,14 @@ e.g. by placing two stripes on the same PV.
|
|||||||
Optional positional PV args on the command line can also be used to limit
|
Optional positional PV args on the command line can also be used to limit
|
||||||
which PVs the command will use for allocation.
|
which PVs the command will use for allocation.
|
||||||
See \fBlvm\fP(8) for more information about allocation.
|
See \fBlvm\fP(8) for more information about allocation.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies if metadata should be backed up automatically after a change.
|
Specifies if metadata should be backed up automatically after a change.
|
||||||
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cachemode\fP \fBwritethrough\fP|\fBwriteback\fP|\fBpassthrough\fP
|
\fB--cachemode\fP \fBwritethrough\fP|\fBwriteback\fP|\fBpassthrough\fP
|
||||||
.br
|
.br
|
||||||
@ -692,14 +692,14 @@ cache pool LV. With \fBpassthrough\fP, all reads are served
|
|||||||
from the origin LV (all reads miss the cache) and all writes are
|
from the origin LV (all reads miss the cache) and all writes are
|
||||||
forwarded to the origin LV; additionally, write hits cause cache
|
forwarded to the origin LV; additionally, write hits cause cache
|
||||||
block invalidates. See \fBlvmcache\fP(7) for more information.
|
block invalidates. See \fBlvmcache\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cachepolicy\fP \fIString\fP
|
\fB--cachepolicy\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies the cache policy for a cache LV.
|
Specifies the cache policy for a cache LV.
|
||||||
See \fBlvmcache\fP(7) for more information.
|
See \fBlvmcache\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cachesettings\fP \fIString\fP
|
\fB--cachesettings\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -711,21 +711,21 @@ The special string value \fBdefault\fP switches
|
|||||||
settings back to their default kernel values and removes
|
settings back to their default kernel values and removes
|
||||||
them from the list of settings stored in LVM metadata.
|
them from the list of settings stored in LVM metadata.
|
||||||
See \fBlvmcache\fP(7) for more information.
|
See \fBlvmcache\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--compression\fP \fBy\fP|\fBn\fP
|
\fB--compression\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Controls whether compression is enabled or disable for VDO volume.
|
Controls whether compression is enabled or disable for VDO volume.
|
||||||
See \fBlvmvdo\fP(7) for more information about VDO usage.
|
See \fBlvmvdo\fP(7) for more information about VDO usage.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -734,7 +734,7 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-C\fP|\fB--contiguous\fP \fBy\fP|\fBn\fP
|
\fB-C\fP|\fB--contiguous\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -744,35 +744,35 @@ Default is no contiguous allocation based on a next free principle.
|
|||||||
It is only possible to change a non-contiguous allocation policy
|
It is only possible to change a non-contiguous allocation policy
|
||||||
to contiguous if all of the allocated physical extents in the LV
|
to contiguous if all of the allocated physical extents in the LV
|
||||||
are already contiguous.
|
are already contiguous.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--deduplication\fP \fBy\fP|\fBn\fP
|
\fB--deduplication\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Controls whether deduplication is enabled or disable for VDO volume.
|
Controls whether deduplication is enabled or disable for VDO volume.
|
||||||
See \fBlvmvdo\fP(7) for more information about VDO usage.
|
See \fBlvmvdo\fP(7) for more information about VDO usage.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--deltag\fP \fITag\fP
|
\fB--deltag\fP \fITag\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Deletes a tag from a PV, VG or LV. This option can be repeated to delete
|
Deletes a tag from a PV, VG or LV. This option can be repeated to delete
|
||||||
multiple tags at once. See \fBlvm\fP(8) for information about tags.
|
multiple tags at once. See \fBlvm\fP(8) for information about tags.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--detachprofile\fP
|
\fB--detachprofile\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Detaches a metadata profile from a VG or LV.
|
Detaches a metadata profile from a VG or LV.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -780,7 +780,7 @@ See \fBlvm.conf\fP(5) for more information about profiles.
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -790,7 +790,7 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--discards\fP \fBpassdown\fP|\fBnopassdown\fP|\fBignore\fP
|
\fB--discards\fP \fBpassdown\fP|\fBnopassdown\fP|\fBignore\fP
|
||||||
.br
|
.br
|
||||||
@ -803,14 +803,14 @@ allow reuse of unneeded extents in the thin pool.
|
|||||||
\fBpassdown\fP causes the thin pool to process discards itself
|
\fBpassdown\fP causes the thin pool to process discards itself
|
||||||
(like nopassdown) and pass the discards to the underlying device.
|
(like nopassdown) and pass the discards to the underlying device.
|
||||||
See \fBlvmthin\fP(7) for more information.
|
See \fBlvmthin\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--errorwhenfull\fP \fBy\fP|\fBn\fP
|
\fB--errorwhenfull\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -823,60 +823,60 @@ period of time to allow the thin pool to be extended.
|
|||||||
Errors are returned if no space is available after the timeout.
|
Errors are returned if no space is available after the timeout.
|
||||||
(Also see dm-thin-pool kernel module option no_space_timeout.)
|
(Also see dm-thin-pool kernel module option no_space_timeout.)
|
||||||
See \fBlvmthin\fP(7) for more information.
|
See \fBlvmthin\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB--force\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-K\fP|\fB--ignoreactivationskip\fP
|
\fB-K\fP|\fB--ignoreactivationskip\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Ignore the "activation skip" LV flag during activation
|
Ignore the "activation skip" LV flag during activation
|
||||||
to allow LVs with the flag set to be activated.
|
to allow LVs with the flag set to be activated.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB--ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Allows a command to continue with read-only metadata
|
Allows a command to continue with read-only metadata
|
||||||
operations after locking failures.
|
operations after locking failures.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoremonitoring\fP
|
\fB--ignoremonitoring\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Do not interact with dmeventd unless --monitor is specified.
|
Do not interact with dmeventd unless --monitor is specified.
|
||||||
Do not use this if dmeventd is already monitoring a device.
|
Do not use this if dmeventd is already monitoring a device.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-j\fP|\fB--major\fP \fINumber\fP
|
\fB-j\fP|\fB--major\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Sets the major number of an LV block device.
|
Sets the major number of an LV block device.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--[raid]maxrecoveryrate\fP \fISize\fP[k|UNIT]
|
\fB--[raid]maxrecoveryrate\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -885,20 +885,20 @@ Sets the maximum recovery rate for a RAID LV. The rate value
|
|||||||
is an amount of data per second for each device in the array.
|
is an amount of data per second for each device in the array.
|
||||||
Setting the rate to 0 means it will be unbounded.
|
Setting the rate to 0 means it will be unbounded.
|
||||||
See \fBlvmraid\fP(7) for more information.
|
See \fBlvmraid\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataprofile\fP \fIString\fP
|
\fB--metadataprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The metadata profile to use for command configuration.
|
The metadata profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--minor\fP \fINumber\fP
|
\fB--minor\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Sets the minor number of an LV block device.
|
Sets the minor number of an LV block device.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--[raid]minrecoveryrate\fP \fISize\fP[k|UNIT]
|
\fB--[raid]minrecoveryrate\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -907,7 +907,7 @@ Sets the minimum recovery rate for a RAID LV. The rate value
|
|||||||
is an amount of data per second for each device in the array.
|
is an amount of data per second for each device in the array.
|
||||||
Setting the rate to 0 means it will be unbounded.
|
Setting the rate to 0 means it will be unbounded.
|
||||||
See \fBlvmraid\fP(7) for more information.
|
See \fBlvmraid\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--monitor\fP \fBy\fP|\fBn\fP
|
\fB--monitor\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -916,13 +916,13 @@ Start (yes) or stop (no) monitoring an LV with dmeventd.
|
|||||||
dmeventd monitors kernel events for an LV, and performs
|
dmeventd monitors kernel events for an LV, and performs
|
||||||
automated maintenance for the LV in reponse to specific events.
|
automated maintenance for the LV in reponse to specific events.
|
||||||
See \fBdmeventd\fP(8) for more information.
|
See \fBdmeventd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
@ -931,7 +931,7 @@ Disables udev synchronisation. The process will not wait for notification
|
|||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-P\fP|\fB--partial\fP
|
\fB-P\fP|\fB--partial\fP
|
||||||
.br
|
.br
|
||||||
@ -940,19 +940,19 @@ Commands will do their best to activate LVs with missing PV extents.
|
|||||||
Missing extents may be replaced with error or zero segments
|
Missing extents may be replaced with error or zero segments
|
||||||
according to the lvm.conf missing_stripe_filler setting.
|
according to the lvm.conf missing_stripe_filler setting.
|
||||||
Metadata may not be changed with this option.
|
Metadata may not be changed with this option.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-p\fP|\fB--permission\fP \fBrw\fP|\fBr\fP
|
\fB-p\fP|\fB--permission\fP \fBrw\fP|\fBr\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set access permission to read only \fBr\fP or read and write \fBrw\fP.
|
Set access permission to read only \fBr\fP or read and write \fBrw\fP.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-M\fP|\fB--persistent\fP \fBy\fP|\fBn\fP
|
\fB-M\fP|\fB--persistent\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
When yes, makes the specified minor number persistent.
|
When yes, makes the specified minor number persistent.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--poll\fP \fBy\fP|\fBn\fP
|
\fB--poll\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -964,21 +964,21 @@ When no, background transformation of an LV will not occur, and the
|
|||||||
transformation will not complete. It may not be appropriate to immediately
|
transformation will not complete. It may not be appropriate to immediately
|
||||||
poll an LV after activation, in which case --poll n can be used to defer
|
poll an LV after activation, in which case --poll n can be used to defer
|
||||||
polling until a later --poll y command.
|
polling until a later --poll y command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-r\fP|\fB--readahead\fP \fBauto\fP|\fBnone\fP|\fINumber\fP
|
\fB-r\fP|\fB--readahead\fP \fBauto\fP|\fBnone\fP|\fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -987,7 +987,7 @@ Sets read ahead sector count of an LV.
|
|||||||
\fBauto\fP is the default which allows the kernel to choose
|
\fBauto\fP is the default which allows the kernel to choose
|
||||||
a suitable value automatically.
|
a suitable value automatically.
|
||||||
\fBnone\fP is equivalent to zero.
|
\fBnone\fP is equivalent to zero.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB--readonly\fP
|
||||||
.br
|
.br
|
||||||
@ -998,7 +998,7 @@ inside metadata used by a virtual machine image while the virtual
|
|||||||
machine is running. No attempt will be made to communicate with the
|
machine is running. No attempt will be made to communicate with the
|
||||||
device-mapper kernel driver, so this option is unable to report whether
|
device-mapper kernel driver, so this option is unable to report whether
|
||||||
or not LVs are actually in use.
|
or not LVs are actually in use.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--rebuild\fP \fIPV\fP
|
\fB--rebuild\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -1009,7 +1009,7 @@ Use this option in place of --resync or --syncaction repair when the
|
|||||||
PVs with corrupted data are known, and their data should be reconstructed
|
PVs with corrupted data are known, and their data should be reconstructed
|
||||||
rather than reconstructing default (rotating) data.
|
rather than reconstructing default (rotating) data.
|
||||||
See \fBlvmraid\fP(7) for more information.
|
See \fBlvmraid\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--refresh\fP
|
\fB--refresh\fP
|
||||||
.br
|
.br
|
||||||
@ -1018,7 +1018,7 @@ If the LV is active, reload its metadata.
|
|||||||
This is not necessary in normal operation, but may be useful
|
This is not necessary in normal operation, but may be useful
|
||||||
if something has gone wrong, or if some form of manual LV
|
if something has gone wrong, or if some form of manual LV
|
||||||
sharing is being used.
|
sharing is being used.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -1029,7 +1029,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--resync\fP
|
\fB--resync\fP
|
||||||
.br
|
.br
|
||||||
@ -1041,7 +1041,7 @@ During synchronization, data is read from the primary mirror device
|
|||||||
and copied to the others. This can take considerable time, during
|
and copied to the others. This can take considerable time, during
|
||||||
which the LV is without a complete redundant copy of the data.
|
which the LV is without a complete redundant copy of the data.
|
||||||
See \fBlvmraid\fP(7) for more information.
|
See \fBlvmraid\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB--select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -1054,7 +1054,7 @@ Rows can be displayed with an additional "selected" field (-o selected)
|
|||||||
showing 1 if the row matches the selection and 0 otherwise.
|
showing 1 if the row matches the selection and 0 otherwise.
|
||||||
For non-reporting commands which process LVM entities, the selection is
|
For non-reporting commands which process LVM entities, the selection is
|
||||||
used to choose items to process.
|
used to choose items to process.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-k\fP|\fB--setactivationskip\fP \fBy\fP|\fBn\fP
|
\fB-k\fP|\fB--setactivationskip\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -1065,7 +1065,7 @@ An LV with this flag set is not activated unless the
|
|||||||
This flag is set by default on new thin snapshot LVs.
|
This flag is set by default on new thin snapshot LVs.
|
||||||
The flag is not applied to deactivation.
|
The flag is not applied to deactivation.
|
||||||
The current value of the flag is indicated in the lvs lv_attr bits.
|
The current value of the flag is indicated in the lvs lv_attr bits.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--setautoactivation\fP \fBy\fP|\fBn\fP
|
\fB--setautoactivation\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -1079,7 +1079,7 @@ If autoactivation is disabled on a VG, no LVs will be autoactivated
|
|||||||
in that VG, and the LV autoactivation property has no effect.
|
in that VG, and the LV autoactivation property has no effect.
|
||||||
If autoactivation is enabled on a VG, autoactivation can be disabled
|
If autoactivation is enabled on a VG, autoactivation can be disabled
|
||||||
for individual LVs.
|
for individual LVs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--[raid]syncaction\fP \fBcheck\fP|\fBrepair\fP
|
\fB--[raid]syncaction\fP \fBcheck\fP|\fBrepair\fP
|
||||||
.br
|
.br
|
||||||
@ -1091,7 +1091,7 @@ blocks in the array and check for discrepancies
|
|||||||
\fBcheck\fP will count but not correct discrepancies.
|
\fBcheck\fP will count but not correct discrepancies.
|
||||||
\fBrepair\fP will correct discrepancies.
|
\fBrepair\fP will correct discrepancies.
|
||||||
See lvs for reporting discrepancies found or repaired.
|
See lvs for reporting discrepancies found or repaired.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--sysinit\fP
|
\fB--sysinit\fP
|
||||||
.br
|
.br
|
||||||
@ -1103,7 +1103,7 @@ acts as a shortcut which selects an appropriate set of options. Currently,
|
|||||||
this is equivalent to using --ignorelockingfailure, --ignoremonitoring,
|
this is equivalent to using --ignorelockingfailure, --ignoremonitoring,
|
||||||
--poll n, and setting env var LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES.
|
--poll n, and setting env var LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES.
|
||||||
vgchange/lvchange skip autoactivation, and defer to pvscan autoactivation.
|
vgchange/lvchange skip autoactivation, and defer to pvscan autoactivation.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -1113,20 +1113,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--[raid]writebehind\fP \fINumber\fP
|
\fB--[raid]writebehind\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -1137,7 +1137,7 @@ Once this value is exceeded, writes become synchronous (i.e. all writes
|
|||||||
to the constituent devices must complete before the array signals the
|
to the constituent devices must complete before the array signals the
|
||||||
write has completed). Setting the value to zero clears the preference
|
write has completed). Setting the value to zero clears the preference
|
||||||
and allows the system to choose the value arbitrarily.
|
and allows the system to choose the value arbitrarily.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--[raid]writemostly\fP \fIPV\fP[\fB:t\fP|\fBn\fP|\fBy\fP]
|
\fB--[raid]writemostly\fP \fIPV\fP[\fB:t\fP|\fBn\fP|\fBy\fP]
|
||||||
.br
|
.br
|
||||||
@ -1150,7 +1150,7 @@ It is also possible to remove the write-mostly flag by adding the
|
|||||||
suffix \fB:n\fP at the end of the PV name, or to toggle the value with
|
suffix \fB:n\fP at the end of the PV name, or to toggle the value with
|
||||||
the suffix \fB:t\fP. Repeat this option to change the attribute on
|
the suffix \fB:t\fP. Repeat this option to change the attribute on
|
||||||
multiple PVs.
|
multiple PVs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -1158,7 +1158,7 @@ multiple PVs.
|
|||||||
Do not prompt for confirmation interactively but always assume the
|
Do not prompt for confirmation interactively but always assume the
|
||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-Z\fP|\fB--zero\fP \fBy\fP|\fBn\fP
|
\fB-Z\fP|\fB--zero\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -1166,33 +1166,33 @@ answer yes. Use with extreme caution.
|
|||||||
Set zeroing mode for thin pool. Note: already provisioned blocks from pool
|
Set zeroing mode for thin pool. Note: already provisioned blocks from pool
|
||||||
in non-zero mode are not cleared in unwritten parts when setting --zero y.
|
in non-zero mode are not cleared in unwritten parts when setting --zero y.
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fILV\fP
|
\fILV\fP
|
||||||
.br
|
.br
|
||||||
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
||||||
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
||||||
LV followed by _<type> indicates that an LV of the
|
LV followed by _<type> indicates that an LV of the
|
||||||
given type is required. (raid represents raid<N> type)
|
given type is required. (raid represents raid<N> type)
|
||||||
.TP
|
.HP
|
||||||
\fITag\fP
|
\fITag\fP
|
||||||
.br
|
.br
|
||||||
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
||||||
in place of a VG, LV or PV.
|
in place of a VG, LV or PV.
|
||||||
.TP
|
.HP
|
||||||
\fISelect\fP
|
\fISelect\fP
|
||||||
.br
|
.br
|
||||||
Select indicates that a required positional parameter can
|
Select indicates that a required positional parameter can
|
||||||
be omitted if the \fB--select\fP option is used.
|
be omitted if the \fB--select\fP option is used.
|
||||||
No arg appears in this position.
|
No arg appears in this position.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -1196,7 +1196,7 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--alloc\fP
|
\fB--alloc\fP
|
||||||
.nh
|
.nh
|
||||||
@ -1220,7 +1220,7 @@ e.g. by placing two stripes on the same PV.
|
|||||||
Optional positional PV args on the command line can also be used to limit
|
Optional positional PV args on the command line can also be used to limit
|
||||||
which PVs the command will use for allocation.
|
which PVs the command will use for allocation.
|
||||||
See \fBlvm\fP(8) for more information about allocation.
|
See \fBlvm\fP(8) for more information about allocation.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-b\fP|\fB--background\fP
|
\fB-b\fP|\fB--background\fP
|
||||||
.br
|
.br
|
||||||
@ -1228,7 +1228,7 @@ See \fBlvm\fP(8) for more information about allocation.
|
|||||||
If the operation requires polling, this option causes the command to
|
If the operation requires polling, this option causes the command to
|
||||||
return before the operation is complete, and polling is done in the
|
return before the operation is complete, and polling is done in the
|
||||||
background.
|
background.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-H\fP|\fB--cache\fP
|
\fB-H\fP|\fB--cache\fP
|
||||||
.br
|
.br
|
||||||
@ -1236,19 +1236,19 @@ background.
|
|||||||
Specifies the command is handling a cache LV or cache pool.
|
Specifies the command is handling a cache LV or cache pool.
|
||||||
See --type cache and --type cache-pool.
|
See --type cache and --type cache-pool.
|
||||||
See \fBlvmcache\fP(7) for more information about LVM caching.
|
See \fBlvmcache\fP(7) for more information about LVM caching.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cachedevice\fP \fIPV\fP
|
\fB--cachedevice\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The name of a device to use for a cache.
|
The name of a device to use for a cache.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cachemetadataformat\fP \fBauto\fP|\fB1\fP|\fB2\fP
|
\fB--cachemetadataformat\fP \fBauto\fP|\fB1\fP|\fB2\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies the cache metadata format used by cache target.
|
Specifies the cache metadata format used by cache target.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cachemode\fP \fBwritethrough\fP|\fBwriteback\fP|\fBpassthrough\fP
|
\fB--cachemode\fP \fBwritethrough\fP|\fBwriteback\fP|\fBpassthrough\fP
|
||||||
.br
|
.br
|
||||||
@ -1264,20 +1264,20 @@ cache pool LV. With \fBpassthrough\fP, all reads are served
|
|||||||
from the origin LV (all reads miss the cache) and all writes are
|
from the origin LV (all reads miss the cache) and all writes are
|
||||||
forwarded to the origin LV; additionally, write hits cause cache
|
forwarded to the origin LV; additionally, write hits cause cache
|
||||||
block invalidates. See \fBlvmcache\fP(7) for more information.
|
block invalidates. See \fBlvmcache\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cachepolicy\fP \fIString\fP
|
\fB--cachepolicy\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies the cache policy for a cache LV.
|
Specifies the cache policy for a cache LV.
|
||||||
See \fBlvmcache\fP(7) for more information.
|
See \fBlvmcache\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cachepool\fP \fILV\fP
|
\fB--cachepool\fP \fILV\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The name of a cache pool.
|
The name of a cache pool.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cachesettings\fP \fIString\fP
|
\fB--cachesettings\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -1289,19 +1289,19 @@ The special string value \fBdefault\fP switches
|
|||||||
settings back to their default kernel values and removes
|
settings back to their default kernel values and removes
|
||||||
them from the list of settings stored in LVM metadata.
|
them from the list of settings stored in LVM metadata.
|
||||||
See \fBlvmcache\fP(7) for more information.
|
See \fBlvmcache\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cachesize\fP \fISize\fP[m|UNIT]
|
\fB--cachesize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The size of cache to use.
|
The size of cache to use.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cachevol\fP \fILV\fP
|
\fB--cachevol\fP \fILV\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The name of a cache volume.
|
The name of a cache volume.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-c\fP|\fB--chunksize\fP \fISize\fP[k|UNIT]
|
\fB-c\fP|\fB--chunksize\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -1316,21 +1316,21 @@ and the default value starts with 64 and scales up to fit the
|
|||||||
pool metadata size within 128MiB, if the pool metadata size is not specified.
|
pool metadata size within 128MiB, if the pool metadata size is not specified.
|
||||||
The value must be a multiple of 64KiB.
|
The value must be a multiple of 64KiB.
|
||||||
See \fBlvmthin\fP(7) and \fBlvmcache\fP(7) for more information.
|
See \fBlvmthin\fP(7) and \fBlvmcache\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--compression\fP \fBy\fP|\fBn\fP
|
\fB--compression\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Controls whether compression is enabled or disable for VDO volume.
|
Controls whether compression is enabled or disable for VDO volume.
|
||||||
See \fBlvmvdo\fP(7) for more information about VDO usage.
|
See \fBlvmvdo\fP(7) for more information about VDO usage.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -1339,21 +1339,21 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--deduplication\fP \fBy\fP|\fBn\fP
|
\fB--deduplication\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Controls whether deduplication is enabled or disable for VDO volume.
|
Controls whether deduplication is enabled or disable for VDO volume.
|
||||||
See \fBlvmvdo\fP(7) for more information about VDO usage.
|
See \fBlvmvdo\fP(7) for more information about VDO usage.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -1361,7 +1361,7 @@ See \fBlvmvdo\fP(7) for more information about VDO usage.
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -1371,7 +1371,7 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--discards\fP \fBpassdown\fP|\fBnopassdown\fP|\fBignore\fP
|
\fB--discards\fP \fBpassdown\fP|\fBnopassdown\fP|\fBignore\fP
|
||||||
.br
|
.br
|
||||||
@ -1384,14 +1384,14 @@ allow reuse of unneeded extents in the thin pool.
|
|||||||
\fBpassdown\fP causes the thin pool to process discards itself
|
\fBpassdown\fP causes the thin pool to process discards itself
|
||||||
(like nopassdown) and pass the discards to the underlying device.
|
(like nopassdown) and pass the discards to the underlying device.
|
||||||
See \fBlvmthin\fP(7) for more information.
|
See \fBlvmthin\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--errorwhenfull\fP \fBy\fP|\fBn\fP
|
\fB--errorwhenfull\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -1404,53 +1404,53 @@ period of time to allow the thin pool to be extended.
|
|||||||
Errors are returned if no space is available after the timeout.
|
Errors are returned if no space is available after the timeout.
|
||||||
(Also see dm-thin-pool kernel module option no_space_timeout.)
|
(Also see dm-thin-pool kernel module option no_space_timeout.)
|
||||||
See \fBlvmthin\fP(7) for more information.
|
See \fBlvmthin\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB--force\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-i\fP|\fB--interval\fP \fINumber\fP
|
\fB-i\fP|\fB--interval\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Report progress at regular intervals.
|
Report progress at regular intervals.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--merge\fP
|
\fB--merge\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --mergethin, --mergemirrors, or --mergesnapshot,
|
An alias for --mergethin, --mergemirrors, or --mergesnapshot,
|
||||||
depending on the type of LV.
|
depending on the type of LV.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--mergemirrors\fP
|
\fB--mergemirrors\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Merge LV images that were split from a raid1 LV.
|
Merge LV images that were split from a raid1 LV.
|
||||||
See --splitmirrors with --trackchanges.
|
See --splitmirrors with --trackchanges.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--mergesnapshot\fP
|
\fB--mergesnapshot\fP
|
||||||
.br
|
.br
|
||||||
@ -1467,7 +1467,7 @@ reads or writes to the origin appear as being directed to the snapshot
|
|||||||
being merged. When the merge finishes, the merged snapshot is removed.
|
being merged. When the merge finishes, the merged snapshot is removed.
|
||||||
Multiple snapshots may be specified on the command line or a @tag may be
|
Multiple snapshots may be specified on the command line or a @tag may be
|
||||||
used to specify multiple snapshots be merged to their respective origin.
|
used to specify multiple snapshots be merged to their respective origin.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--mergethin\fP
|
\fB--mergethin\fP
|
||||||
.br
|
.br
|
||||||
@ -1476,14 +1476,14 @@ Merge thin LV into its origin LV.
|
|||||||
The origin thin LV takes the content of the thin snapshot,
|
The origin thin LV takes the content of the thin snapshot,
|
||||||
and the thin snapshot LV is removed.
|
and the thin snapshot LV is removed.
|
||||||
See \fBlvmthin\fP(7) for more information.
|
See \fBlvmthin\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataprofile\fP \fIString\fP
|
\fB--metadataprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The metadata profile to use for command configuration.
|
The metadata profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--mirrorlog\fP \fBcore\fP|\fBdisk\fP
|
\fB--mirrorlog\fP \fBcore\fP|\fBdisk\fP
|
||||||
.br
|
.br
|
||||||
@ -1497,7 +1497,7 @@ In this case, the mirror must be synchronized (by copying LV data from
|
|||||||
the first device to others) each time the LV is activated, e.g. after reboot.
|
the first device to others) each time the LV is activated, e.g. after reboot.
|
||||||
\fBmirrored\fP is a persistent log that is itself mirrored, but
|
\fBmirrored\fP is a persistent log that is itself mirrored, but
|
||||||
should be avoided. Instead, use the raid1 type for log redundancy.
|
should be avoided. Instead, use the raid1 type for log redundancy.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-m\fP|\fB--mirrors\fP [\fB+\fP|\fB-\fP]\fINumber\fP
|
\fB-m\fP|\fB--mirrors\fP [\fB+\fP|\fB-\fP]\fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -1518,7 +1518,7 @@ the number is added to the current number of images,
|
|||||||
or the minus prefix \fB-\fP can be used, in which case
|
or the minus prefix \fB-\fP can be used, in which case
|
||||||
the number is subtracted from the current number of images.
|
the number is subtracted from the current number of images.
|
||||||
See \fBlvmraid\fP(7) for more information.
|
See \fBlvmraid\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-n\fP|\fB--name\fP \fIString\fP
|
\fB-n\fP|\fB--name\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -1526,13 +1526,13 @@ See \fBlvmraid\fP(7) for more information.
|
|||||||
Specifies the name of a new LV.
|
Specifies the name of a new LV.
|
||||||
When unspecified, a default name of "lvol#" is
|
When unspecified, a default name of "lvol#" is
|
||||||
generated, where # is a number generated by LVM.
|
generated, where # is a number generated by LVM.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
@ -1541,7 +1541,7 @@ Disables udev synchronisation. The process will not wait for notification
|
|||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--originname\fP \fILV\fP
|
\fB--originname\fP \fILV\fP
|
||||||
.br
|
.br
|
||||||
@ -1549,19 +1549,19 @@ ignore the devices LVM creates.
|
|||||||
Specifies the name to use for the external origin LV when converting an LV
|
Specifies the name to use for the external origin LV when converting an LV
|
||||||
to a thin LV. The LV being converted becomes a read-only external origin
|
to a thin LV. The LV being converted becomes a read-only external origin
|
||||||
with this name.
|
with this name.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--poolmetadata\fP \fILV\fP
|
\fB--poolmetadata\fP \fILV\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The name of a an LV to use for storing pool metadata.
|
The name of a an LV to use for storing pool metadata.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--poolmetadatasize\fP \fISize\fP[m|UNIT]
|
\fB--poolmetadatasize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies the size of the new pool metadata LV.
|
Specifies the size of the new pool metadata LV.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--poolmetadataspare\fP \fBy\fP|\fBn\fP
|
\fB--poolmetadataspare\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -1569,27 +1569,27 @@ Specifies the size of the new pool metadata LV.
|
|||||||
Enable or disable the automatic creation and management of a
|
Enable or disable the automatic creation and management of a
|
||||||
spare pool metadata LV in the VG. A spare metadata LV is reserved
|
spare pool metadata LV in the VG. A spare metadata LV is reserved
|
||||||
space that can be used when repairing a pool.
|
space that can be used when repairing a pool.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--raidintegrity\fP \fBy\fP|\fBn\fP
|
\fB--raidintegrity\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Enable or disable data integrity checksums for raid images.
|
Enable or disable data integrity checksums for raid images.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--raidintegrityblocksize\fP \fINumber\fP
|
\fB--raidintegrityblocksize\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -1600,7 +1600,7 @@ logical block size, or the file system block size.
|
|||||||
It may be less than the file system block size, but not
|
It may be less than the file system block size, but not
|
||||||
less than the device logical block size.
|
less than the device logical block size.
|
||||||
Possible values: 512, 1024, 2048, 4096.
|
Possible values: 512, 1024, 2048, 4096.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--raidintegritymode\fP \fIString\fP
|
\fB--raidintegritymode\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -1612,7 +1612,7 @@ The journal mode doubles writes to storage, but can improve performance for
|
|||||||
scattered writes packed into a single journal write.
|
scattered writes packed into a single journal write.
|
||||||
bitmap mode can in theory achieve full write throughput of the device,
|
bitmap mode can in theory achieve full write throughput of the device,
|
||||||
but would not benefit from the potential scattered write optimization.
|
but would not benefit from the potential scattered write optimization.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-r\fP|\fB--readahead\fP \fBauto\fP|\fBnone\fP|\fINumber\fP
|
\fB-r\fP|\fB--readahead\fP \fBauto\fP|\fBnone\fP|\fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -1621,7 +1621,7 @@ Sets read ahead sector count of an LV.
|
|||||||
\fBauto\fP is the default which allows the kernel to choose
|
\fBauto\fP is the default which allows the kernel to choose
|
||||||
a suitable value automatically.
|
a suitable value automatically.
|
||||||
\fBnone\fP is equivalent to zero.
|
\fBnone\fP is equivalent to zero.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-R\fP|\fB--regionsize\fP \fISize\fP[m|UNIT]
|
\fB-R\fP|\fB--regionsize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -1629,7 +1629,7 @@ a suitable value automatically.
|
|||||||
Size of each raid or mirror synchronization region.
|
Size of each raid or mirror synchronization region.
|
||||||
lvm.conf activation/raid_region_size can be used to
|
lvm.conf activation/raid_region_size can be used to
|
||||||
configure a default.
|
configure a default.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--repair\fP
|
\fB--repair\fP
|
||||||
.br
|
.br
|
||||||
@ -1637,7 +1637,7 @@ configure a default.
|
|||||||
Replace failed PVs in a raid or mirror LV, or run a repair
|
Replace failed PVs in a raid or mirror LV, or run a repair
|
||||||
utility on a thin pool. See \fBlvmraid\fP(7) and \fBlvmthin\fP(7)
|
utility on a thin pool. See \fBlvmraid\fP(7) and \fBlvmthin\fP(7)
|
||||||
for more information.
|
for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--replace\fP \fIPV\fP
|
\fB--replace\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -1646,21 +1646,21 @@ Replace a specific PV in a raid LV with another PV.
|
|||||||
The new PV to use can be optionally specified after the LV.
|
The new PV to use can be optionally specified after the LV.
|
||||||
Multiple PVs can be replaced by repeating this option.
|
Multiple PVs can be replaced by repeating this option.
|
||||||
See \fBlvmraid\fP(7) for more information.
|
See \fBlvmraid\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-s\fP|\fB--snapshot\fP
|
\fB-s\fP|\fB--snapshot\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Combine a former COW snapshot LV with a former origin LV to reverse
|
Combine a former COW snapshot LV with a former origin LV to reverse
|
||||||
a previous --splitsnapshot command.
|
a previous --splitsnapshot command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--splitcache\fP
|
\fB--splitcache\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Separates a cache pool from a cache LV, and keeps the unused cache pool LV.
|
Separates a cache pool from a cache LV, and keeps the unused cache pool LV.
|
||||||
Before the separation, the cache is flushed. Also see --uncache.
|
Before the separation, the cache is flushed. Also see --uncache.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--splitmirrors\fP \fINumber\fP
|
\fB--splitmirrors\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -1670,7 +1670,7 @@ and uses them to create a new LV. If --trackchanges is also specified,
|
|||||||
changes to the raid1 LV are tracked while the split LV remains detached.
|
changes to the raid1 LV are tracked while the split LV remains detached.
|
||||||
If --name is specified, then the images are permanently split from the
|
If --name is specified, then the images are permanently split from the
|
||||||
original LV and changes are not tracked.
|
original LV and changes are not tracked.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--splitsnapshot\fP
|
\fB--splitsnapshot\fP
|
||||||
.br
|
.br
|
||||||
@ -1678,13 +1678,13 @@ original LV and changes are not tracked.
|
|||||||
Separates a COW snapshot from its origin LV. The LV that is split off
|
Separates a COW snapshot from its origin LV. The LV that is split off
|
||||||
contains the chunks that differ from the origin LV along with metadata
|
contains the chunks that differ from the origin LV along with metadata
|
||||||
describing them. This LV can be wiped and then destroyed with lvremove.
|
describing them. This LV can be wiped and then destroyed with lvremove.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--startpoll\fP
|
\fB--startpoll\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Start polling an LV to continue processing a conversion.
|
Start polling an LV to continue processing a conversion.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--stripes\fP \fINumber\fP
|
\fB--stripes\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -1694,14 +1694,14 @@ PVs (devices) that a striped LV is spread across. Data that
|
|||||||
appears sequential in the LV is spread across multiple devices in units of
|
appears sequential in the LV is spread across multiple devices in units of
|
||||||
the stripe size (see --stripesize). This does not apply to
|
the stripe size (see --stripesize). This does not apply to
|
||||||
existing allocated space, only newly allocated space can be striped.
|
existing allocated space, only newly allocated space can be striped.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-I\fP|\fB--stripesize\fP \fISize\fP[k|UNIT]
|
\fB-I\fP|\fB--stripesize\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The amount of data that is written to one device before
|
The amount of data that is written to one device before
|
||||||
moving to the next in a striped LV.
|
moving to the next in a striped LV.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--swapmetadata\fP
|
\fB--swapmetadata\fP
|
||||||
.br
|
.br
|
||||||
@ -1712,7 +1712,7 @@ Use for repair only. When the metadata LV is swapped out of the pool, it can
|
|||||||
be activated directly and used with thin provisioning tools:
|
be activated directly and used with thin provisioning tools:
|
||||||
\fBcache_dump\fP(8), \fBcache_repair\fP(8), \fBcache_restore\fP(8),
|
\fBcache_dump\fP(8), \fBcache_repair\fP(8), \fBcache_restore\fP(8),
|
||||||
\fBthin_dump\fP(8), \fBthin_repair\fP(8), \fBthin_restore\fP(8).
|
\fBthin_dump\fP(8), \fBthin_repair\fP(8), \fBthin_restore\fP(8).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -1722,7 +1722,7 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-T\fP|\fB--thin\fP
|
\fB-T\fP|\fB--thin\fP
|
||||||
.br
|
.br
|
||||||
@ -1730,13 +1730,13 @@ back metadata it believes has changed but hasn't.
|
|||||||
Specifies the command is handling a thin LV or thin pool.
|
Specifies the command is handling a thin LV or thin pool.
|
||||||
See --type thin, --type thin-pool, and --virtualsize.
|
See --type thin, --type thin-pool, and --virtualsize.
|
||||||
See \fBlvmthin\fP(7) for more information about LVM thin provisioning.
|
See \fBlvmthin\fP(7) for more information about LVM thin provisioning.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--thinpool\fP \fILV\fP
|
\fB--thinpool\fP \fILV\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The name of a thin pool LV.
|
The name of a thin pool LV.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--trackchanges\fP
|
\fB--trackchanges\fP
|
||||||
.br
|
.br
|
||||||
@ -1749,7 +1749,7 @@ Only the regions with changed data are resynchronized during merge.
|
|||||||
While a raid1 LV is tracking changes, operations on it are limited to
|
While a raid1 LV is tracking changes, operations on it are limited to
|
||||||
merging the split image (see --mergemirrors) or permanently splitting
|
merging the split image (see --mergemirrors) or permanently splitting
|
||||||
the image (see --splitmirrors with --name.
|
the image (see --splitmirrors with --name.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--type\fP
|
\fB--type\fP
|
||||||
.nh
|
.nh
|
||||||
@ -1768,41 +1768,41 @@ Several commands omit an explicit type option because the type
|
|||||||
is inferred from other options or shortcuts
|
is inferred from other options or shortcuts
|
||||||
(e.g. --stripes, --mirrors, --snapshot, --virtualsize, --thin, --cache, --vdo).
|
(e.g. --stripes, --mirrors, --snapshot, --virtualsize, --thin, --cache, --vdo).
|
||||||
Use inferred types with care because it can lead to unexpected results.
|
Use inferred types with care because it can lead to unexpected results.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--uncache\fP
|
\fB--uncache\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Separates a cache pool from a cache LV, and deletes the unused cache pool LV.
|
Separates a cache pool from a cache LV, and deletes the unused cache pool LV.
|
||||||
Before the separation, the cache is flushed. Also see --splitcache.
|
Before the separation, the cache is flushed. Also see --splitcache.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--usepolicies\fP
|
\fB--usepolicies\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Perform an operation according to the policy configured in lvm.conf
|
Perform an operation according to the policy configured in lvm.conf
|
||||||
or a profile.
|
or a profile.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--vdopool\fP \fILV\fP
|
\fB--vdopool\fP \fILV\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The name of a VDO pool LV.
|
The name of a VDO pool LV.
|
||||||
See \fBlvmvdo\fP(7) for more information about VDO usage.
|
See \fBlvmvdo\fP(7) for more information about VDO usage.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-V\fP|\fB--virtualsize\fP \fISize\fP[m|UNIT]
|
\fB-V\fP|\fB--virtualsize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -1819,7 +1819,7 @@ When using a snapshot to create a sparse LV, a hidden virtual device
|
|||||||
is created using the zero target, and the LV has the suffix _vorigin.
|
is created using the zero target, and the LV has the suffix _vorigin.
|
||||||
Snapshots are less efficient than thin provisioning when creating
|
Snapshots are less efficient than thin provisioning when creating
|
||||||
large sparse LVs (GiB).
|
large sparse LVs (GiB).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -1827,7 +1827,7 @@ large sparse LVs (GiB).
|
|||||||
Do not prompt for confirmation interactively but always assume the
|
Do not prompt for confirmation interactively but always assume the
|
||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-Z\fP|\fB--zero\fP \fBy\fP|\fBn\fP
|
\fB-Z\fP|\fB--zero\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -1837,18 +1837,18 @@ snapshot. If the LV is read-only, the snapshot will not be zeroed.
|
|||||||
For thin pools, this controls zeroing of provisioned blocks.
|
For thin pools, this controls zeroing of provisioned blocks.
|
||||||
Provisioning of large zeroed chunks negatively impacts performance.
|
Provisioning of large zeroed chunks negatively impacts performance.
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fILV\fP
|
\fILV\fP
|
||||||
.br
|
.br
|
||||||
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
||||||
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
||||||
LV followed by _<type> indicates that an LV of the
|
LV followed by _<type> indicates that an LV of the
|
||||||
given type is required. (raid represents raid<N> type)
|
given type is required. (raid represents raid<N> type)
|
||||||
.TP
|
.HP
|
||||||
\fIPV\fP
|
\fIPV\fP
|
||||||
.br
|
.br
|
||||||
Physical Volume name, a device path under /dev.
|
Physical Volume name, a device path under /dev.
|
||||||
@ -1858,16 +1858,16 @@ of physical extents (PEs). When the first PE is omitted, it defaults
|
|||||||
to the start of the device, and when the last PE is omitted it defaults to end.
|
to the start of the device, and when the last PE is omitted it defaults to end.
|
||||||
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
||||||
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
||||||
.TP
|
.HP
|
||||||
\fITag\fP
|
\fITag\fP
|
||||||
.br
|
.br
|
||||||
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
||||||
in place of a VG, LV or PV.
|
in place of a VG, LV or PV.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -1257,7 +1257,7 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--activate\fP \fBy\fP|\fBn\fP|\fBay\fP
|
\fB-a\fP|\fB--activate\fP \fBy\fP|\fBn\fP|\fBay\fP
|
||||||
.br
|
.br
|
||||||
@ -1274,14 +1274,14 @@ If autoactivation \fBay\fP is used, the LV is only activated
|
|||||||
if it matches an item in lvm.conf activation/auto_activation_volume_list.
|
if it matches an item in lvm.conf activation/auto_activation_volume_list.
|
||||||
\fBay\fP implies --zero n and --wipesignatures n.
|
\fBay\fP implies --zero n and --wipesignatures n.
|
||||||
See \fBlvmlockd\fP(8) for more information about activation options for shared VGs.
|
See \fBlvmlockd\fP(8) for more information about activation options for shared VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--addtag\fP \fITag\fP
|
\fB--addtag\fP \fITag\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Adds a tag to a PV, VG or LV. This option can be repeated to add
|
Adds a tag to a PV, VG or LV. This option can be repeated to add
|
||||||
multiple tags at once. See \fBlvm\fP(8) for information about tags.
|
multiple tags at once. See \fBlvm\fP(8) for information about tags.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--alloc\fP
|
\fB--alloc\fP
|
||||||
.nh
|
.nh
|
||||||
@ -1305,14 +1305,14 @@ e.g. by placing two stripes on the same PV.
|
|||||||
Optional positional PV args on the command line can also be used to limit
|
Optional positional PV args on the command line can also be used to limit
|
||||||
which PVs the command will use for allocation.
|
which PVs the command will use for allocation.
|
||||||
See \fBlvm\fP(8) for more information about allocation.
|
See \fBlvm\fP(8) for more information about allocation.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies if metadata should be backed up automatically after a change.
|
Specifies if metadata should be backed up automatically after a change.
|
||||||
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-H\fP|\fB--cache\fP
|
\fB-H\fP|\fB--cache\fP
|
||||||
.br
|
.br
|
||||||
@ -1320,19 +1320,19 @@ Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information
|
|||||||
Specifies the command is handling a cache LV or cache pool.
|
Specifies the command is handling a cache LV or cache pool.
|
||||||
See --type cache and --type cache-pool.
|
See --type cache and --type cache-pool.
|
||||||
See \fBlvmcache\fP(7) for more information about LVM caching.
|
See \fBlvmcache\fP(7) for more information about LVM caching.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cachedevice\fP \fIPV\fP
|
\fB--cachedevice\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The name of a device to use for a cache.
|
The name of a device to use for a cache.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cachemetadataformat\fP \fBauto\fP|\fB1\fP|\fB2\fP
|
\fB--cachemetadataformat\fP \fBauto\fP|\fB1\fP|\fB2\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies the cache metadata format used by cache target.
|
Specifies the cache metadata format used by cache target.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cachemode\fP \fBwritethrough\fP|\fBwriteback\fP|\fBpassthrough\fP
|
\fB--cachemode\fP \fBwritethrough\fP|\fBwriteback\fP|\fBpassthrough\fP
|
||||||
.br
|
.br
|
||||||
@ -1348,20 +1348,20 @@ cache pool LV. With \fBpassthrough\fP, all reads are served
|
|||||||
from the origin LV (all reads miss the cache) and all writes are
|
from the origin LV (all reads miss the cache) and all writes are
|
||||||
forwarded to the origin LV; additionally, write hits cause cache
|
forwarded to the origin LV; additionally, write hits cause cache
|
||||||
block invalidates. See \fBlvmcache\fP(7) for more information.
|
block invalidates. See \fBlvmcache\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cachepolicy\fP \fIString\fP
|
\fB--cachepolicy\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies the cache policy for a cache LV.
|
Specifies the cache policy for a cache LV.
|
||||||
See \fBlvmcache\fP(7) for more information.
|
See \fBlvmcache\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cachepool\fP \fILV\fP
|
\fB--cachepool\fP \fILV\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The name of a cache pool.
|
The name of a cache pool.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cachesettings\fP \fIString\fP
|
\fB--cachesettings\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -1373,19 +1373,19 @@ The special string value \fBdefault\fP switches
|
|||||||
settings back to their default kernel values and removes
|
settings back to their default kernel values and removes
|
||||||
them from the list of settings stored in LVM metadata.
|
them from the list of settings stored in LVM metadata.
|
||||||
See \fBlvmcache\fP(7) for more information.
|
See \fBlvmcache\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cachesize\fP \fISize\fP[m|UNIT]
|
\fB--cachesize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The size of cache to use.
|
The size of cache to use.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cachevol\fP \fILV\fP
|
\fB--cachevol\fP \fILV\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The name of a cache volume.
|
The name of a cache volume.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-c\fP|\fB--chunksize\fP \fISize\fP[k|UNIT]
|
\fB-c\fP|\fB--chunksize\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -1400,21 +1400,21 @@ and the default value starts with 64 and scales up to fit the
|
|||||||
pool metadata size within 128MiB, if the pool metadata size is not specified.
|
pool metadata size within 128MiB, if the pool metadata size is not specified.
|
||||||
The value must be a multiple of 64KiB.
|
The value must be a multiple of 64KiB.
|
||||||
See \fBlvmthin\fP(7) and \fBlvmcache\fP(7) for more information.
|
See \fBlvmthin\fP(7) and \fBlvmcache\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--compression\fP \fBy\fP|\fBn\fP
|
\fB--compression\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Controls whether compression is enabled or disable for VDO volume.
|
Controls whether compression is enabled or disable for VDO volume.
|
||||||
See \fBlvmvdo\fP(7) for more information about VDO usage.
|
See \fBlvmvdo\fP(7) for more information about VDO usage.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -1423,7 +1423,7 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-C\fP|\fB--contiguous\fP \fBy\fP|\fBn\fP
|
\fB-C\fP|\fB--contiguous\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -1433,21 +1433,21 @@ Default is no contiguous allocation based on a next free principle.
|
|||||||
It is only possible to change a non-contiguous allocation policy
|
It is only possible to change a non-contiguous allocation policy
|
||||||
to contiguous if all of the allocated physical extents in the LV
|
to contiguous if all of the allocated physical extents in the LV
|
||||||
are already contiguous.
|
are already contiguous.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--deduplication\fP \fBy\fP|\fBn\fP
|
\fB--deduplication\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Controls whether deduplication is enabled or disable for VDO volume.
|
Controls whether deduplication is enabled or disable for VDO volume.
|
||||||
See \fBlvmvdo\fP(7) for more information about VDO usage.
|
See \fBlvmvdo\fP(7) for more information about VDO usage.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -1455,7 +1455,7 @@ See \fBlvmvdo\fP(7) for more information about VDO usage.
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -1465,7 +1465,7 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--discards\fP \fBpassdown\fP|\fBnopassdown\fP|\fBignore\fP
|
\fB--discards\fP \fBpassdown\fP|\fBnopassdown\fP|\fBignore\fP
|
||||||
.br
|
.br
|
||||||
@ -1478,14 +1478,14 @@ allow reuse of unneeded extents in the thin pool.
|
|||||||
\fBpassdown\fP causes the thin pool to process discards itself
|
\fBpassdown\fP causes the thin pool to process discards itself
|
||||||
(like nopassdown) and pass the discards to the underlying device.
|
(like nopassdown) and pass the discards to the underlying device.
|
||||||
See \fBlvmthin\fP(7) for more information.
|
See \fBlvmthin\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--errorwhenfull\fP \fBy\fP|\fBn\fP
|
\fB--errorwhenfull\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -1498,7 +1498,7 @@ period of time to allow the thin pool to be extended.
|
|||||||
Errors are returned if no space is available after the timeout.
|
Errors are returned if no space is available after the timeout.
|
||||||
(Also see dm-thin-pool kernel module option no_space_timeout.)
|
(Also see dm-thin-pool kernel module option no_space_timeout.)
|
||||||
See \fBlvmthin\fP(7) for more information.
|
See \fBlvmthin\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--extents\fP \fINumber\fP[PERCENT]
|
\fB-l\fP|\fB--extents\fP \fINumber\fP[PERCENT]
|
||||||
.br
|
.br
|
||||||
@ -1518,46 +1518,46 @@ the whole origin).
|
|||||||
When expressed as a percentage, the size defines an upper limit for the
|
When expressed as a percentage, the size defines an upper limit for the
|
||||||
number of logical extents in the new LV. The precise number of logical
|
number of logical extents in the new LV. The precise number of logical
|
||||||
extents in the new LV is not determined until the command has completed.
|
extents in the new LV is not determined until the command has completed.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-K\fP|\fB--ignoreactivationskip\fP
|
\fB-K\fP|\fB--ignoreactivationskip\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Ignore the "activation skip" LV flag during activation
|
Ignore the "activation skip" LV flag during activation
|
||||||
to allow LVs with the flag set to be activated.
|
to allow LVs with the flag set to be activated.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoremonitoring\fP
|
\fB--ignoremonitoring\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Do not interact with dmeventd unless --monitor is specified.
|
Do not interact with dmeventd unless --monitor is specified.
|
||||||
Do not use this if dmeventd is already monitoring a device.
|
Do not use this if dmeventd is already monitoring a device.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-j\fP|\fB--major\fP \fINumber\fP
|
\fB-j\fP|\fB--major\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Sets the major number of an LV block device.
|
Sets the major number of an LV block device.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--[raid]maxrecoveryrate\fP \fISize\fP[k|UNIT]
|
\fB--[raid]maxrecoveryrate\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -1566,20 +1566,20 @@ Sets the maximum recovery rate for a RAID LV. The rate value
|
|||||||
is an amount of data per second for each device in the array.
|
is an amount of data per second for each device in the array.
|
||||||
Setting the rate to 0 means it will be unbounded.
|
Setting the rate to 0 means it will be unbounded.
|
||||||
See \fBlvmraid\fP(7) for more information.
|
See \fBlvmraid\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataprofile\fP \fIString\fP
|
\fB--metadataprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The metadata profile to use for command configuration.
|
The metadata profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--minor\fP \fINumber\fP
|
\fB--minor\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Sets the minor number of an LV block device.
|
Sets the minor number of an LV block device.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--[raid]minrecoveryrate\fP \fISize\fP[k|UNIT]
|
\fB--[raid]minrecoveryrate\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -1588,7 +1588,7 @@ Sets the minimum recovery rate for a RAID LV. The rate value
|
|||||||
is an amount of data per second for each device in the array.
|
is an amount of data per second for each device in the array.
|
||||||
Setting the rate to 0 means it will be unbounded.
|
Setting the rate to 0 means it will be unbounded.
|
||||||
See \fBlvmraid\fP(7) for more information.
|
See \fBlvmraid\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--mirrorlog\fP \fBcore\fP|\fBdisk\fP
|
\fB--mirrorlog\fP \fBcore\fP|\fBdisk\fP
|
||||||
.br
|
.br
|
||||||
@ -1602,7 +1602,7 @@ In this case, the mirror must be synchronized (by copying LV data from
|
|||||||
the first device to others) each time the LV is activated, e.g. after reboot.
|
the first device to others) each time the LV is activated, e.g. after reboot.
|
||||||
\fBmirrored\fP is a persistent log that is itself mirrored, but
|
\fBmirrored\fP is a persistent log that is itself mirrored, but
|
||||||
should be avoided. Instead, use the raid1 type for log redundancy.
|
should be avoided. Instead, use the raid1 type for log redundancy.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-m\fP|\fB--mirrors\fP \fINumber\fP
|
\fB-m\fP|\fB--mirrors\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -1620,7 +1620,7 @@ Use lvm.conf global/mirror_segtype_default and
|
|||||||
global/raid10_segtype_default to configure the default types.
|
global/raid10_segtype_default to configure the default types.
|
||||||
See the --nosync option for avoiding initial image synchronization.
|
See the --nosync option for avoiding initial image synchronization.
|
||||||
See \fBlvmraid\fP(7) for more information.
|
See \fBlvmraid\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--monitor\fP \fBy\fP|\fBn\fP
|
\fB--monitor\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -1629,7 +1629,7 @@ Start (yes) or stop (no) monitoring an LV with dmeventd.
|
|||||||
dmeventd monitors kernel events for an LV, and performs
|
dmeventd monitors kernel events for an LV, and performs
|
||||||
automated maintenance for the LV in reponse to specific events.
|
automated maintenance for the LV in reponse to specific events.
|
||||||
See \fBdmeventd\fP(8) for more information.
|
See \fBdmeventd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-n\fP|\fB--name\fP \fIString\fP
|
\fB-n\fP|\fB--name\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -1637,13 +1637,13 @@ See \fBdmeventd\fP(8) for more information.
|
|||||||
Specifies the name of a new LV.
|
Specifies the name of a new LV.
|
||||||
When unspecified, a default name of "lvol#" is
|
When unspecified, a default name of "lvol#" is
|
||||||
generated, where # is a number generated by LVM.
|
generated, where # is a number generated by LVM.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosync\fP
|
\fB--nosync\fP
|
||||||
.br
|
.br
|
||||||
@ -1660,7 +1660,7 @@ This option is not valid for raid6, because raid6 relies on proper parity
|
|||||||
to reconstruct proper user date in case of device failures.
|
to reconstruct proper user date in case of device failures.
|
||||||
raid0 and raid0_meta do not provide any data copies or parity support
|
raid0 and raid0_meta do not provide any data copies or parity support
|
||||||
and thus do not support initial synchronization.
|
and thus do not support initial synchronization.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
@ -1669,25 +1669,25 @@ Disables udev synchronisation. The process will not wait for notification
|
|||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-p\fP|\fB--permission\fP \fBrw\fP|\fBr\fP
|
\fB-p\fP|\fB--permission\fP \fBrw\fP|\fBr\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set access permission to read only \fBr\fP or read and write \fBrw\fP.
|
Set access permission to read only \fBr\fP or read and write \fBrw\fP.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-M\fP|\fB--persistent\fP \fBy\fP|\fBn\fP
|
\fB-M\fP|\fB--persistent\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
When yes, makes the specified minor number persistent.
|
When yes, makes the specified minor number persistent.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--poolmetadatasize\fP \fISize\fP[m|UNIT]
|
\fB--poolmetadatasize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies the size of the new pool metadata LV.
|
Specifies the size of the new pool metadata LV.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--poolmetadataspare\fP \fBy\fP|\fBn\fP
|
\fB--poolmetadataspare\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -1695,27 +1695,27 @@ Specifies the size of the new pool metadata LV.
|
|||||||
Enable or disable the automatic creation and management of a
|
Enable or disable the automatic creation and management of a
|
||||||
spare pool metadata LV in the VG. A spare metadata LV is reserved
|
spare pool metadata LV in the VG. A spare metadata LV is reserved
|
||||||
space that can be used when repairing a pool.
|
space that can be used when repairing a pool.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--raidintegrity\fP \fBy\fP|\fBn\fP
|
\fB--raidintegrity\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Enable or disable data integrity checksums for raid images.
|
Enable or disable data integrity checksums for raid images.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--raidintegrityblocksize\fP \fINumber\fP
|
\fB--raidintegrityblocksize\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -1726,7 +1726,7 @@ logical block size, or the file system block size.
|
|||||||
It may be less than the file system block size, but not
|
It may be less than the file system block size, but not
|
||||||
less than the device logical block size.
|
less than the device logical block size.
|
||||||
Possible values: 512, 1024, 2048, 4096.
|
Possible values: 512, 1024, 2048, 4096.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--raidintegritymode\fP \fIString\fP
|
\fB--raidintegritymode\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -1738,7 +1738,7 @@ The journal mode doubles writes to storage, but can improve performance for
|
|||||||
scattered writes packed into a single journal write.
|
scattered writes packed into a single journal write.
|
||||||
bitmap mode can in theory achieve full write throughput of the device,
|
bitmap mode can in theory achieve full write throughput of the device,
|
||||||
but would not benefit from the potential scattered write optimization.
|
but would not benefit from the potential scattered write optimization.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-r\fP|\fB--readahead\fP \fBauto\fP|\fBnone\fP|\fINumber\fP
|
\fB-r\fP|\fB--readahead\fP \fBauto\fP|\fBnone\fP|\fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -1747,7 +1747,7 @@ Sets read ahead sector count of an LV.
|
|||||||
\fBauto\fP is the default which allows the kernel to choose
|
\fBauto\fP is the default which allows the kernel to choose
|
||||||
a suitable value automatically.
|
a suitable value automatically.
|
||||||
\fBnone\fP is equivalent to zero.
|
\fBnone\fP is equivalent to zero.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-R\fP|\fB--regionsize\fP \fISize\fP[m|UNIT]
|
\fB-R\fP|\fB--regionsize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -1755,7 +1755,7 @@ a suitable value automatically.
|
|||||||
Size of each raid or mirror synchronization region.
|
Size of each raid or mirror synchronization region.
|
||||||
lvm.conf activation/raid_region_size can be used to
|
lvm.conf activation/raid_region_size can be used to
|
||||||
configure a default.
|
configure a default.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -1766,7 +1766,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-k\fP|\fB--setactivationskip\fP \fBy\fP|\fBn\fP
|
\fB-k\fP|\fB--setactivationskip\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -1777,7 +1777,7 @@ An LV with this flag set is not activated unless the
|
|||||||
This flag is set by default on new thin snapshot LVs.
|
This flag is set by default on new thin snapshot LVs.
|
||||||
The flag is not applied to deactivation.
|
The flag is not applied to deactivation.
|
||||||
The current value of the flag is indicated in the lvs lv_attr bits.
|
The current value of the flag is indicated in the lvs lv_attr bits.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--setautoactivation\fP \fBy\fP|\fBn\fP
|
\fB--setautoactivation\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -1791,7 +1791,7 @@ If autoactivation is disabled on a VG, no LVs will be autoactivated
|
|||||||
in that VG, and the LV autoactivation property has no effect.
|
in that VG, and the LV autoactivation property has no effect.
|
||||||
If autoactivation is enabled on a VG, autoactivation can be disabled
|
If autoactivation is enabled on a VG, autoactivation can be disabled
|
||||||
for individual LVs.
|
for individual LVs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-L\fP|\fB--size\fP \fISize\fP[m|UNIT]
|
\fB-L\fP|\fB--size\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -1800,7 +1800,7 @@ Specifies the size of the new LV.
|
|||||||
The --size and --extents options are alternate methods of specifying size.
|
The --size and --extents options are alternate methods of specifying size.
|
||||||
The total number of physical extents used will be
|
The total number of physical extents used will be
|
||||||
greater when redundant data is needed for RAID levels.
|
greater when redundant data is needed for RAID levels.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-s\fP|\fB--snapshot\fP
|
\fB-s\fP|\fB--snapshot\fP
|
||||||
.br
|
.br
|
||||||
@ -1830,7 +1830,7 @@ A small amount of the COW snapshot LV size is used to track COW block
|
|||||||
locations, so the full size is not available for COW data blocks.
|
locations, so the full size is not available for COW data blocks.
|
||||||
Use lvs to check how much space is used, and see --monitor to
|
Use lvs to check how much space is used, and see --monitor to
|
||||||
to automatically extend the size to avoid running out of space.
|
to automatically extend the size to avoid running out of space.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-i\fP|\fB--stripes\fP \fINumber\fP
|
\fB-i\fP|\fB--stripes\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -1847,14 +1847,14 @@ when unspecified, the default depends on the RAID type
|
|||||||
(raid0: 2, raid10: 2, raid4/5: 3, raid6: 5.)
|
(raid0: 2, raid10: 2, raid4/5: 3, raid6: 5.)
|
||||||
To stripe a new raid LV across all PVs by default,
|
To stripe a new raid LV across all PVs by default,
|
||||||
see lvm.conf allocation/raid_stripe_all_devices.
|
see lvm.conf allocation/raid_stripe_all_devices.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-I\fP|\fB--stripesize\fP \fISize\fP[k|UNIT]
|
\fB-I\fP|\fB--stripesize\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The amount of data that is written to one device before
|
The amount of data that is written to one device before
|
||||||
moving to the next in a striped LV.
|
moving to the next in a striped LV.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -1864,7 +1864,7 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-T\fP|\fB--thin\fP
|
\fB-T\fP|\fB--thin\fP
|
||||||
.br
|
.br
|
||||||
@ -1872,13 +1872,13 @@ back metadata it believes has changed but hasn't.
|
|||||||
Specifies the command is handling a thin LV or thin pool.
|
Specifies the command is handling a thin LV or thin pool.
|
||||||
See --type thin, --type thin-pool, and --virtualsize.
|
See --type thin, --type thin-pool, and --virtualsize.
|
||||||
See \fBlvmthin\fP(7) for more information about LVM thin provisioning.
|
See \fBlvmthin\fP(7) for more information about LVM thin provisioning.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--thinpool\fP \fILV\fP
|
\fB--thinpool\fP \fILV\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The name of a thin pool LV.
|
The name of a thin pool LV.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--type\fP
|
\fB--type\fP
|
||||||
.nh
|
.nh
|
||||||
@ -1897,7 +1897,7 @@ Several commands omit an explicit type option because the type
|
|||||||
is inferred from other options or shortcuts
|
is inferred from other options or shortcuts
|
||||||
(e.g. --stripes, --mirrors, --snapshot, --virtualsize, --thin, --cache, --vdo).
|
(e.g. --stripes, --mirrors, --snapshot, --virtualsize, --thin, --cache, --vdo).
|
||||||
Use inferred types with care because it can lead to unexpected results.
|
Use inferred types with care because it can lead to unexpected results.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--vdo\fP
|
\fB--vdo\fP
|
||||||
.br
|
.br
|
||||||
@ -1905,27 +1905,27 @@ Use inferred types with care because it can lead to unexpected results.
|
|||||||
Specifies the command is handling VDO LV.
|
Specifies the command is handling VDO LV.
|
||||||
See --type vdo.
|
See --type vdo.
|
||||||
See \fBlvmvdo\fP(7) for more information about VDO usage.
|
See \fBlvmvdo\fP(7) for more information about VDO usage.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--vdopool\fP \fILV\fP
|
\fB--vdopool\fP \fILV\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The name of a VDO pool LV.
|
The name of a VDO pool LV.
|
||||||
See \fBlvmvdo\fP(7) for more information about VDO usage.
|
See \fBlvmvdo\fP(7) for more information about VDO usage.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-V\fP|\fB--virtualsize\fP \fISize\fP[m|UNIT]
|
\fB-V\fP|\fB--virtualsize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -1942,7 +1942,7 @@ When using a snapshot to create a sparse LV, a hidden virtual device
|
|||||||
is created using the zero target, and the LV has the suffix _vorigin.
|
is created using the zero target, and the LV has the suffix _vorigin.
|
||||||
Snapshots are less efficient than thin provisioning when creating
|
Snapshots are less efficient than thin provisioning when creating
|
||||||
large sparse LVs (GiB).
|
large sparse LVs (GiB).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-W\fP|\fB--wipesignatures\fP \fBy\fP|\fBn\fP
|
\fB-W\fP|\fB--wipesignatures\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -1960,7 +1960,7 @@ signatures that are recognized).
|
|||||||
Otherwise, native LVM code is used to detect signatures
|
Otherwise, native LVM code is used to detect signatures
|
||||||
(only MD RAID, swap and LUKS signatures are detected in this case.)
|
(only MD RAID, swap and LUKS signatures are detected in this case.)
|
||||||
The LV is not wiped if the read only flag is set.
|
The LV is not wiped if the read only flag is set.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -1968,7 +1968,7 @@ The LV is not wiped if the read only flag is set.
|
|||||||
Do not prompt for confirmation interactively but always assume the
|
Do not prompt for confirmation interactively but always assume the
|
||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-Z\fP|\fB--zero\fP \fBy\fP|\fBn\fP
|
\fB-Z\fP|\fB--zero\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -1980,21 +1980,21 @@ For thin pools, this controls zeroing of provisioned blocks.
|
|||||||
LV is not zeroed if the read only flag is set.
|
LV is not zeroed if the read only flag is set.
|
||||||
Warning: trying to mount an unzeroed LV can cause the system to hang.
|
Warning: trying to mount an unzeroed LV can cause the system to hang.
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
For lvcreate, the required VG positional arg may be
|
For lvcreate, the required VG positional arg may be
|
||||||
omitted when the VG name is included in another option,
|
omitted when the VG name is included in another option,
|
||||||
e.g. --name VG/LV.
|
e.g. --name VG/LV.
|
||||||
.TP
|
.HP
|
||||||
\fILV\fP
|
\fILV\fP
|
||||||
.br
|
.br
|
||||||
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
||||||
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
||||||
LV followed by _<type> indicates that an LV of the
|
LV followed by _<type> indicates that an LV of the
|
||||||
given type is required. (raid represents raid<N> type)
|
given type is required. (raid represents raid<N> type)
|
||||||
.TP
|
.HP
|
||||||
\fIPV\fP
|
\fIPV\fP
|
||||||
.br
|
.br
|
||||||
Physical Volume name, a device path under /dev.
|
Physical Volume name, a device path under /dev.
|
||||||
@ -2004,11 +2004,11 @@ of physical extents (PEs). When the first PE is omitted, it defaults
|
|||||||
to the start of the device, and when the last PE is omitted it defaults to end.
|
to the start of the device, and when the last PE is omitted it defaults to end.
|
||||||
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
||||||
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -186,13 +186,13 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--aligned\fP
|
\fB--aligned\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Use with --separator to align the output columns
|
Use with --separator to align the output columns
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB--all\fP
|
||||||
.br
|
.br
|
||||||
@ -200,7 +200,7 @@ Use with --separator to align the output columns
|
|||||||
Show information about internal LVs.
|
Show information about internal LVs.
|
||||||
These are components of normal LVs, such as mirrors,
|
These are components of normal LVs, such as mirrors,
|
||||||
which are not independently accessible, e.g. not mountable.
|
which are not independently accessible, e.g. not mountable.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--binary\fP
|
\fB--binary\fP
|
||||||
.br
|
.br
|
||||||
@ -208,28 +208,28 @@ which are not independently accessible, e.g. not mountable.
|
|||||||
Use binary values "0" or "1" instead of descriptive literal values
|
Use binary values "0" or "1" instead of descriptive literal values
|
||||||
for columns that have exactly two valid values to report (not counting
|
for columns that have exactly two valid values to report (not counting
|
||||||
the "unknown" value which denotes that the value could not be determined).
|
the "unknown" value which denotes that the value could not be determined).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-c\fP|\fB--colon\fP
|
\fB-c\fP|\fB--colon\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Generate colon separated output for easier parsing in scripts or programs.
|
Generate colon separated output for easier parsing in scripts or programs.
|
||||||
Also see \fBvgs\fP(8) which provides considerably more control over the output.
|
Also see \fBvgs\fP(8) which provides considerably more control over the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-C\fP|\fB--columns\fP
|
\fB-C\fP|\fB--columns\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display output in columns, the equivalent of \fBvgs\fP(8).
|
Display output in columns, the equivalent of \fBvgs\fP(8).
|
||||||
Options listed are the same as options given in \fBvgs\fP(8).
|
Options listed are the same as options given in \fBvgs\fP(8).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -238,20 +238,20 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--configreport\fP \fBlog\fP|\fBvg\fP|\fBlv\fP|\fBpv\fP|\fBpvseg\fP|\fBseg\fP
|
\fB--configreport\fP \fBlog\fP|\fBvg\fP|\fBlv\fP|\fBpv\fP|\fBpvseg\fP|\fBseg\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
See \fBlvmreport\fP(7).
|
See \fBlvmreport\fP(7).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -259,7 +259,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -269,27 +269,27 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--foreign\fP
|
\fB--foreign\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Report/display foreign VGs that would otherwise be skipped.
|
Report/display foreign VGs that would otherwise be skipped.
|
||||||
See \fBlvmsystemid\fP(7) for more information about foreign VGs.
|
See \fBlvmsystemid\fP(7) for more information about foreign VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-H\fP|\fB--history\fP
|
\fB-H\fP|\fB--history\fP
|
||||||
.br
|
.br
|
||||||
@ -297,33 +297,33 @@ Display help text.
|
|||||||
Include historical LVs in the output.
|
Include historical LVs in the output.
|
||||||
(This has no effect unless LVs were removed while
|
(This has no effect unless LVs were removed while
|
||||||
lvm.conf metadata/record_lvs_history was enabled.
|
lvm.conf metadata/record_lvs_history was enabled.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB--ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Allows a command to continue with read-only metadata
|
Allows a command to continue with read-only metadata
|
||||||
operations after locking failures.
|
operations after locking failures.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--logonly\fP
|
\fB--logonly\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress command report and display only log report.
|
Suppress command report and display only log report.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-m\fP|\fB--maps\fP
|
\fB-m\fP|\fB--maps\fP
|
||||||
.br
|
.br
|
||||||
@ -331,27 +331,27 @@ Display long help text.
|
|||||||
Display the mapping of logical extents to PVs and physical extents.
|
Display the mapping of logical extents to PVs and physical extents.
|
||||||
To map physical extents to logical extents use:
|
To map physical extents to logical extents use:
|
||||||
pvs --segments -o+lv_name,seg_start_pe,segtype
|
pvs --segments -o+lv_name,seg_start_pe,segtype
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noheadings\fP
|
\fB--noheadings\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress the headings line that is normally the first line of output.
|
Suppress the headings line that is normally the first line of output.
|
||||||
Useful if grepping the output.
|
Useful if grepping the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosuffix\fP
|
\fB--nosuffix\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress the suffix on output sizes. Use with --units
|
Suppress the suffix on output sizes. Use with --units
|
||||||
(except h and H) if processing the output.
|
(except h and H) if processing the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-o\fP|\fB--options\fP \fIString\fP
|
\fB-o\fP|\fB--options\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -373,21 +373,21 @@ Use field name \fBlv_all\fP to view all LV fields,
|
|||||||
\fBpvseg_all\fP all PV segment columns.
|
\fBpvseg_all\fP all PV segment columns.
|
||||||
See the lvm.conf report section for more config options.
|
See the lvm.conf report section for more config options.
|
||||||
See \fBlvmreport\fP(7) for more information about reporting.
|
See \fBlvmreport\fP(7) for more information about reporting.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB--readonly\fP
|
||||||
.br
|
.br
|
||||||
@ -398,7 +398,7 @@ inside metadata used by a virtual machine image while the virtual
|
|||||||
machine is running. No attempt will be made to communicate with the
|
machine is running. No attempt will be made to communicate with the
|
||||||
device-mapper kernel driver, so this option is unable to report whether
|
device-mapper kernel driver, so this option is unable to report whether
|
||||||
or not LVs are actually in use.
|
or not LVs are actually in use.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -409,12 +409,12 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--segments\fP
|
\fB--segments\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB--select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -427,13 +427,13 @@ Rows can be displayed with an additional "selected" field (-o selected)
|
|||||||
showing 1 if the row matches the selection and 0 otherwise.
|
showing 1 if the row matches the selection and 0 otherwise.
|
||||||
For non-reporting commands which process LVM entities, the selection is
|
For non-reporting commands which process LVM entities, the selection is
|
||||||
used to choose items to process.
|
used to choose items to process.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--separator\fP \fIString\fP
|
\fB--separator\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
String to use to separate each column. Useful if grepping the output.
|
String to use to separate each column. Useful if grepping the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--shared\fP
|
\fB--shared\fP
|
||||||
.br
|
.br
|
||||||
@ -441,14 +441,14 @@ String to use to separate each column. Useful if grepping the output.
|
|||||||
Report/display shared VGs that would otherwise be skipped when
|
Report/display shared VGs that would otherwise be skipped when
|
||||||
lvmlockd is not being used on the host.
|
lvmlockd is not being used on the host.
|
||||||
See \fBlvmlockd\fP(8) for more information about shared VGs.
|
See \fBlvmlockd\fP(8) for more information about shared VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-O\fP|\fB--sort\fP \fIString\fP
|
\fB-O\fP|\fB--sort\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Comma-separated ordered list of columns to sort by. Replaces the default
|
Comma-separated ordered list of columns to sort by. Replaces the default
|
||||||
selection. Precede any column with \fB-\fP for a reverse sort on that column.
|
selection. Precede any column with \fB-\fP for a reverse sort on that column.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -458,13 +458,13 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unbuffered\fP
|
\fB--unbuffered\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Produce output immediately without sorting or aligning the columns properly.
|
Produce output immediately without sorting or aligning the columns properly.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--units\fP \fBr\fP|\fBR\fP|\fBh\fP|\fBH\fP|\fBb\fP|\fBB\fP|\fBs\fP|\fBS\fP|\fBk\fP|\fBK\fP|\fBm\fP|\fBM\fP|\fBg\fP|\fBG\fP|\fBt\fP|\fBT\fP|\fBp\fP|\fBP\fP|\fBe\fP|\fBE\fP
|
\fB--units\fP \fBr\fP|\fBR\fP|\fBh\fP|\fBH\fP|\fBb\fP|\fBB\fP|\fBs\fP|\fBS\fP|\fBk\fP|\fBK\fP|\fBm\fP|\fBM\fP|\fBg\fP|\fBG\fP|\fBt\fP|\fBT\fP|\fBp\fP|\fBP\fP|\fBe\fP|\fBE\fP
|
||||||
.br
|
.br
|
||||||
@ -475,20 +475,20 @@ human-(r)eadable with '<' rounding indicator,
|
|||||||
(g)igabytes, (t)erabytes, (p)etabytes, (e)xabytes.
|
(g)igabytes, (t)erabytes, (p)etabytes, (e)xabytes.
|
||||||
Capitalise to use multiples of 1000 (S.I.) instead of 1024.
|
Capitalise to use multiples of 1000 (S.I.) instead of 1024.
|
||||||
Custom units can be specified, e.g. --units 3M.
|
Custom units can be specified, e.g. --units 3M.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -497,25 +497,25 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fILV\fP
|
\fILV\fP
|
||||||
.br
|
.br
|
||||||
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
||||||
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
||||||
.TP
|
.HP
|
||||||
\fITag\fP
|
\fITag\fP
|
||||||
.br
|
.br
|
||||||
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
||||||
in place of a VG, LV or PV.
|
in place of a VG, LV or PV.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -370,7 +370,7 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--alloc\fP
|
\fB--alloc\fP
|
||||||
.nh
|
.nh
|
||||||
@ -394,21 +394,21 @@ e.g. by placing two stripes on the same PV.
|
|||||||
Optional positional PV args on the command line can also be used to limit
|
Optional positional PV args on the command line can also be used to limit
|
||||||
which PVs the command will use for allocation.
|
which PVs the command will use for allocation.
|
||||||
See \fBlvm\fP(8) for more information about allocation.
|
See \fBlvm\fP(8) for more information about allocation.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies if metadata should be backed up automatically after a change.
|
Specifies if metadata should be backed up automatically after a change.
|
||||||
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -417,14 +417,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -432,7 +432,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -442,14 +442,14 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--extents\fP [\fB+\fP]\fINumber\fP[PERCENT]
|
\fB-l\fP|\fB--extents\fP [\fB+\fP]\fINumber\fP[PERCENT]
|
||||||
.br
|
.br
|
||||||
@ -472,39 +472,39 @@ extents in the new LV is not determined until the command has completed.
|
|||||||
When the plus \fB+\fP or minus \fB-\fP prefix is used,
|
When the plus \fB+\fP or minus \fB-\fP prefix is used,
|
||||||
the value is not an absolute size, but is relative and added or subtracted
|
the value is not an absolute size, but is relative and added or subtracted
|
||||||
from the current size.
|
from the current size.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB--force\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-m\fP|\fB--mirrors\fP \fINumber\fP
|
\fB-m\fP|\fB--mirrors\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Not used.
|
Not used.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-n\fP|\fB--nofsck\fP
|
\fB-n\fP|\fB--nofsck\fP
|
||||||
.br
|
.br
|
||||||
@ -512,13 +512,13 @@ Not used.
|
|||||||
Do not perform fsck before resizing filesystem when filesystem
|
Do not perform fsck before resizing filesystem when filesystem
|
||||||
requires it. You may need to use --force to proceed with
|
requires it. You may need to use --force to proceed with
|
||||||
this option.
|
this option.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosync\fP
|
\fB--nosync\fP
|
||||||
.br
|
.br
|
||||||
@ -535,7 +535,7 @@ This option is not valid for raid6, because raid6 relies on proper parity
|
|||||||
to reconstruct proper user date in case of device failures.
|
to reconstruct proper user date in case of device failures.
|
||||||
raid0 and raid0_meta do not provide any data copies or parity support
|
raid0 and raid0_meta do not provide any data copies or parity support
|
||||||
and thus do not support initial synchronization.
|
and thus do not support initial synchronization.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
@ -544,7 +544,7 @@ Disables udev synchronisation. The process will not wait for notification
|
|||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--poolmetadatasize\fP [\fB+\fP]\fISize\fP[m|UNIT]
|
\fB--poolmetadatasize\fP [\fB+\fP]\fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -552,21 +552,21 @@ ignore the devices LVM creates.
|
|||||||
Specifies the new size of the pool metadata LV.
|
Specifies the new size of the pool metadata LV.
|
||||||
The plus prefix \fB+\fP can be used, in which case
|
The plus prefix \fB+\fP can be used, in which case
|
||||||
the value is added to the current size.
|
the value is added to the current size.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -577,13 +577,13 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-r\fP|\fB--resizefs\fP
|
\fB-r\fP|\fB--resizefs\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Resize underlying filesystem together with the LV using fsadm(8).
|
Resize underlying filesystem together with the LV using fsadm(8).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-L\fP|\fB--size\fP [\fB+\fP]\fISize\fP[m|UNIT]
|
\fB-L\fP|\fB--size\fP [\fB+\fP]\fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -595,7 +595,7 @@ greater when redundant data is needed for RAID levels.
|
|||||||
When the plus \fB+\fP or minus \fB-\fP prefix is used,
|
When the plus \fB+\fP or minus \fB-\fP prefix is used,
|
||||||
the value is not an absolute size, but is relative and added or subtracted
|
the value is not an absolute size, but is relative and added or subtracted
|
||||||
from the current size.
|
from the current size.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-i\fP|\fB--stripes\fP \fINumber\fP
|
\fB-i\fP|\fB--stripes\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -612,14 +612,14 @@ when unspecified, the default depends on the RAID type
|
|||||||
(raid0: 2, raid10: 2, raid4/5: 3, raid6: 5.)
|
(raid0: 2, raid10: 2, raid4/5: 3, raid6: 5.)
|
||||||
To stripe a new raid LV across all PVs by default,
|
To stripe a new raid LV across all PVs by default,
|
||||||
see lvm.conf allocation/raid_stripe_all_devices.
|
see lvm.conf allocation/raid_stripe_all_devices.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-I\fP|\fB--stripesize\fP \fISize\fP[k|UNIT]
|
\fB-I\fP|\fB--stripesize\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The amount of data that is written to one device before
|
The amount of data that is written to one device before
|
||||||
moving to the next in a striped LV.
|
moving to the next in a striped LV.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -629,7 +629,7 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--type\fP
|
\fB--type\fP
|
||||||
.nh
|
.nh
|
||||||
@ -648,27 +648,27 @@ Several commands omit an explicit type option because the type
|
|||||||
is inferred from other options or shortcuts
|
is inferred from other options or shortcuts
|
||||||
(e.g. --stripes, --mirrors, --snapshot, --virtualsize, --thin, --cache, --vdo).
|
(e.g. --stripes, --mirrors, --snapshot, --virtualsize, --thin, --cache, --vdo).
|
||||||
Use inferred types with care because it can lead to unexpected results.
|
Use inferred types with care because it can lead to unexpected results.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--usepolicies\fP
|
\fB--usepolicies\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Perform an operation according to the policy configured in lvm.conf
|
Perform an operation according to the policy configured in lvm.conf
|
||||||
or a profile.
|
or a profile.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -677,14 +677,14 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fILV\fP
|
\fILV\fP
|
||||||
.br
|
.br
|
||||||
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
||||||
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
||||||
LV followed by _<type> indicates that an LV of the
|
LV followed by _<type> indicates that an LV of the
|
||||||
given type is required. (raid represents raid<N> type)
|
given type is required. (raid represents raid<N> type)
|
||||||
.TP
|
.HP
|
||||||
\fIPV\fP
|
\fIPV\fP
|
||||||
.br
|
.br
|
||||||
Physical Volume name, a device path under /dev.
|
Physical Volume name, a device path under /dev.
|
||||||
@ -694,11 +694,11 @@ of physical extents (PEs). When the first PE is omitted, it defaults
|
|||||||
to the start of the device, and when the last PE is omitted it defaults to end.
|
to the start of the device, and when the last PE is omitted it defaults to end.
|
||||||
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
||||||
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -178,18 +178,18 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--aligned\fP
|
\fB--aligned\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Use with --separator to align the output columns
|
Use with --separator to align the output columns
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB--all\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--binary\fP
|
\fB--binary\fP
|
||||||
.br
|
.br
|
||||||
@ -197,14 +197,14 @@ Use with --separator to align the output columns
|
|||||||
Use binary values "0" or "1" instead of descriptive literal values
|
Use binary values "0" or "1" instead of descriptive literal values
|
||||||
for columns that have exactly two valid values to report (not counting
|
for columns that have exactly two valid values to report (not counting
|
||||||
the "unknown" value which denotes that the value could not be determined).
|
the "unknown" value which denotes that the value could not be determined).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -213,20 +213,20 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--configreport\fP \fBlog\fP|\fBvg\fP|\fBlv\fP|\fBpv\fP|\fBpvseg\fP|\fBseg\fP
|
\fB--configreport\fP \fBlog\fP|\fBvg\fP|\fBlv\fP|\fBpv\fP|\fBpvseg\fP|\fBseg\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
See \fBlvmreport\fP(7).
|
See \fBlvmreport\fP(7).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -234,7 +234,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -244,53 +244,53 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--foreign\fP
|
\fB--foreign\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Report/display foreign VGs that would otherwise be skipped.
|
Report/display foreign VGs that would otherwise be skipped.
|
||||||
See \fBlvmsystemid\fP(7) for more information about foreign VGs.
|
See \fBlvmsystemid\fP(7) for more information about foreign VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB--ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Allows a command to continue with read-only metadata
|
Allows a command to continue with read-only metadata
|
||||||
operations after locking failures.
|
operations after locking failures.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--logonly\fP
|
\fB--logonly\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress command report and display only log report.
|
Suppress command report and display only log report.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nameprefixes\fP
|
\fB--nameprefixes\fP
|
||||||
.br
|
.br
|
||||||
@ -298,27 +298,27 @@ Display long help text.
|
|||||||
Add an "LVM2_" prefix plus the field name to the output. Useful
|
Add an "LVM2_" prefix plus the field name to the output. Useful
|
||||||
with --noheadings to produce a list of field=value pairs that can
|
with --noheadings to produce a list of field=value pairs that can
|
||||||
be used to set environment variables (for example, in udev rules).
|
be used to set environment variables (for example, in udev rules).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noheadings\fP
|
\fB--noheadings\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress the headings line that is normally the first line of output.
|
Suppress the headings line that is normally the first line of output.
|
||||||
Useful if grepping the output.
|
Useful if grepping the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosuffix\fP
|
\fB--nosuffix\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress the suffix on output sizes. Use with --units
|
Suppress the suffix on output sizes. Use with --units
|
||||||
(except h and H) if processing the output.
|
(except h and H) if processing the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-o\fP|\fB--options\fP \fIString\fP
|
\fB-o\fP|\fB--options\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -340,21 +340,21 @@ Use field name \fBlv_all\fP to view all LV fields,
|
|||||||
\fBpvseg_all\fP all PV segment columns.
|
\fBpvseg_all\fP all PV segment columns.
|
||||||
See the lvm.conf report section for more config options.
|
See the lvm.conf report section for more config options.
|
||||||
See \fBlvmreport\fP(7) for more information about reporting.
|
See \fBlvmreport\fP(7) for more information about reporting.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB--readonly\fP
|
||||||
.br
|
.br
|
||||||
@ -365,7 +365,7 @@ inside metadata used by a virtual machine image while the virtual
|
|||||||
machine is running. No attempt will be made to communicate with the
|
machine is running. No attempt will be made to communicate with the
|
||||||
device-mapper kernel driver, so this option is unable to report whether
|
device-mapper kernel driver, so this option is unable to report whether
|
||||||
or not LVs are actually in use.
|
or not LVs are actually in use.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -376,13 +376,13 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--rows\fP
|
\fB--rows\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Output columns as rows.
|
Output columns as rows.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB--select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -395,13 +395,13 @@ Rows can be displayed with an additional "selected" field (-o selected)
|
|||||||
showing 1 if the row matches the selection and 0 otherwise.
|
showing 1 if the row matches the selection and 0 otherwise.
|
||||||
For non-reporting commands which process LVM entities, the selection is
|
For non-reporting commands which process LVM entities, the selection is
|
||||||
used to choose items to process.
|
used to choose items to process.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--separator\fP \fIString\fP
|
\fB--separator\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
String to use to separate each column. Useful if grepping the output.
|
String to use to separate each column. Useful if grepping the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--shared\fP
|
\fB--shared\fP
|
||||||
.br
|
.br
|
||||||
@ -409,14 +409,14 @@ String to use to separate each column. Useful if grepping the output.
|
|||||||
Report/display shared VGs that would otherwise be skipped when
|
Report/display shared VGs that would otherwise be skipped when
|
||||||
lvmlockd is not being used on the host.
|
lvmlockd is not being used on the host.
|
||||||
See \fBlvmlockd\fP(8) for more information about shared VGs.
|
See \fBlvmlockd\fP(8) for more information about shared VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-O\fP|\fB--sort\fP \fIString\fP
|
\fB-O\fP|\fB--sort\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Comma-separated ordered list of columns to sort by. Replaces the default
|
Comma-separated ordered list of columns to sort by. Replaces the default
|
||||||
selection. Precede any column with \fB-\fP for a reverse sort on that column.
|
selection. Precede any column with \fB-\fP for a reverse sort on that column.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -426,13 +426,13 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unbuffered\fP
|
\fB--unbuffered\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Produce output immediately without sorting or aligning the columns properly.
|
Produce output immediately without sorting or aligning the columns properly.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--units\fP \fBr\fP|\fBR\fP|\fBh\fP|\fBH\fP|\fBb\fP|\fBB\fP|\fBs\fP|\fBS\fP|\fBk\fP|\fBK\fP|\fBm\fP|\fBM\fP|\fBg\fP|\fBG\fP|\fBt\fP|\fBT\fP|\fBp\fP|\fBP\fP|\fBe\fP|\fBE\fP
|
\fB--units\fP \fBr\fP|\fBR\fP|\fBh\fP|\fBH\fP|\fBb\fP|\fBB\fP|\fBs\fP|\fBS\fP|\fBk\fP|\fBK\fP|\fBm\fP|\fBM\fP|\fBg\fP|\fBG\fP|\fBt\fP|\fBT\fP|\fBp\fP|\fBP\fP|\fBe\fP|\fBE\fP
|
||||||
.br
|
.br
|
||||||
@ -443,27 +443,27 @@ human-(r)eadable with '<' rounding indicator,
|
|||||||
(g)igabytes, (t)erabytes, (p)etabytes, (e)xabytes.
|
(g)igabytes, (t)erabytes, (p)etabytes, (e)xabytes.
|
||||||
Capitalise to use multiples of 1000 (S.I.) instead of 1024.
|
Capitalise to use multiples of 1000 (S.I.) instead of 1024.
|
||||||
Custom units can be specified, e.g. --units 3M.
|
Custom units can be specified, e.g. --units 3M.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unquoted\fP
|
\fB--unquoted\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
When used with --nameprefixes, output values in the field=value
|
When used with --nameprefixes, output values in the field=value
|
||||||
pairs are not quoted.
|
pairs are not quoted.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -472,15 +472,15 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -104,27 +104,27 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--abort\fP
|
\fB--abort\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Stop processing a poll operation in lvmpolld.
|
Stop processing a poll operation in lvmpolld.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies if metadata should be backed up automatically after a change.
|
Specifies if metadata should be backed up automatically after a change.
|
||||||
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -133,14 +133,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -148,7 +148,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -158,72 +158,72 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--handlemissingpvs\fP
|
\fB--handlemissingpvs\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Allows a polling operation to continue when PVs are missing,
|
Allows a polling operation to continue when PVs are missing,
|
||||||
e.g. for repairs due to faulty devices.
|
e.g. for repairs due to faulty devices.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-i\fP|\fB--interval\fP \fINumber\fP
|
\fB-i\fP|\fB--interval\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Report progress at regular intervals.
|
Report progress at regular intervals.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--polloperation\fP \fBpvmove\fP|\fBconvert\fP|\fBmerge\fP|\fBmerge_thin\fP
|
\fB--polloperation\fP \fBpvmove\fP|\fBconvert\fP|\fBmerge\fP|\fBmerge_thin\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command to perform from lvmpolld.
|
The command to perform from lvmpolld.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -233,20 +233,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -255,16 +255,16 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fILV\fP
|
\fILV\fP
|
||||||
.br
|
.br
|
||||||
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
||||||
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -177,7 +177,7 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--atversion\fP \fIString\fP
|
\fB--atversion\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -189,14 +189,14 @@ at this LVM version will be considered only. This can be used
|
|||||||
to display a configuration that a certain LVM version understands and
|
to display a configuration that a certain LVM version understands and
|
||||||
which does not contain any newer settings for which LVM would
|
which does not contain any newer settings for which LVM would
|
||||||
issue a warning message when checking the configuration.
|
issue a warning message when checking the configuration.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -205,14 +205,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -220,7 +220,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -230,32 +230,32 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--file\fP \fIString\fP
|
\fB-f\fP|\fB--file\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Write output to the named file.
|
Write output to the named file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoreadvanced\fP
|
\fB--ignoreadvanced\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Exclude advanced configuration settings from the output.
|
Exclude advanced configuration settings from the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelocal\fP
|
\fB--ignorelocal\fP
|
||||||
.br
|
.br
|
||||||
@ -264,7 +264,7 @@ Ignore the local section. The local section should be defined in
|
|||||||
the lvmlocal.conf file, and should contain config settings
|
the lvmlocal.conf file, and should contain config settings
|
||||||
specific to the local host which should not be copied to
|
specific to the local host which should not be copied to
|
||||||
other hosts.
|
other hosts.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoreunsupported\fP
|
\fB--ignoreunsupported\fP
|
||||||
.br
|
.br
|
||||||
@ -274,27 +274,27 @@ either used for debugging and development purposes only or their support is not
|
|||||||
yet complete and they are not meant to be used in production. The \fBcurrent\fP
|
yet complete and they are not meant to be used in production. The \fBcurrent\fP
|
||||||
and \fBdiff\fP types include unsupported settings in their output by default,
|
and \fBdiff\fP types include unsupported settings in their output by default,
|
||||||
all the other types ignore unsupported settings.
|
all the other types ignore unsupported settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--list\fP
|
\fB-l\fP|\fB--list\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
List config settings with summarizing comment. This is the same as using
|
List config settings with summarizing comment. This is the same as using
|
||||||
options --typeconfig list --withsummary.
|
options --typeconfig list --withsummary.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--mergedconfig\fP
|
\fB--mergedconfig\fP
|
||||||
.br
|
.br
|
||||||
@ -306,34 +306,34 @@ merge all the contents of the "config cascade" before displaying it.
|
|||||||
Without merging, only the configuration at the front of the
|
Without merging, only the configuration at the front of the
|
||||||
cascade is displayed.
|
cascade is displayed.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataprofile\fP \fIString\fP
|
\fB--metadataprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The metadata profile to use for command configuration.
|
The metadata profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--showdeprecated\fP
|
\fB--showdeprecated\fP
|
||||||
.br
|
.br
|
||||||
@ -344,7 +344,7 @@ with --atversion, deprecated settings are automatically included
|
|||||||
if the specified version is lower than the version in which the settings were
|
if the specified version is lower than the version in which the settings were
|
||||||
deprecated. The current and diff types include deprecated settings
|
deprecated. The current and diff types include deprecated settings
|
||||||
in their output by default, all the other types ignore deprecated settings.
|
in their output by default, all the other types ignore deprecated settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--showunsupported\fP
|
\fB--showunsupported\fP
|
||||||
.br
|
.br
|
||||||
@ -354,7 +354,7 @@ are either used for debugging or development purposes only, or their support
|
|||||||
is not yet complete and they are not meant to be used in production. The
|
is not yet complete and they are not meant to be used in production. The
|
||||||
current and diff types include unsupported settings in their
|
current and diff types include unsupported settings in their
|
||||||
output by default, all the other types ignore unsupported settings.
|
output by default, all the other types ignore unsupported settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--sinceversion\fP \fIString\fP
|
\fB--sinceversion\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -363,7 +363,7 @@ Specify an LVM version in x.y.z format where x is the major version,
|
|||||||
the y is the minor version and z is the patchlevel (e.g. 2.2.106).
|
the y is the minor version and z is the patchlevel (e.g. 2.2.106).
|
||||||
This option is currently applicable only with --typeconfig new
|
This option is currently applicable only with --typeconfig new
|
||||||
to display all configuration settings introduced since given version.
|
to display all configuration settings introduced since given version.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -373,7 +373,7 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--typeconfig\fP
|
\fB--typeconfig\fP
|
||||||
.nh
|
.nh
|
||||||
@ -413,13 +413,13 @@ with their default values.
|
|||||||
\fBprofilable-command\fP prints settings with their default values that can be set from a command profile.
|
\fBprofilable-command\fP prints settings with their default values that can be set from a command profile.
|
||||||
\fBprofilable-metadata\fP prints settings with their default values that can be set from a metadata profile.
|
\fBprofilable-metadata\fP prints settings with their default values that can be set from a metadata profile.
|
||||||
Also see \fBlvm.conf\fP(5).
|
Also see \fBlvm.conf\fP(5).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unconfigured\fP
|
\fB--unconfigured\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Internal option used for generating config file during build.
|
Internal option used for generating config file during build.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--validate\fP
|
\fB--validate\fP
|
||||||
.br
|
.br
|
||||||
@ -429,51 +429,51 @@ return code. The validation is done only for the configuration
|
|||||||
at the front of the "config cascade". To validate the whole
|
at the front of the "config cascade". To validate the whole
|
||||||
merged configuration tree, also use --mergedconfig.
|
merged configuration tree, also use --mergedconfig.
|
||||||
The validation is done even if lvm.conf config/checks is disabled.
|
The validation is done even if lvm.conf config/checks is disabled.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--withcomments\fP
|
\fB--withcomments\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display a full comment for each configuration node. For deprecated
|
Display a full comment for each configuration node. For deprecated
|
||||||
settings, also display comments about deprecation.
|
settings, also display comments about deprecation.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--withgeneralpreamble\fP
|
\fB--withgeneralpreamble\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Include general config file preamble.
|
Include general config file preamble.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--withlocalpreamble\fP
|
\fB--withlocalpreamble\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Include local config file preamble.
|
Include local config file preamble.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--withspaces\fP
|
\fB--withspaces\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Where appropriate, add more spaces in output for better readability.
|
Where appropriate, add more spaces in output for better readability.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--withsummary\fP
|
\fB--withsummary\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display a one line comment for each configuration node.
|
Display a one line comment for each configuration node.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--withversions\fP
|
\fB--withversions\fP
|
||||||
.br
|
.br
|
||||||
@ -481,7 +481,7 @@ Display a one line comment for each configuration node.
|
|||||||
Also display a comment containing the version of introduction for
|
Also display a comment containing the version of introduction for
|
||||||
each configuration node. If the setting is deprecated, also display
|
each configuration node. If the setting is deprecated, also display
|
||||||
the version since which it is deprecated.
|
the version since which it is deprecated.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -490,11 +490,11 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -309,32 +309,32 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--adddev\fP \fIPV\fP
|
\fB--adddev\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Add a device to the devices file.
|
Add a device to the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--addpvid\fP \fIString\fP
|
\fB--addpvid\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Find a device with the PVID and add the device to the devices file.
|
Find a device with the PVID and add the device to the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--check\fP
|
\fB--check\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Check the content of the devices file.
|
Check the content of the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -343,26 +343,26 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--deldev\fP \fIPV\fP
|
\fB--deldev\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Remove a device from the devices file.
|
Remove a device from the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--delpvid\fP \fIString\fP
|
\fB--delpvid\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Remove a device with the PVID from the devices file.
|
Remove a device with the PVID from the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -370,7 +370,7 @@ Remove a device with the PVID from the devices file.
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -380,53 +380,53 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -436,26 +436,26 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--update\fP
|
\fB--update\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Update the content of the devices file.
|
Update the content of the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -464,11 +464,11 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -99,14 +99,14 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -115,14 +115,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -130,7 +130,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -140,59 +140,59 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--lvmpartition\fP
|
\fB-l\fP|\fB--lvmpartition\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Only report PVs.
|
Only report PVs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB--readonly\fP
|
||||||
.br
|
.br
|
||||||
@ -203,7 +203,7 @@ inside metadata used by a virtual machine image while the virtual
|
|||||||
machine is running. No attempt will be made to communicate with the
|
machine is running. No attempt will be made to communicate with the
|
||||||
device-mapper kernel driver, so this option is unable to report whether
|
device-mapper kernel driver, so this option is unable to report whether
|
||||||
or not LVs are actually in use.
|
or not LVs are actually in use.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -213,20 +213,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -235,11 +235,11 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -130,21 +130,21 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies if metadata should be backed up automatically after a change.
|
Specifies if metadata should be backed up automatically after a change.
|
||||||
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -153,14 +153,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -168,7 +168,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -178,14 +178,14 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--extents\fP [\fB-\fP]\fINumber\fP[PERCENT]
|
\fB-l\fP|\fB--extents\fP [\fB-\fP]\fINumber\fP[PERCENT]
|
||||||
.br
|
.br
|
||||||
@ -208,33 +208,33 @@ extents in the new LV is not determined until the command has completed.
|
|||||||
When the plus \fB+\fP or minus \fB-\fP prefix is used,
|
When the plus \fB+\fP or minus \fB-\fP prefix is used,
|
||||||
the value is not an absolute size, but is relative and added or subtracted
|
the value is not an absolute size, but is relative and added or subtracted
|
||||||
from the current size.
|
from the current size.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB--force\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-n\fP|\fB--nofsck\fP
|
\fB-n\fP|\fB--nofsck\fP
|
||||||
.br
|
.br
|
||||||
@ -242,13 +242,13 @@ Display long help text.
|
|||||||
Do not perform fsck before resizing filesystem when filesystem
|
Do not perform fsck before resizing filesystem when filesystem
|
||||||
requires it. You may need to use --force to proceed with
|
requires it. You may need to use --force to proceed with
|
||||||
this option.
|
this option.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
@ -257,21 +257,21 @@ Disables udev synchronisation. The process will not wait for notification
|
|||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -282,13 +282,13 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-r\fP|\fB--resizefs\fP
|
\fB-r\fP|\fB--resizefs\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Resize underlying filesystem together with the LV using fsadm(8).
|
Resize underlying filesystem together with the LV using fsadm(8).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-L\fP|\fB--size\fP [\fB-\fP]\fISize\fP[m|UNIT]
|
\fB-L\fP|\fB--size\fP [\fB-\fP]\fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -300,7 +300,7 @@ greater when redundant data is needed for RAID levels.
|
|||||||
When the plus \fB+\fP or minus \fB-\fP prefix is used,
|
When the plus \fB+\fP or minus \fB-\fP prefix is used,
|
||||||
the value is not an absolute size, but is relative and added or subtracted
|
the value is not an absolute size, but is relative and added or subtracted
|
||||||
from the current size.
|
from the current size.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -310,20 +310,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -332,16 +332,16 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fILV\fP
|
\fILV\fP
|
||||||
.br
|
.br
|
||||||
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
||||||
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -134,21 +134,21 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies if metadata should be backed up automatically after a change.
|
Specifies if metadata should be backed up automatically after a change.
|
||||||
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -157,14 +157,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -172,7 +172,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -182,40 +182,40 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB--force\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nohistory\fP
|
\fB--nohistory\fP
|
||||||
.br
|
.br
|
||||||
@ -223,13 +223,13 @@ Display long help text.
|
|||||||
Do not record history of LVs being removed.
|
Do not record history of LVs being removed.
|
||||||
This has no effect unless the configuration setting
|
This has no effect unless the configuration setting
|
||||||
metadata/record_lvs_history is enabled.
|
metadata/record_lvs_history is enabled.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
@ -238,21 +238,21 @@ Disables udev synchronisation. The process will not wait for notification
|
|||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -263,7 +263,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB--select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -276,7 +276,7 @@ Rows can be displayed with an additional "selected" field (-o selected)
|
|||||||
showing 1 if the row matches the selection and 0 otherwise.
|
showing 1 if the row matches the selection and 0 otherwise.
|
||||||
For non-reporting commands which process LVM entities, the selection is
|
For non-reporting commands which process LVM entities, the selection is
|
||||||
used to choose items to process.
|
used to choose items to process.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -286,20 +286,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -308,31 +308,31 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fILV\fP
|
\fILV\fP
|
||||||
.br
|
.br
|
||||||
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
||||||
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
||||||
.TP
|
.HP
|
||||||
\fITag\fP
|
\fITag\fP
|
||||||
.br
|
.br
|
||||||
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
||||||
in place of a VG, LV or PV.
|
in place of a VG, LV or PV.
|
||||||
.TP
|
.HP
|
||||||
\fISelect\fP
|
\fISelect\fP
|
||||||
.br
|
.br
|
||||||
Select indicates that a required positional parameter can
|
Select indicates that a required positional parameter can
|
||||||
be omitted if the \fB--select\fP option is used.
|
be omitted if the \fB--select\fP option is used.
|
||||||
No arg appears in this position.
|
No arg appears in this position.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -109,21 +109,21 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies if metadata should be backed up automatically after a change.
|
Specifies if metadata should be backed up automatically after a change.
|
||||||
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -132,14 +132,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -147,7 +147,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -157,39 +157,39 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
@ -198,21 +198,21 @@ Disables udev synchronisation. The process will not wait for notification
|
|||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -223,7 +223,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -233,20 +233,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -255,20 +255,20 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fILV\fP
|
\fILV\fP
|
||||||
.br
|
.br
|
||||||
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
||||||
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -318,7 +318,7 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--alloc\fP
|
\fB--alloc\fP
|
||||||
.nh
|
.nh
|
||||||
@ -342,21 +342,21 @@ e.g. by placing two stripes on the same PV.
|
|||||||
Optional positional PV args on the command line can also be used to limit
|
Optional positional PV args on the command line can also be used to limit
|
||||||
which PVs the command will use for allocation.
|
which PVs the command will use for allocation.
|
||||||
See \fBlvm\fP(8) for more information about allocation.
|
See \fBlvm\fP(8) for more information about allocation.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies if metadata should be backed up automatically after a change.
|
Specifies if metadata should be backed up automatically after a change.
|
||||||
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -365,14 +365,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -380,7 +380,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -390,14 +390,14 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--extents\fP [\fB+\fP|\fB-\fP]\fINumber\fP[PERCENT]
|
\fB-l\fP|\fB--extents\fP [\fB+\fP|\fB-\fP]\fINumber\fP[PERCENT]
|
||||||
.br
|
.br
|
||||||
@ -420,33 +420,33 @@ extents in the new LV is not determined until the command has completed.
|
|||||||
When the plus \fB+\fP or minus \fB-\fP prefix is used,
|
When the plus \fB+\fP or minus \fB-\fP prefix is used,
|
||||||
the value is not an absolute size, but is relative and added or subtracted
|
the value is not an absolute size, but is relative and added or subtracted
|
||||||
from the current size.
|
from the current size.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB--force\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-n\fP|\fB--nofsck\fP
|
\fB-n\fP|\fB--nofsck\fP
|
||||||
.br
|
.br
|
||||||
@ -454,13 +454,13 @@ Display long help text.
|
|||||||
Do not perform fsck before resizing filesystem when filesystem
|
Do not perform fsck before resizing filesystem when filesystem
|
||||||
requires it. You may need to use --force to proceed with
|
requires it. You may need to use --force to proceed with
|
||||||
this option.
|
this option.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosync\fP
|
\fB--nosync\fP
|
||||||
.br
|
.br
|
||||||
@ -477,7 +477,7 @@ This option is not valid for raid6, because raid6 relies on proper parity
|
|||||||
to reconstruct proper user date in case of device failures.
|
to reconstruct proper user date in case of device failures.
|
||||||
raid0 and raid0_meta do not provide any data copies or parity support
|
raid0 and raid0_meta do not provide any data copies or parity support
|
||||||
and thus do not support initial synchronization.
|
and thus do not support initial synchronization.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
@ -486,7 +486,7 @@ Disables udev synchronisation. The process will not wait for notification
|
|||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--poolmetadatasize\fP [\fB+\fP]\fISize\fP[m|UNIT]
|
\fB--poolmetadatasize\fP [\fB+\fP]\fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -494,21 +494,21 @@ ignore the devices LVM creates.
|
|||||||
Specifies the new size of the pool metadata LV.
|
Specifies the new size of the pool metadata LV.
|
||||||
The plus prefix \fB+\fP can be used, in which case
|
The plus prefix \fB+\fP can be used, in which case
|
||||||
the value is added to the current size.
|
the value is added to the current size.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -519,13 +519,13 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-r\fP|\fB--resizefs\fP
|
\fB-r\fP|\fB--resizefs\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Resize underlying filesystem together with the LV using fsadm(8).
|
Resize underlying filesystem together with the LV using fsadm(8).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-L\fP|\fB--size\fP [\fB+\fP|\fB-\fP]\fISize\fP[m|UNIT]
|
\fB-L\fP|\fB--size\fP [\fB+\fP|\fB-\fP]\fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -537,7 +537,7 @@ greater when redundant data is needed for RAID levels.
|
|||||||
When the plus \fB+\fP or minus \fB-\fP prefix is used,
|
When the plus \fB+\fP or minus \fB-\fP prefix is used,
|
||||||
the value is not an absolute size, but is relative and added or subtracted
|
the value is not an absolute size, but is relative and added or subtracted
|
||||||
from the current size.
|
from the current size.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-i\fP|\fB--stripes\fP \fINumber\fP
|
\fB-i\fP|\fB--stripes\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -554,14 +554,14 @@ when unspecified, the default depends on the RAID type
|
|||||||
(raid0: 2, raid10: 2, raid4/5: 3, raid6: 5.)
|
(raid0: 2, raid10: 2, raid4/5: 3, raid6: 5.)
|
||||||
To stripe a new raid LV across all PVs by default,
|
To stripe a new raid LV across all PVs by default,
|
||||||
see lvm.conf allocation/raid_stripe_all_devices.
|
see lvm.conf allocation/raid_stripe_all_devices.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-I\fP|\fB--stripesize\fP \fISize\fP[k|UNIT]
|
\fB-I\fP|\fB--stripesize\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The amount of data that is written to one device before
|
The amount of data that is written to one device before
|
||||||
moving to the next in a striped LV.
|
moving to the next in a striped LV.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -571,7 +571,7 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--type\fP
|
\fB--type\fP
|
||||||
.nh
|
.nh
|
||||||
@ -590,20 +590,20 @@ Several commands omit an explicit type option because the type
|
|||||||
is inferred from other options or shortcuts
|
is inferred from other options or shortcuts
|
||||||
(e.g. --stripes, --mirrors, --snapshot, --virtualsize, --thin, --cache, --vdo).
|
(e.g. --stripes, --mirrors, --snapshot, --virtualsize, --thin, --cache, --vdo).
|
||||||
Use inferred types with care because it can lead to unexpected results.
|
Use inferred types with care because it can lead to unexpected results.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -612,14 +612,14 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fILV\fP
|
\fILV\fP
|
||||||
.br
|
.br
|
||||||
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
||||||
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
||||||
LV followed by _<type> indicates that an LV of the
|
LV followed by _<type> indicates that an LV of the
|
||||||
given type is required. (raid represents raid<N> type)
|
given type is required. (raid represents raid<N> type)
|
||||||
.TP
|
.HP
|
||||||
\fIPV\fP
|
\fIPV\fP
|
||||||
.br
|
.br
|
||||||
Physical Volume name, a device path under /dev.
|
Physical Volume name, a device path under /dev.
|
||||||
@ -629,11 +629,11 @@ of physical extents (PEs). When the first PE is omitted, it defaults
|
|||||||
to the start of the device, and when the last PE is omitted it defaults to end.
|
to the start of the device, and when the last PE is omitted it defaults to end.
|
||||||
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
||||||
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -182,13 +182,13 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--aligned\fP
|
\fB--aligned\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Use with --separator to align the output columns
|
Use with --separator to align the output columns
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB--all\fP
|
||||||
.br
|
.br
|
||||||
@ -196,7 +196,7 @@ Use with --separator to align the output columns
|
|||||||
Show information about internal LVs.
|
Show information about internal LVs.
|
||||||
These are components of normal LVs, such as mirrors,
|
These are components of normal LVs, such as mirrors,
|
||||||
which are not independently accessible, e.g. not mountable.
|
which are not independently accessible, e.g. not mountable.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--binary\fP
|
\fB--binary\fP
|
||||||
.br
|
.br
|
||||||
@ -204,14 +204,14 @@ which are not independently accessible, e.g. not mountable.
|
|||||||
Use binary values "0" or "1" instead of descriptive literal values
|
Use binary values "0" or "1" instead of descriptive literal values
|
||||||
for columns that have exactly two valid values to report (not counting
|
for columns that have exactly two valid values to report (not counting
|
||||||
the "unknown" value which denotes that the value could not be determined).
|
the "unknown" value which denotes that the value could not be determined).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -220,20 +220,20 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--configreport\fP \fBlog\fP|\fBvg\fP|\fBlv\fP|\fBpv\fP|\fBpvseg\fP|\fBseg\fP
|
\fB--configreport\fP \fBlog\fP|\fBvg\fP|\fBlv\fP|\fBpv\fP|\fBpvseg\fP|\fBseg\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
See \fBlvmreport\fP(7).
|
See \fBlvmreport\fP(7).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -241,7 +241,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -251,27 +251,27 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--foreign\fP
|
\fB--foreign\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Report/display foreign VGs that would otherwise be skipped.
|
Report/display foreign VGs that would otherwise be skipped.
|
||||||
See \fBlvmsystemid\fP(7) for more information about foreign VGs.
|
See \fBlvmsystemid\fP(7) for more information about foreign VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-H\fP|\fB--history\fP
|
\fB-H\fP|\fB--history\fP
|
||||||
.br
|
.br
|
||||||
@ -279,33 +279,33 @@ Display help text.
|
|||||||
Include historical LVs in the output.
|
Include historical LVs in the output.
|
||||||
(This has no effect unless LVs were removed while
|
(This has no effect unless LVs were removed while
|
||||||
lvm.conf metadata/record_lvs_history was enabled.
|
lvm.conf metadata/record_lvs_history was enabled.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB--ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Allows a command to continue with read-only metadata
|
Allows a command to continue with read-only metadata
|
||||||
operations after locking failures.
|
operations after locking failures.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--logonly\fP
|
\fB--logonly\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress command report and display only log report.
|
Suppress command report and display only log report.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nameprefixes\fP
|
\fB--nameprefixes\fP
|
||||||
.br
|
.br
|
||||||
@ -313,27 +313,27 @@ Display long help text.
|
|||||||
Add an "LVM2_" prefix plus the field name to the output. Useful
|
Add an "LVM2_" prefix plus the field name to the output. Useful
|
||||||
with --noheadings to produce a list of field=value pairs that can
|
with --noheadings to produce a list of field=value pairs that can
|
||||||
be used to set environment variables (for example, in udev rules).
|
be used to set environment variables (for example, in udev rules).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noheadings\fP
|
\fB--noheadings\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress the headings line that is normally the first line of output.
|
Suppress the headings line that is normally the first line of output.
|
||||||
Useful if grepping the output.
|
Useful if grepping the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosuffix\fP
|
\fB--nosuffix\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress the suffix on output sizes. Use with --units
|
Suppress the suffix on output sizes. Use with --units
|
||||||
(except h and H) if processing the output.
|
(except h and H) if processing the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-o\fP|\fB--options\fP \fIString\fP
|
\fB-o\fP|\fB--options\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -355,21 +355,21 @@ Use field name \fBlv_all\fP to view all LV fields,
|
|||||||
\fBpvseg_all\fP all PV segment columns.
|
\fBpvseg_all\fP all PV segment columns.
|
||||||
See the lvm.conf report section for more config options.
|
See the lvm.conf report section for more config options.
|
||||||
See \fBlvmreport\fP(7) for more information about reporting.
|
See \fBlvmreport\fP(7) for more information about reporting.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB--readonly\fP
|
||||||
.br
|
.br
|
||||||
@ -380,7 +380,7 @@ inside metadata used by a virtual machine image while the virtual
|
|||||||
machine is running. No attempt will be made to communicate with the
|
machine is running. No attempt will be made to communicate with the
|
||||||
device-mapper kernel driver, so this option is unable to report whether
|
device-mapper kernel driver, so this option is unable to report whether
|
||||||
or not LVs are actually in use.
|
or not LVs are actually in use.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -391,19 +391,19 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--rows\fP
|
\fB--rows\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Output columns as rows.
|
Output columns as rows.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--segments\fP
|
\fB--segments\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Use default columns that emphasize segment information.
|
Use default columns that emphasize segment information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB--select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -416,13 +416,13 @@ Rows can be displayed with an additional "selected" field (-o selected)
|
|||||||
showing 1 if the row matches the selection and 0 otherwise.
|
showing 1 if the row matches the selection and 0 otherwise.
|
||||||
For non-reporting commands which process LVM entities, the selection is
|
For non-reporting commands which process LVM entities, the selection is
|
||||||
used to choose items to process.
|
used to choose items to process.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--separator\fP \fIString\fP
|
\fB--separator\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
String to use to separate each column. Useful if grepping the output.
|
String to use to separate each column. Useful if grepping the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--shared\fP
|
\fB--shared\fP
|
||||||
.br
|
.br
|
||||||
@ -430,14 +430,14 @@ String to use to separate each column. Useful if grepping the output.
|
|||||||
Report/display shared VGs that would otherwise be skipped when
|
Report/display shared VGs that would otherwise be skipped when
|
||||||
lvmlockd is not being used on the host.
|
lvmlockd is not being used on the host.
|
||||||
See \fBlvmlockd\fP(8) for more information about shared VGs.
|
See \fBlvmlockd\fP(8) for more information about shared VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-O\fP|\fB--sort\fP \fIString\fP
|
\fB-O\fP|\fB--sort\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Comma-separated ordered list of columns to sort by. Replaces the default
|
Comma-separated ordered list of columns to sort by. Replaces the default
|
||||||
selection. Precede any column with \fB-\fP for a reverse sort on that column.
|
selection. Precede any column with \fB-\fP for a reverse sort on that column.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -447,13 +447,13 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unbuffered\fP
|
\fB--unbuffered\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Produce output immediately without sorting or aligning the columns properly.
|
Produce output immediately without sorting or aligning the columns properly.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--units\fP \fBr\fP|\fBR\fP|\fBh\fP|\fBH\fP|\fBb\fP|\fBB\fP|\fBs\fP|\fBS\fP|\fBk\fP|\fBK\fP|\fBm\fP|\fBM\fP|\fBg\fP|\fBG\fP|\fBt\fP|\fBT\fP|\fBp\fP|\fBP\fP|\fBe\fP|\fBE\fP
|
\fB--units\fP \fBr\fP|\fBR\fP|\fBh\fP|\fBH\fP|\fBb\fP|\fBB\fP|\fBs\fP|\fBS\fP|\fBk\fP|\fBK\fP|\fBm\fP|\fBM\fP|\fBg\fP|\fBG\fP|\fBt\fP|\fBT\fP|\fBp\fP|\fBP\fP|\fBe\fP|\fBE\fP
|
||||||
.br
|
.br
|
||||||
@ -464,27 +464,27 @@ human-(r)eadable with '<' rounding indicator,
|
|||||||
(g)igabytes, (t)erabytes, (p)etabytes, (e)xabytes.
|
(g)igabytes, (t)erabytes, (p)etabytes, (e)xabytes.
|
||||||
Capitalise to use multiples of 1000 (S.I.) instead of 1024.
|
Capitalise to use multiples of 1000 (S.I.) instead of 1024.
|
||||||
Custom units can be specified, e.g. --units 3M.
|
Custom units can be specified, e.g. --units 3M.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unquoted\fP
|
\fB--unquoted\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
When used with --nameprefixes, output values in the field=value
|
When used with --nameprefixes, output values in the field=value
|
||||||
pairs are not quoted.
|
pairs are not quoted.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -493,25 +493,25 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fILV\fP
|
\fILV\fP
|
||||||
.br
|
.br
|
||||||
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
||||||
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
||||||
.TP
|
.HP
|
||||||
\fITag\fP
|
\fITag\fP
|
||||||
.br
|
.br
|
||||||
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
||||||
in place of a VG, LV or PV.
|
in place of a VG, LV or PV.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -109,7 +109,7 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB--all\fP
|
||||||
.br
|
.br
|
||||||
@ -117,20 +117,20 @@ Common options for lvm:
|
|||||||
Show information about internal LVs.
|
Show information about internal LVs.
|
||||||
These are components of normal LVs, such as mirrors,
|
These are components of normal LVs, such as mirrors,
|
||||||
which are not independently accessible, e.g. not mountable.
|
which are not independently accessible, e.g. not mountable.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-b\fP|\fB--blockdevice\fP
|
\fB-b\fP|\fB--blockdevice\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
No longer used.
|
No longer used.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -139,14 +139,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -154,7 +154,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -164,60 +164,60 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB--ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Allows a command to continue with read-only metadata
|
Allows a command to continue with read-only metadata
|
||||||
operations after locking failures.
|
operations after locking failures.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB--readonly\fP
|
||||||
.br
|
.br
|
||||||
@ -228,7 +228,7 @@ inside metadata used by a virtual machine image while the virtual
|
|||||||
machine is running. No attempt will be made to communicate with the
|
machine is running. No attempt will be made to communicate with the
|
||||||
device-mapper kernel driver, so this option is unable to report whether
|
device-mapper kernel driver, so this option is unable to report whether
|
||||||
or not LVs are actually in use.
|
or not LVs are actually in use.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -239,7 +239,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -249,20 +249,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -271,11 +271,11 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -150,40 +150,40 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--addtag\fP \fITag\fP
|
\fB--addtag\fP \fITag\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Adds a tag to a PV, VG or LV. This option can be repeated to add
|
Adds a tag to a PV, VG or LV. This option can be repeated to add
|
||||||
multiple tags at once. See \fBlvm\fP(8) for information about tags.
|
multiple tags at once. See \fBlvm\fP(8) for information about tags.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB--all\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Change all visible PVs.
|
Change all visible PVs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-x\fP|\fB--allocatable\fP \fBy\fP|\fBn\fP
|
\fB-x\fP|\fB--allocatable\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Enable or disable allocation of physical extents on this PV.
|
Enable or disable allocation of physical extents on this PV.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies if metadata should be backed up automatically after a change.
|
Specifies if metadata should be backed up automatically after a change.
|
||||||
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -192,21 +192,21 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--deltag\fP \fITag\fP
|
\fB--deltag\fP \fITag\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Deletes a tag from a PV, VG or LV. This option can be repeated to delete
|
Deletes a tag from a PV, VG or LV. This option can be repeated to delete
|
||||||
multiple tags at once. See \fBlvm\fP(8) for information about tags.
|
multiple tags at once. See \fBlvm\fP(8) for information about tags.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -214,7 +214,7 @@ multiple tags at once. See \fBlvm\fP(8) for information about tags.
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -224,40 +224,40 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB--force\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataignore\fP \fBy\fP|\fBn\fP
|
\fB--metadataignore\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -266,27 +266,27 @@ Specifies the metadataignore property of a PV.
|
|||||||
If yes, metadata areas on the PV are ignored, and lvm will
|
If yes, metadata areas on the PV are ignored, and lvm will
|
||||||
not store metadata in the metadata areas of the PV.
|
not store metadata in the metadata areas of the PV.
|
||||||
If no, lvm will store metadata on the PV.
|
If no, lvm will store metadata on the PV.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -297,7 +297,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB--select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -310,7 +310,7 @@ Rows can be displayed with an additional "selected" field (-o selected)
|
|||||||
showing 1 if the row matches the selection and 0 otherwise.
|
showing 1 if the row matches the selection and 0 otherwise.
|
||||||
For non-reporting commands which process LVM entities, the selection is
|
For non-reporting commands which process LVM entities, the selection is
|
||||||
used to choose items to process.
|
used to choose items to process.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -320,26 +320,26 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-u\fP|\fB--uuid\fP
|
\fB-u\fP|\fB--uuid\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Generate new random UUID for specified PVs.
|
Generate new random UUID for specified PVs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -348,7 +348,7 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIPV\fP
|
\fIPV\fP
|
||||||
.br
|
.br
|
||||||
Physical Volume name, a device path under /dev.
|
Physical Volume name, a device path under /dev.
|
||||||
@ -358,17 +358,17 @@ of physical extents (PEs). When the first PE is omitted, it defaults
|
|||||||
to the start of the device, and when the last PE is omitted it defaults to end.
|
to the start of the device, and when the last PE is omitted it defaults to end.
|
||||||
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
||||||
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
||||||
.TP
|
.HP
|
||||||
\fISelect\fP
|
\fISelect\fP
|
||||||
.br
|
.br
|
||||||
Select indicates that a required positional parameter can
|
Select indicates that a required positional parameter can
|
||||||
be omitted if the \fB--select\fP option is used.
|
be omitted if the \fB--select\fP option is used.
|
||||||
No arg appears in this position.
|
No arg appears in this position.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -389,14 +389,14 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -405,14 +405,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -420,7 +420,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -430,14 +430,14 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--dump\fP
|
\fB--dump\fP
|
||||||
.nh
|
.nh
|
||||||
@ -452,19 +452,19 @@ Option values include: \fBheaders\fP to print and check LVM headers,
|
|||||||
\fBmetadata_search\fP to list or save all versions of metadata,
|
\fBmetadata_search\fP to list or save all versions of metadata,
|
||||||
searching standard locations in case of damaged headers,
|
searching standard locations in case of damaged headers,
|
||||||
\fBmetadata_area\fP to save an entire text metadata area to a file.
|
\fBmetadata_area\fP to save an entire text metadata area to a file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--file\fP \fIString\fP
|
\fB-f\fP|\fB--file\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Metadata file to read or write.
|
Metadata file to read or write.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--labelsector\fP \fINumber\fP
|
\fB--labelsector\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -473,33 +473,33 @@ By default the PV is labelled with an LVM2 identifier in its second
|
|||||||
sector (sector 1). This lets you use a different sector near the
|
sector (sector 1). This lets you use a different sector near the
|
||||||
start of the disk (between 0 and 3 inclusive - see LABEL_SCAN_SECTORS
|
start of the disk (between 0 and 3 inclusive - see LABEL_SCAN_SECTORS
|
||||||
in the source). Use with care.
|
in the source). Use with care.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--[pv]metadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP
|
\fB--[pv]metadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP
|
||||||
.br
|
.br
|
||||||
@ -511,26 +511,26 @@ When 1, one copy of the VG metadata is stored at the front of the PV.
|
|||||||
When 0, no copies of the VG metadata are stored on the given PV.
|
When 0, no copies of the VG metadata are stored on the given PV.
|
||||||
This may be useful in VGs containing many PVs (this places limitations
|
This may be useful in VGs containing many PVs (this places limitations
|
||||||
on the ability to use vgsplit later.)
|
on the ability to use vgsplit later.)
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--repair\fP
|
\fB--repair\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Repair headers and metadata on a PV.
|
Repair headers and metadata on a PV.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--repairtype\fP \fBpv_header\fP|\fBmetadata\fP|\fBlabel_header\fP
|
\fB--repairtype\fP \fBpv_header\fP|\fBmetadata\fP|\fBlabel_header\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Repair headers and metadata on a PV. See command description.
|
Repair headers and metadata on a PV. See command description.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--settings\fP \fIString\fP
|
\fB--settings\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -538,7 +538,7 @@ Repair headers and metadata on a PV. See command description.
|
|||||||
Specifies command specific settings in "Key = Value" form.
|
Specifies command specific settings in "Key = Value" form.
|
||||||
Combine multiple settings in quotes, or repeat the settings
|
Combine multiple settings in quotes, or repeat the settings
|
||||||
option for each.
|
option for each.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -548,20 +548,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -570,7 +570,7 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIPV\fP
|
\fIPV\fP
|
||||||
.br
|
.br
|
||||||
Physical Volume name, a device path under /dev.
|
Physical Volume name, a device path under /dev.
|
||||||
@ -580,11 +580,11 @@ of physical extents (PEs). When the first PE is omitted, it defaults
|
|||||||
to the start of the device, and when the last PE is omitted it defaults to end.
|
to the start of the device, and when the last PE is omitted it defaults to end.
|
||||||
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
||||||
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -222,7 +222,7 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--bootloaderareasize\fP \fISize\fP[m|UNIT]
|
\fB--bootloaderareasize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -238,14 +238,14 @@ and --dataalignmentoffset. The bootloader area may be larger than requested
|
|||||||
due to the alignment, but it's never less than the requested size.
|
due to the alignment, but it's never less than the requested size.
|
||||||
To see the bootloader area start and size of
|
To see the bootloader area start and size of
|
||||||
an existing PV use pvs -o +pv_ba_start,pv_ba_size.
|
an existing PV use pvs -o +pv_ba_start,pv_ba_size.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -254,7 +254,7 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--dataalignment\fP \fISize\fP[k|UNIT]
|
\fB--dataalignment\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -264,20 +264,20 @@ To see the location of the first Physical Extent (PE) of an existing PV,
|
|||||||
use pvs -o +pe_start. In addition, it may be shifted by an alignment offset,
|
use pvs -o +pe_start. In addition, it may be shifted by an alignment offset,
|
||||||
see --dataalignmentoffset.
|
see --dataalignmentoffset.
|
||||||
Also specify an appropriate PE size when creating a VG.
|
Also specify an appropriate PE size when creating a VG.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--dataalignmentoffset\fP \fISize\fP[k|UNIT]
|
\fB--dataalignmentoffset\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Shift the start of the PV data area by this additional offset.
|
Shift the start of the PV data area by this additional offset.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -285,7 +285,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -295,27 +295,27 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB--force\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--labelsector\fP \fINumber\fP
|
\fB--labelsector\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -324,20 +324,20 @@ By default the PV is labelled with an LVM2 identifier in its second
|
|||||||
sector (sector 1). This lets you use a different sector near the
|
sector (sector 1). This lets you use a different sector near the
|
||||||
start of the disk (between 0 and 3 inclusive - see LABEL_SCAN_SECTORS
|
start of the disk (between 0 and 3 inclusive - see LABEL_SCAN_SECTORS
|
||||||
in the source). Use with care.
|
in the source). Use with care.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataignore\fP \fBy\fP|\fBn\fP
|
\fB--metadataignore\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -346,14 +346,14 @@ Specifies the metadataignore property of a PV.
|
|||||||
If yes, metadata areas on the PV are ignored, and lvm will
|
If yes, metadata areas on the PV are ignored, and lvm will
|
||||||
not store metadata in the metadata areas of the PV.
|
not store metadata in the metadata areas of the PV.
|
||||||
If no, lvm will store metadata on the PV.
|
If no, lvm will store metadata on the PV.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadatasize\fP \fISize\fP[m|UNIT]
|
\fB--metadatasize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The approximate amount of space used for each VG metadata area.
|
The approximate amount of space used for each VG metadata area.
|
||||||
The size may be rounded.
|
The size may be rounded.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP
|
\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP
|
||||||
.br
|
.br
|
||||||
@ -361,27 +361,27 @@ The size may be rounded.
|
|||||||
Specifies the type of on-disk metadata to use.
|
Specifies the type of on-disk metadata to use.
|
||||||
\fBlvm2\fP (or just \fB2\fP) is the current, standard format.
|
\fBlvm2\fP (or just \fB2\fP) is the current, standard format.
|
||||||
\fBlvm1\fP (or just \fB1\fP) is no longer used.
|
\fBlvm1\fP (or just \fB1\fP) is no longer used.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--norestorefile\fP
|
\fB--norestorefile\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
In conjunction with --uuid, this allows a uuid to be specified
|
In conjunction with --uuid, this allows a uuid to be specified
|
||||||
without also requiring that a backup of the metadata be provided.
|
without also requiring that a backup of the metadata be provided.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--[pv]metadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP
|
\fB--[pv]metadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP
|
||||||
.br
|
.br
|
||||||
@ -393,14 +393,14 @@ When 1, one copy of the VG metadata is stored at the front of the PV.
|
|||||||
When 0, no copies of the VG metadata are stored on the given PV.
|
When 0, no copies of the VG metadata are stored on the given PV.
|
||||||
This may be useful in VGs containing many PVs (this places limitations
|
This may be useful in VGs containing many PVs (this places limitations
|
||||||
on the ability to use vgsplit later.)
|
on the ability to use vgsplit later.)
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -411,7 +411,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--restorefile\fP \fIString\fP
|
\fB--restorefile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -423,14 +423,14 @@ with the contents of the file, i.e. the physical extents will be in
|
|||||||
the same place and not be overwritten by new metadata. This provides
|
the same place and not be overwritten by new metadata. This provides
|
||||||
a mechanism to upgrade the metadata format or to add/remove metadata
|
a mechanism to upgrade the metadata format or to add/remove metadata
|
||||||
areas. Use with care.
|
areas. Use with care.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--setphysicalvolumesize\fP \fISize\fP[m|UNIT]
|
\fB--setphysicalvolumesize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Overrides the automatically detected size of the PV.
|
Overrides the automatically detected size of the PV.
|
||||||
Use with care, or prior to reducing the physical size of the device.
|
Use with care, or prior to reducing the physical size of the device.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -440,7 +440,7 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-u\fP|\fB--uuid\fP \fIString\fP
|
\fB-u\fP|\fB--uuid\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -453,20 +453,20 @@ onto a replacement device; see \fBvgcfgrestore\fP(8). As such, use of
|
|||||||
All PVs must have unique UUIDs, and LVM will prevent certain operations
|
All PVs must have unique UUIDs, and LVM will prevent certain operations
|
||||||
if multiple devices are seen with the same UUID.
|
if multiple devices are seen with the same UUID.
|
||||||
See \fBvgimportclone\fP(8) for more information.
|
See \fBvgimportclone\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -474,7 +474,7 @@ Display version information.
|
|||||||
Do not prompt for confirmation interactively but always assume the
|
Do not prompt for confirmation interactively but always assume the
|
||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-Z\fP|\fB--zero\fP \fBy\fP|\fBn\fP
|
\fB-Z\fP|\fB--zero\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -483,7 +483,7 @@ Controls if the first 4 sectors (2048 bytes) of the device are wiped.
|
|||||||
The default is to wipe these sectors unless either or both of
|
The default is to wipe these sectors unless either or both of
|
||||||
--restorefile or --uuid are specified.
|
--restorefile or --uuid are specified.
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIPV\fP
|
\fIPV\fP
|
||||||
.br
|
.br
|
||||||
Physical Volume name, a device path under /dev.
|
Physical Volume name, a device path under /dev.
|
||||||
@ -493,11 +493,11 @@ of physical extents (PEs). When the first PE is omitted, it defaults
|
|||||||
to the start of the device, and when the last PE is omitted it defaults to end.
|
to the start of the device, and when the last PE is omitted it defaults to end.
|
||||||
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
||||||
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -182,20 +182,20 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--aligned\fP
|
\fB--aligned\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Use with --separator to align the output columns
|
Use with --separator to align the output columns
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB--all\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Show information about devices that have not been initialized
|
Show information about devices that have not been initialized
|
||||||
by LVM, i.e. they are not PVs.
|
by LVM, i.e. they are not PVs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--binary\fP
|
\fB--binary\fP
|
||||||
.br
|
.br
|
||||||
@ -203,28 +203,28 @@ by LVM, i.e. they are not PVs.
|
|||||||
Use binary values "0" or "1" instead of descriptive literal values
|
Use binary values "0" or "1" instead of descriptive literal values
|
||||||
for columns that have exactly two valid values to report (not counting
|
for columns that have exactly two valid values to report (not counting
|
||||||
the "unknown" value which denotes that the value could not be determined).
|
the "unknown" value which denotes that the value could not be determined).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-c\fP|\fB--colon\fP
|
\fB-c\fP|\fB--colon\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Generate colon separated output for easier parsing in scripts or programs.
|
Generate colon separated output for easier parsing in scripts or programs.
|
||||||
Also see \fBvgs\fP(8) which provides considerably more control over the output.
|
Also see \fBvgs\fP(8) which provides considerably more control over the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-C\fP|\fB--columns\fP
|
\fB-C\fP|\fB--columns\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display output in columns, the equivalent of \fBvgs\fP(8).
|
Display output in columns, the equivalent of \fBvgs\fP(8).
|
||||||
Options listed are the same as options given in \fBvgs\fP(8).
|
Options listed are the same as options given in \fBvgs\fP(8).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -233,20 +233,20 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--configreport\fP \fBlog\fP|\fBvg\fP|\fBlv\fP|\fBpv\fP|\fBpvseg\fP|\fBseg\fP
|
\fB--configreport\fP \fBlog\fP|\fBvg\fP|\fBlv\fP|\fBpv\fP|\fBpvseg\fP|\fBseg\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
See \fBlvmreport\fP(7).
|
See \fBlvmreport\fP(7).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -254,7 +254,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -264,79 +264,79 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--foreign\fP
|
\fB--foreign\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Report/display foreign VGs that would otherwise be skipped.
|
Report/display foreign VGs that would otherwise be skipped.
|
||||||
See \fBlvmsystemid\fP(7) for more information about foreign VGs.
|
See \fBlvmsystemid\fP(7) for more information about foreign VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB--ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Allows a command to continue with read-only metadata
|
Allows a command to continue with read-only metadata
|
||||||
operations after locking failures.
|
operations after locking failures.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--logonly\fP
|
\fB--logonly\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress command report and display only log report.
|
Suppress command report and display only log report.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-m\fP|\fB--maps\fP
|
\fB-m\fP|\fB--maps\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display the mapping of physical extents to LVs and logical extents.
|
Display the mapping of physical extents to LVs and logical extents.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noheadings\fP
|
\fB--noheadings\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress the headings line that is normally the first line of output.
|
Suppress the headings line that is normally the first line of output.
|
||||||
Useful if grepping the output.
|
Useful if grepping the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosuffix\fP
|
\fB--nosuffix\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress the suffix on output sizes. Use with --units
|
Suppress the suffix on output sizes. Use with --units
|
||||||
(except h and H) if processing the output.
|
(except h and H) if processing the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-o\fP|\fB--options\fP \fIString\fP
|
\fB-o\fP|\fB--options\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -358,21 +358,21 @@ Use field name \fBlv_all\fP to view all LV fields,
|
|||||||
\fBpvseg_all\fP all PV segment columns.
|
\fBpvseg_all\fP all PV segment columns.
|
||||||
See the lvm.conf report section for more config options.
|
See the lvm.conf report section for more config options.
|
||||||
See \fBlvmreport\fP(7) for more information about reporting.
|
See \fBlvmreport\fP(7) for more information about reporting.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB--readonly\fP
|
||||||
.br
|
.br
|
||||||
@ -383,7 +383,7 @@ inside metadata used by a virtual machine image while the virtual
|
|||||||
machine is running. No attempt will be made to communicate with the
|
machine is running. No attempt will be made to communicate with the
|
||||||
device-mapper kernel driver, so this option is unable to report whether
|
device-mapper kernel driver, so this option is unable to report whether
|
||||||
or not LVs are actually in use.
|
or not LVs are actually in use.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -394,7 +394,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB--select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -407,13 +407,13 @@ Rows can be displayed with an additional "selected" field (-o selected)
|
|||||||
showing 1 if the row matches the selection and 0 otherwise.
|
showing 1 if the row matches the selection and 0 otherwise.
|
||||||
For non-reporting commands which process LVM entities, the selection is
|
For non-reporting commands which process LVM entities, the selection is
|
||||||
used to choose items to process.
|
used to choose items to process.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--separator\fP \fIString\fP
|
\fB--separator\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
String to use to separate each column. Useful if grepping the output.
|
String to use to separate each column. Useful if grepping the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--shared\fP
|
\fB--shared\fP
|
||||||
.br
|
.br
|
||||||
@ -421,20 +421,20 @@ String to use to separate each column. Useful if grepping the output.
|
|||||||
Report/display shared VGs that would otherwise be skipped when
|
Report/display shared VGs that would otherwise be skipped when
|
||||||
lvmlockd is not being used on the host.
|
lvmlockd is not being used on the host.
|
||||||
See \fBlvmlockd\fP(8) for more information about shared VGs.
|
See \fBlvmlockd\fP(8) for more information about shared VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-s\fP|\fB--short\fP
|
\fB-s\fP|\fB--short\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Only display the size of the given PVs.
|
Only display the size of the given PVs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-O\fP|\fB--sort\fP \fIString\fP
|
\fB-O\fP|\fB--sort\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Comma-separated ordered list of columns to sort by. Replaces the default
|
Comma-separated ordered list of columns to sort by. Replaces the default
|
||||||
selection. Precede any column with \fB-\fP for a reverse sort on that column.
|
selection. Precede any column with \fB-\fP for a reverse sort on that column.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -444,13 +444,13 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unbuffered\fP
|
\fB--unbuffered\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Produce output immediately without sorting or aligning the columns properly.
|
Produce output immediately without sorting or aligning the columns properly.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--units\fP \fBr\fP|\fBR\fP|\fBh\fP|\fBH\fP|\fBb\fP|\fBB\fP|\fBs\fP|\fBS\fP|\fBk\fP|\fBK\fP|\fBm\fP|\fBM\fP|\fBg\fP|\fBG\fP|\fBt\fP|\fBT\fP|\fBp\fP|\fBP\fP|\fBe\fP|\fBE\fP
|
\fB--units\fP \fBr\fP|\fBR\fP|\fBh\fP|\fBH\fP|\fBb\fP|\fBB\fP|\fBs\fP|\fBS\fP|\fBk\fP|\fBK\fP|\fBm\fP|\fBM\fP|\fBg\fP|\fBG\fP|\fBt\fP|\fBT\fP|\fBp\fP|\fBP\fP|\fBe\fP|\fBE\fP
|
||||||
.br
|
.br
|
||||||
@ -461,20 +461,20 @@ human-(r)eadable with '<' rounding indicator,
|
|||||||
(g)igabytes, (t)erabytes, (p)etabytes, (e)xabytes.
|
(g)igabytes, (t)erabytes, (p)etabytes, (e)xabytes.
|
||||||
Capitalise to use multiples of 1000 (S.I.) instead of 1024.
|
Capitalise to use multiples of 1000 (S.I.) instead of 1024.
|
||||||
Custom units can be specified, e.g. --units 3M.
|
Custom units can be specified, e.g. --units 3M.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -483,7 +483,7 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIPV\fP
|
\fIPV\fP
|
||||||
.br
|
.br
|
||||||
Physical Volume name, a device path under /dev.
|
Physical Volume name, a device path under /dev.
|
||||||
@ -493,16 +493,16 @@ of physical extents (PEs). When the first PE is omitted, it defaults
|
|||||||
to the start of the device, and when the last PE is omitted it defaults to end.
|
to the start of the device, and when the last PE is omitted it defaults to end.
|
||||||
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
||||||
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
||||||
.TP
|
.HP
|
||||||
\fITag\fP
|
\fITag\fP
|
||||||
.br
|
.br
|
||||||
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
||||||
in place of a VG, LV or PV.
|
in place of a VG, LV or PV.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -161,7 +161,7 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--abort\fP
|
\fB--abort\fP
|
||||||
.br
|
.br
|
||||||
@ -170,7 +170,7 @@ Abort any pvmove operations in progress. If a pvmove was started
|
|||||||
with the --atomic option, then all LVs will remain on the source PV.
|
with the --atomic option, then all LVs will remain on the source PV.
|
||||||
Otherwise, segments that have been moved will remain on the
|
Otherwise, segments that have been moved will remain on the
|
||||||
destination PV, while unmoved segments will remain on the source PV.
|
destination PV, while unmoved segments will remain on the source PV.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--alloc\fP
|
\fB--alloc\fP
|
||||||
.nh
|
.nh
|
||||||
@ -194,21 +194,21 @@ e.g. by placing two stripes on the same PV.
|
|||||||
Optional positional PV args on the command line can also be used to limit
|
Optional positional PV args on the command line can also be used to limit
|
||||||
which PVs the command will use for allocation.
|
which PVs the command will use for allocation.
|
||||||
See \fBlvm\fP(8) for more information about allocation.
|
See \fBlvm\fP(8) for more information about allocation.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--atomic\fP
|
\fB--atomic\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Makes a pvmove operation atomic, ensuring that all affected LVs are
|
Makes a pvmove operation atomic, ensuring that all affected LVs are
|
||||||
moved to the destination PV, or none are if the operation is aborted.
|
moved to the destination PV, or none are if the operation is aborted.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies if metadata should be backed up automatically after a change.
|
Specifies if metadata should be backed up automatically after a change.
|
||||||
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-b\fP|\fB--background\fP
|
\fB-b\fP|\fB--background\fP
|
||||||
.br
|
.br
|
||||||
@ -216,14 +216,14 @@ Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information
|
|||||||
If the operation requires polling, this option causes the command to
|
If the operation requires polling, this option causes the command to
|
||||||
return before the operation is complete, and polling is done in the
|
return before the operation is complete, and polling is done in the
|
||||||
background.
|
background.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -232,14 +232,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -247,7 +247,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -257,51 +257,51 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-i\fP|\fB--interval\fP \fINumber\fP
|
\fB-i\fP|\fB--interval\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Report progress at regular intervals.
|
Report progress at regular intervals.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-n\fP|\fB--name\fP \fIString\fP
|
\fB-n\fP|\fB--name\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Move only the extents belonging to the named LV.
|
Move only the extents belonging to the named LV.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
@ -310,21 +310,21 @@ Disables udev synchronisation. The process will not wait for notification
|
|||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -335,7 +335,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -345,20 +345,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -367,7 +367,7 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIPV\fP
|
\fIPV\fP
|
||||||
.br
|
.br
|
||||||
Physical Volume name, a device path under /dev.
|
Physical Volume name, a device path under /dev.
|
||||||
@ -377,11 +377,11 @@ of physical extents (PEs). When the first PE is omitted, it defaults
|
|||||||
to the start of the device, and when the last PE is omitted it defaults to end.
|
to the start of the device, and when the last PE is omitted it defaults to end.
|
||||||
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
||||||
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -99,14 +99,14 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -115,14 +115,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -130,7 +130,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -140,60 +140,60 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB--force\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -204,7 +204,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -214,20 +214,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -236,7 +236,7 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIPV\fP
|
\fIPV\fP
|
||||||
.br
|
.br
|
||||||
Physical Volume name, a device path under /dev.
|
Physical Volume name, a device path under /dev.
|
||||||
@ -246,11 +246,11 @@ of physical extents (PEs). When the first PE is omitted, it defaults
|
|||||||
to the start of the device, and when the last PE is omitted it defaults to end.
|
to the start of the device, and when the last PE is omitted it defaults to end.
|
||||||
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
||||||
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -94,14 +94,14 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -110,14 +110,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -125,7 +125,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -135,53 +135,53 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -192,14 +192,14 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--setphysicalvolumesize\fP \fISize\fP[m|UNIT]
|
\fB--setphysicalvolumesize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Overrides the automatically detected size of the PV.
|
Overrides the automatically detected size of the PV.
|
||||||
Use with care, or prior to reducing the physical size of the device.
|
Use with care, or prior to reducing the physical size of the device.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -209,20 +209,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -231,7 +231,7 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIPV\fP
|
\fIPV\fP
|
||||||
.br
|
.br
|
||||||
Physical Volume name, a device path under /dev.
|
Physical Volume name, a device path under /dev.
|
||||||
@ -241,11 +241,11 @@ of physical extents (PEs). When the first PE is omitted, it defaults
|
|||||||
to the start of the device, and when the last PE is omitted it defaults to end.
|
to the start of the device, and when the last PE is omitted it defaults to end.
|
||||||
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
||||||
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -178,20 +178,20 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--aligned\fP
|
\fB--aligned\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Use with --separator to align the output columns
|
Use with --separator to align the output columns
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB--all\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Show information about devices that have not been initialized
|
Show information about devices that have not been initialized
|
||||||
by LVM, i.e. they are not PVs.
|
by LVM, i.e. they are not PVs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--binary\fP
|
\fB--binary\fP
|
||||||
.br
|
.br
|
||||||
@ -199,14 +199,14 @@ by LVM, i.e. they are not PVs.
|
|||||||
Use binary values "0" or "1" instead of descriptive literal values
|
Use binary values "0" or "1" instead of descriptive literal values
|
||||||
for columns that have exactly two valid values to report (not counting
|
for columns that have exactly two valid values to report (not counting
|
||||||
the "unknown" value which denotes that the value could not be determined).
|
the "unknown" value which denotes that the value could not be determined).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -215,20 +215,20 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--configreport\fP \fBlog\fP|\fBvg\fP|\fBlv\fP|\fBpv\fP|\fBpvseg\fP|\fBseg\fP
|
\fB--configreport\fP \fBlog\fP|\fBvg\fP|\fBlv\fP|\fBpv\fP|\fBpvseg\fP|\fBseg\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
See \fBlvmreport\fP(7).
|
See \fBlvmreport\fP(7).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -236,7 +236,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -246,53 +246,53 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--foreign\fP
|
\fB--foreign\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Report/display foreign VGs that would otherwise be skipped.
|
Report/display foreign VGs that would otherwise be skipped.
|
||||||
See \fBlvmsystemid\fP(7) for more information about foreign VGs.
|
See \fBlvmsystemid\fP(7) for more information about foreign VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB--ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Allows a command to continue with read-only metadata
|
Allows a command to continue with read-only metadata
|
||||||
operations after locking failures.
|
operations after locking failures.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--logonly\fP
|
\fB--logonly\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress command report and display only log report.
|
Suppress command report and display only log report.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nameprefixes\fP
|
\fB--nameprefixes\fP
|
||||||
.br
|
.br
|
||||||
@ -300,27 +300,27 @@ Display long help text.
|
|||||||
Add an "LVM2_" prefix plus the field name to the output. Useful
|
Add an "LVM2_" prefix plus the field name to the output. Useful
|
||||||
with --noheadings to produce a list of field=value pairs that can
|
with --noheadings to produce a list of field=value pairs that can
|
||||||
be used to set environment variables (for example, in udev rules).
|
be used to set environment variables (for example, in udev rules).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noheadings\fP
|
\fB--noheadings\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress the headings line that is normally the first line of output.
|
Suppress the headings line that is normally the first line of output.
|
||||||
Useful if grepping the output.
|
Useful if grepping the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosuffix\fP
|
\fB--nosuffix\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress the suffix on output sizes. Use with --units
|
Suppress the suffix on output sizes. Use with --units
|
||||||
(except h and H) if processing the output.
|
(except h and H) if processing the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-o\fP|\fB--options\fP \fIString\fP
|
\fB-o\fP|\fB--options\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -342,21 +342,21 @@ Use field name \fBlv_all\fP to view all LV fields,
|
|||||||
\fBpvseg_all\fP all PV segment columns.
|
\fBpvseg_all\fP all PV segment columns.
|
||||||
See the lvm.conf report section for more config options.
|
See the lvm.conf report section for more config options.
|
||||||
See \fBlvmreport\fP(7) for more information about reporting.
|
See \fBlvmreport\fP(7) for more information about reporting.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB--readonly\fP
|
||||||
.br
|
.br
|
||||||
@ -367,7 +367,7 @@ inside metadata used by a virtual machine image while the virtual
|
|||||||
machine is running. No attempt will be made to communicate with the
|
machine is running. No attempt will be made to communicate with the
|
||||||
device-mapper kernel driver, so this option is unable to report whether
|
device-mapper kernel driver, so this option is unable to report whether
|
||||||
or not LVs are actually in use.
|
or not LVs are actually in use.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -378,13 +378,13 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--rows\fP
|
\fB--rows\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Output columns as rows.
|
Output columns as rows.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--segments\fP
|
\fB--segments\fP
|
||||||
.br
|
.br
|
||||||
@ -392,7 +392,7 @@ Output columns as rows.
|
|||||||
Produces one line of output for each contiguous allocation of space on each
|
Produces one line of output for each contiguous allocation of space on each
|
||||||
PV, showing the start (pvseg_start) and length (pvseg_size) in units of
|
PV, showing the start (pvseg_start) and length (pvseg_size) in units of
|
||||||
physical extents.
|
physical extents.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB--select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -405,13 +405,13 @@ Rows can be displayed with an additional "selected" field (-o selected)
|
|||||||
showing 1 if the row matches the selection and 0 otherwise.
|
showing 1 if the row matches the selection and 0 otherwise.
|
||||||
For non-reporting commands which process LVM entities, the selection is
|
For non-reporting commands which process LVM entities, the selection is
|
||||||
used to choose items to process.
|
used to choose items to process.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--separator\fP \fIString\fP
|
\fB--separator\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
String to use to separate each column. Useful if grepping the output.
|
String to use to separate each column. Useful if grepping the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--shared\fP
|
\fB--shared\fP
|
||||||
.br
|
.br
|
||||||
@ -419,14 +419,14 @@ String to use to separate each column. Useful if grepping the output.
|
|||||||
Report/display shared VGs that would otherwise be skipped when
|
Report/display shared VGs that would otherwise be skipped when
|
||||||
lvmlockd is not being used on the host.
|
lvmlockd is not being used on the host.
|
||||||
See \fBlvmlockd\fP(8) for more information about shared VGs.
|
See \fBlvmlockd\fP(8) for more information about shared VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-O\fP|\fB--sort\fP \fIString\fP
|
\fB-O\fP|\fB--sort\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Comma-separated ordered list of columns to sort by. Replaces the default
|
Comma-separated ordered list of columns to sort by. Replaces the default
|
||||||
selection. Precede any column with \fB-\fP for a reverse sort on that column.
|
selection. Precede any column with \fB-\fP for a reverse sort on that column.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -436,13 +436,13 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unbuffered\fP
|
\fB--unbuffered\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Produce output immediately without sorting or aligning the columns properly.
|
Produce output immediately without sorting or aligning the columns properly.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--units\fP \fBr\fP|\fBR\fP|\fBh\fP|\fBH\fP|\fBb\fP|\fBB\fP|\fBs\fP|\fBS\fP|\fBk\fP|\fBK\fP|\fBm\fP|\fBM\fP|\fBg\fP|\fBG\fP|\fBt\fP|\fBT\fP|\fBp\fP|\fBP\fP|\fBe\fP|\fBE\fP
|
\fB--units\fP \fBr\fP|\fBR\fP|\fBh\fP|\fBH\fP|\fBb\fP|\fBB\fP|\fBs\fP|\fBS\fP|\fBk\fP|\fBK\fP|\fBm\fP|\fBM\fP|\fBg\fP|\fBG\fP|\fBt\fP|\fBT\fP|\fBp\fP|\fBP\fP|\fBe\fP|\fBE\fP
|
||||||
.br
|
.br
|
||||||
@ -453,27 +453,27 @@ human-(r)eadable with '<' rounding indicator,
|
|||||||
(g)igabytes, (t)erabytes, (p)etabytes, (e)xabytes.
|
(g)igabytes, (t)erabytes, (p)etabytes, (e)xabytes.
|
||||||
Capitalise to use multiples of 1000 (S.I.) instead of 1024.
|
Capitalise to use multiples of 1000 (S.I.) instead of 1024.
|
||||||
Custom units can be specified, e.g. --units 3M.
|
Custom units can be specified, e.g. --units 3M.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unquoted\fP
|
\fB--unquoted\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
When used with --nameprefixes, output values in the field=value
|
When used with --nameprefixes, output values in the field=value
|
||||||
pairs are not quoted.
|
pairs are not quoted.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -482,7 +482,7 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIPV\fP
|
\fIPV\fP
|
||||||
.br
|
.br
|
||||||
Physical Volume name, a device path under /dev.
|
Physical Volume name, a device path under /dev.
|
||||||
@ -492,16 +492,16 @@ of physical extents (PEs). When the first PE is omitted, it defaults
|
|||||||
to the start of the device, and when the last PE is omitted it defaults to end.
|
to the start of the device, and when the last PE is omitted it defaults to end.
|
||||||
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
||||||
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
||||||
.TP
|
.HP
|
||||||
\fITag\fP
|
\fITag\fP
|
||||||
.br
|
.br
|
||||||
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
||||||
in place of a VG, LV or PV.
|
in place of a VG, LV or PV.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -206,27 +206,27 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--activate\fP \fBy\fP|\fBn\fP|\fBay\fP
|
\fB-a\fP|\fB--activate\fP \fBy\fP|\fBn\fP|\fBay\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Auto-activate LVs in a VG when the PVs scanned have completed the VG.
|
Auto-activate LVs in a VG when the PVs scanned have completed the VG.
|
||||||
(Only \fBay\fP is applicable.)
|
(Only \fBay\fP is applicable.)
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cache\fP
|
\fB--cache\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Scan one or more devices and record that they are online.
|
Scan one or more devices and record that they are online.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -235,14 +235,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -250,7 +250,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -260,64 +260,64 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-e\fP|\fB--exported\fP
|
\fB-e\fP|\fB--exported\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Only show PVs belonging to exported VGs.
|
Only show PVs belonging to exported VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB--ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Allows a command to continue with read-only metadata
|
Allows a command to continue with read-only metadata
|
||||||
operations after locking failures.
|
operations after locking failures.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-j\fP|\fB--major\fP \fINumber\fP
|
\fB-j\fP|\fB--major\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The major number of a device.
|
The major number of a device.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--minor\fP \fINumber\fP
|
\fB--minor\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The minor number of a device.
|
The minor number of a device.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
@ -326,27 +326,27 @@ Disables udev synchronisation. The process will not wait for notification
|
|||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-n\fP|\fB--novolumegroup\fP
|
\fB-n\fP|\fB--novolumegroup\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Only show PVs not belonging to any VG.
|
Only show PVs not belonging to any VG.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -357,13 +357,13 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-s\fP|\fB--short\fP
|
\fB-s\fP|\fB--short\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Short listing format.
|
Short listing format.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -373,26 +373,26 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-u\fP|\fB--uuid\fP
|
\fB-u\fP|\fB--uuid\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Show UUIDs in addition to device names.
|
Show UUIDs in addition to device names.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -401,7 +401,7 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIPV\fP
|
\fIPV\fP
|
||||||
.br
|
.br
|
||||||
Physical Volume name, a device path under /dev.
|
Physical Volume name, a device path under /dev.
|
||||||
@ -411,11 +411,11 @@ of physical extents (PEs). When the first PE is omitted, it defaults
|
|||||||
to the start of the device, and when the last PE is omitted it defaults to end.
|
to the start of the device, and when the last PE is omitted it defaults to end.
|
||||||
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
||||||
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -125,14 +125,14 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -141,14 +141,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -156,7 +156,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -166,14 +166,14 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--file\fP \fIString\fP
|
\fB-f\fP|\fB--file\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -181,60 +181,60 @@ For testing and debugging.
|
|||||||
Write the backup to the named file.
|
Write the backup to the named file.
|
||||||
When backing up more than one VG, the file name is
|
When backing up more than one VG, the file name is
|
||||||
treated as a template, and %s is replaced by the VG name.
|
treated as a template, and %s is replaced by the VG name.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--foreign\fP
|
\fB--foreign\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Report/display foreign VGs that would otherwise be skipped.
|
Report/display foreign VGs that would otherwise be skipped.
|
||||||
See \fBlvmsystemid\fP(7) for more information about foreign VGs.
|
See \fBlvmsystemid\fP(7) for more information about foreign VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB--ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Allows a command to continue with read-only metadata
|
Allows a command to continue with read-only metadata
|
||||||
operations after locking failures.
|
operations after locking failures.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB--readonly\fP
|
||||||
.br
|
.br
|
||||||
@ -245,7 +245,7 @@ inside metadata used by a virtual machine image while the virtual
|
|||||||
machine is running. No attempt will be made to communicate with the
|
machine is running. No attempt will be made to communicate with the
|
||||||
device-mapper kernel driver, so this option is unable to report whether
|
device-mapper kernel driver, so this option is unable to report whether
|
||||||
or not LVs are actually in use.
|
or not LVs are actually in use.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -256,7 +256,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -266,20 +266,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -288,15 +288,15 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -229,14 +229,14 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -245,14 +245,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -260,7 +260,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -270,21 +270,21 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--file\fP \fIString\fP
|
\fB-f\fP|\fB--file\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Read metadata backup from the named file.
|
Read metadata backup from the named file.
|
||||||
Usually this file was created by vgcfgbackup.
|
Usually this file was created by vgcfgbackup.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--force\fP ...
|
\fB--force\fP ...
|
||||||
.br
|
.br
|
||||||
@ -294,33 +294,33 @@ Use with extreme caution. Most changes to thin metadata
|
|||||||
cannot be reverted.
|
cannot be reverted.
|
||||||
You may lose data if you restore metadata that does not match the
|
You may lose data if you restore metadata that does not match the
|
||||||
thin pool kernel metadata precisely.
|
thin pool kernel metadata precisely.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--list\fP
|
\fB-l\fP|\fB--list\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
List metadata backup and archive files pertaining to the VG.
|
List metadata backup and archive files pertaining to the VG.
|
||||||
May be used with --file. Does not restore the VG.
|
May be used with --file. Does not restore the VG.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP
|
\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP
|
||||||
.br
|
.br
|
||||||
@ -328,27 +328,27 @@ Display long help text.
|
|||||||
Specifies the type of on-disk metadata to use.
|
Specifies the type of on-disk metadata to use.
|
||||||
\fBlvm2\fP (or just \fB2\fP) is the current, standard format.
|
\fBlvm2\fP (or just \fB2\fP) is the current, standard format.
|
||||||
\fBlvm1\fP (or just \fB1\fP) is no longer used.
|
\fBlvm1\fP (or just \fB1\fP) is no longer used.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -358,20 +358,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -380,15 +380,15 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -633,7 +633,7 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--activate\fP \fBy\fP|\fBn\fP|\fBay\fP
|
\fB-a\fP|\fB--activate\fP \fBy\fP|\fBn\fP|\fBay\fP
|
||||||
.br
|
.br
|
||||||
@ -662,7 +662,7 @@ If auto_activation_volume_list is defined and empty, no LVs are autoactivated.
|
|||||||
Items included by auto_activation_volume_list will not be autoactivated if
|
Items included by auto_activation_volume_list will not be autoactivated if
|
||||||
the autoactivation property has been disabled.
|
the autoactivation property has been disabled.
|
||||||
See \fBlvmlockd\fP(8) for more information about activation options \fBey\fP and \fBsy\fP for shared VGs.
|
See \fBlvmlockd\fP(8) for more information about activation options \fBey\fP and \fBsy\fP for shared VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--activationmode\fP \fBpartial\fP|\fBdegraded\fP|\fBcomplete\fP
|
\fB--activationmode\fP \fBpartial\fP|\fBdegraded\fP|\fBcomplete\fP
|
||||||
.br
|
.br
|
||||||
@ -677,14 +677,14 @@ and is the most restrictive mode.
|
|||||||
should only be used for recovery or repair.
|
should only be used for recovery or repair.
|
||||||
For default, see lvm.conf/activation_mode.
|
For default, see lvm.conf/activation_mode.
|
||||||
See \fBlvmraid\fP(7) for more information.
|
See \fBlvmraid\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--addtag\fP \fITag\fP
|
\fB--addtag\fP \fITag\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Adds a tag to a PV, VG or LV. This option can be repeated to add
|
Adds a tag to a PV, VG or LV. This option can be repeated to add
|
||||||
multiple tags at once. See \fBlvm\fP(8) for information about tags.
|
multiple tags at once. See \fBlvm\fP(8) for information about tags.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--alloc\fP
|
\fB--alloc\fP
|
||||||
.nh
|
.nh
|
||||||
@ -708,21 +708,21 @@ e.g. by placing two stripes on the same PV.
|
|||||||
Optional positional PV args on the command line can also be used to limit
|
Optional positional PV args on the command line can also be used to limit
|
||||||
which PVs the command will use for allocation.
|
which PVs the command will use for allocation.
|
||||||
See \fBlvm\fP(8) for more information about allocation.
|
See \fBlvm\fP(8) for more information about allocation.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies if metadata should be backed up automatically after a change.
|
Specifies if metadata should be backed up automatically after a change.
|
||||||
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -731,28 +731,28 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--deltag\fP \fITag\fP
|
\fB--deltag\fP \fITag\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Deletes a tag from a PV, VG or LV. This option can be repeated to delete
|
Deletes a tag from a PV, VG or LV. This option can be repeated to delete
|
||||||
multiple tags at once. See \fBlvm\fP(8) for information about tags.
|
multiple tags at once. See \fBlvm\fP(8) for information about tags.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--detachprofile\fP
|
\fB--detachprofile\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Detaches a metadata profile from a VG or LV.
|
Detaches a metadata profile from a VG or LV.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -760,7 +760,7 @@ See \fBlvm.conf\fP(5) for more information about profiles.
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -770,55 +770,55 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB--force\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-K\fP|\fB--ignoreactivationskip\fP
|
\fB-K\fP|\fB--ignoreactivationskip\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Ignore the "activation skip" LV flag during activation
|
Ignore the "activation skip" LV flag during activation
|
||||||
to allow LVs with the flag set to be activated.
|
to allow LVs with the flag set to be activated.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB--ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Allows a command to continue with read-only metadata
|
Allows a command to continue with read-only metadata
|
||||||
operations after locking failures.
|
operations after locking failures.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoremonitoring\fP
|
\fB--ignoremonitoring\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Do not interact with dmeventd unless --monitor is specified.
|
Do not interact with dmeventd unless --monitor is specified.
|
||||||
Do not use this if dmeventd is already monitoring a device.
|
Do not use this if dmeventd is already monitoring a device.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockstart\fP
|
\fB--lockstart\fP
|
||||||
.br
|
.br
|
||||||
@ -826,7 +826,7 @@ See \fBlvmlockd\fP(8) for more information.
|
|||||||
Start the lockspace of a shared VG in lvmlockd.
|
Start the lockspace of a shared VG in lvmlockd.
|
||||||
lvmlockd locks becomes available for the VG, allowing LVM to use the VG.
|
lvmlockd locks becomes available for the VG, allowing LVM to use the VG.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockstop\fP
|
\fB--lockstop\fP
|
||||||
.br
|
.br
|
||||||
@ -834,26 +834,26 @@ See \fBlvmlockd\fP(8) for more information.
|
|||||||
Stop the lockspace of a shared VG in lvmlockd.
|
Stop the lockspace of a shared VG in lvmlockd.
|
||||||
lvmlockd locks become unavailable for the VG, preventing LVM from using the VG.
|
lvmlockd locks become unavailable for the VG, preventing LVM from using the VG.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--locktype\fP \fBsanlock\fP|\fBdlm\fP|\fBnone\fP
|
\fB--locktype\fP \fBsanlock\fP|\fBdlm\fP|\fBnone\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Change the VG lock type to or from a shared lock type used with lvmlockd.
|
Change the VG lock type to or from a shared lock type used with lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--logicalvolume\fP \fINumber\fP
|
\fB-l\fP|\fB--logicalvolume\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Sets the maximum number of LVs allowed in a VG.
|
Sets the maximum number of LVs allowed in a VG.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-p\fP|\fB--maxphysicalvolumes\fP \fINumber\fP
|
\fB-p\fP|\fB--maxphysicalvolumes\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -862,14 +862,14 @@ Sets the maximum number of PVs that can belong to the VG.
|
|||||||
The value 0 removes any limitation.
|
The value 0 removes any limitation.
|
||||||
For large numbers of PVs, also see options --pvmetadatacopies,
|
For large numbers of PVs, also see options --pvmetadatacopies,
|
||||||
and --vgmetadatacopies for improving performance.
|
and --vgmetadatacopies for improving performance.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataprofile\fP \fIString\fP
|
\fB--metadataprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The metadata profile to use for command configuration.
|
The metadata profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--monitor\fP \fBy\fP|\fBn\fP
|
\fB--monitor\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -878,13 +878,13 @@ Start (yes) or stop (no) monitoring an LV with dmeventd.
|
|||||||
dmeventd monitors kernel events for an LV, and performs
|
dmeventd monitors kernel events for an LV, and performs
|
||||||
automated maintenance for the LV in reponse to specific events.
|
automated maintenance for the LV in reponse to specific events.
|
||||||
See \fBdmeventd\fP(8) for more information.
|
See \fBdmeventd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
@ -893,7 +893,7 @@ Disables udev synchronisation. The process will not wait for notification
|
|||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-P\fP|\fB--partial\fP
|
\fB-P\fP|\fB--partial\fP
|
||||||
.br
|
.br
|
||||||
@ -902,7 +902,7 @@ Commands will do their best to activate LVs with missing PV extents.
|
|||||||
Missing extents may be replaced with error or zero segments
|
Missing extents may be replaced with error or zero segments
|
||||||
according to the lvm.conf missing_stripe_filler setting.
|
according to the lvm.conf missing_stripe_filler setting.
|
||||||
Metadata may not be changed with this option.
|
Metadata may not be changed with this option.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-s\fP|\fB--physicalextentsize\fP \fISize\fP[m|UNIT]
|
\fB-s\fP|\fB--physicalextentsize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -916,7 +916,7 @@ without recreating the VG, unless no extents need moving.
|
|||||||
Before increasing the physical extent size, you might need to use lvresize,
|
Before increasing the physical extent size, you might need to use lvresize,
|
||||||
pvresize and/or pvmove so that everything fits. For example, every
|
pvresize and/or pvmove so that everything fits. For example, every
|
||||||
contiguous range of extents used in a LV must start and end on an extent boundary.
|
contiguous range of extents used in a LV must start and end on an extent boundary.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--poll\fP \fBy\fP|\fBn\fP
|
\fB--poll\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -928,14 +928,14 @@ When no, background transformation of an LV will not occur, and the
|
|||||||
transformation will not complete. It may not be appropriate to immediately
|
transformation will not complete. It may not be appropriate to immediately
|
||||||
poll an LV after activation, in which case --poll n can be used to defer
|
poll an LV after activation, in which case --poll n can be used to defer
|
||||||
polling until a later --poll y command.
|
polling until a later --poll y command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--pvmetadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP
|
\fB--pvmetadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP
|
||||||
.br
|
.br
|
||||||
@ -947,14 +947,14 @@ When 1, one copy of the VG metadata is stored at the front of the PV.
|
|||||||
When 0, no copies of the VG metadata are stored on the given PV.
|
When 0, no copies of the VG metadata are stored on the given PV.
|
||||||
This may be useful in VGs containing many PVs (this places limitations
|
This may be useful in VGs containing many PVs (this places limitations
|
||||||
on the ability to use vgsplit later.)
|
on the ability to use vgsplit later.)
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB--readonly\fP
|
||||||
.br
|
.br
|
||||||
@ -965,7 +965,7 @@ inside metadata used by a virtual machine image while the virtual
|
|||||||
machine is running. No attempt will be made to communicate with the
|
machine is running. No attempt will be made to communicate with the
|
||||||
device-mapper kernel driver, so this option is unable to report whether
|
device-mapper kernel driver, so this option is unable to report whether
|
||||||
or not LVs are actually in use.
|
or not LVs are actually in use.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--refresh\fP
|
\fB--refresh\fP
|
||||||
.br
|
.br
|
||||||
@ -974,7 +974,7 @@ If the LV is active, reload its metadata.
|
|||||||
This is not necessary in normal operation, but may be useful
|
This is not necessary in normal operation, but may be useful
|
||||||
if something has gone wrong, or if some form of manual LV
|
if something has gone wrong, or if some form of manual LV
|
||||||
sharing is being used.
|
sharing is being used.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -985,14 +985,14 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-x\fP|\fB--resizeable\fP \fBy\fP|\fBn\fP
|
\fB-x\fP|\fB--resizeable\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Enables or disables the addition or removal of PVs to/from a VG
|
Enables or disables the addition or removal of PVs to/from a VG
|
||||||
(by vgextend/vgreduce).
|
(by vgextend/vgreduce).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB--select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -1005,7 +1005,7 @@ Rows can be displayed with an additional "selected" field (-o selected)
|
|||||||
showing 1 if the row matches the selection and 0 otherwise.
|
showing 1 if the row matches the selection and 0 otherwise.
|
||||||
For non-reporting commands which process LVM entities, the selection is
|
For non-reporting commands which process LVM entities, the selection is
|
||||||
used to choose items to process.
|
used to choose items to process.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--setautoactivation\fP \fBy\fP|\fBn\fP
|
\fB--setautoactivation\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -1019,7 +1019,7 @@ If autoactivation is disabled on a VG, no LVs will be autoactivated
|
|||||||
in that VG, and the LV autoactivation property has no effect.
|
in that VG, and the LV autoactivation property has no effect.
|
||||||
If autoactivation is enabled on a VG, autoactivation can be disabled
|
If autoactivation is enabled on a VG, autoactivation can be disabled
|
||||||
for individual LVs.
|
for individual LVs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--sysinit\fP
|
\fB--sysinit\fP
|
||||||
.br
|
.br
|
||||||
@ -1031,7 +1031,7 @@ acts as a shortcut which selects an appropriate set of options. Currently,
|
|||||||
this is equivalent to using --ignorelockingfailure, --ignoremonitoring,
|
this is equivalent to using --ignorelockingfailure, --ignoremonitoring,
|
||||||
--poll n, and setting env var LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES.
|
--poll n, and setting env var LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES.
|
||||||
vgchange/lvchange skip autoactivation, and defer to pvscan autoactivation.
|
vgchange/lvchange skip autoactivation, and defer to pvscan autoactivation.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--systemid\fP \fIString\fP
|
\fB--systemid\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -1040,7 +1040,7 @@ Changes the system ID of the VG. Using this option requires caution
|
|||||||
because the VG may become foreign to the host running the command,
|
because the VG may become foreign to the host running the command,
|
||||||
leaving the host unable to access it.
|
leaving the host unable to access it.
|
||||||
See \fBlvmsystemid\fP(7) for more information.
|
See \fBlvmsystemid\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -1050,26 +1050,26 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-u\fP|\fB--uuid\fP
|
\fB-u\fP|\fB--uuid\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Generate new random UUID for specified VGs.
|
Generate new random UUID for specified VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--[vg]metadatacopies\fP \fBall\fP|\fBunmanaged\fP|\fINumber\fP
|
\fB--[vg]metadatacopies\fP \fBall\fP|\fBunmanaged\fP|\fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -1087,7 +1087,7 @@ The number can also be replaced with special string values:
|
|||||||
metadataignore flags.
|
metadataignore flags.
|
||||||
\fBall\fP causes LVM to first clear the metadataignore flags on
|
\fBall\fP causes LVM to first clear the metadataignore flags on
|
||||||
all PVs, and then to become unmanaged.
|
all PVs, and then to become unmanaged.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -1096,26 +1096,26 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fITag\fP
|
\fITag\fP
|
||||||
.br
|
.br
|
||||||
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
||||||
in place of a VG, LV or PV.
|
in place of a VG, LV or PV.
|
||||||
.TP
|
.HP
|
||||||
\fISelect\fP
|
\fISelect\fP
|
||||||
.br
|
.br
|
||||||
Select indicates that a required positional parameter can
|
Select indicates that a required positional parameter can
|
||||||
be omitted if the \fB--select\fP option is used.
|
be omitted if the \fB--select\fP option is used.
|
||||||
No arg appears in this position.
|
No arg appears in this position.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -112,14 +112,14 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -128,14 +128,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -143,7 +143,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -153,53 +153,53 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -210,7 +210,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -220,7 +220,7 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--updatemetadata\fP
|
\fB--updatemetadata\fP
|
||||||
.br
|
.br
|
||||||
@ -235,20 +235,20 @@ this option will clear the outdated metadata from the previously
|
|||||||
missing PV. If metadata text is damaged on one PV, using this
|
missing PV. If metadata text is damaged on one PV, using this
|
||||||
option will replace the damaged metadata text. For more severe
|
option will replace the damaged metadata text. For more severe
|
||||||
damage, e.g. with headers, see \fBpvck\fP(8).
|
damage, e.g. with headers, see \fBpvck\fP(8).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -257,20 +257,20 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fITag\fP
|
\fITag\fP
|
||||||
.br
|
.br
|
||||||
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
||||||
in place of a VG, LV or PV.
|
in place of a VG, LV or PV.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -115,7 +115,7 @@ Common options for lvm:
|
|||||||
.RE
|
.RE
|
||||||
|
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--bootloaderareasize\fP \fISize\fP[m|UNIT]
|
\fB--bootloaderareasize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -131,14 +131,14 @@ and --dataalignmentoffset. The bootloader area may be larger than requested
|
|||||||
due to the alignment, but it's never less than the requested size.
|
due to the alignment, but it's never less than the requested size.
|
||||||
To see the bootloader area start and size of
|
To see the bootloader area start and size of
|
||||||
an existing PV use pvs -o +pv_ba_start,pv_ba_size.
|
an existing PV use pvs -o +pv_ba_start,pv_ba_size.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -147,14 +147,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -162,7 +162,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -172,27 +172,27 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB--force\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--labelsector\fP \fINumber\fP
|
\fB--labelsector\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -201,27 +201,27 @@ By default the PV is labelled with an LVM2 identifier in its second
|
|||||||
sector (sector 1). This lets you use a different sector near the
|
sector (sector 1). This lets you use a different sector near the
|
||||||
start of the disk (between 0 and 3 inclusive - see LABEL_SCAN_SECTORS
|
start of the disk (between 0 and 3 inclusive - see LABEL_SCAN_SECTORS
|
||||||
in the source). Use with care.
|
in the source). Use with care.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadatasize\fP \fISize\fP[m|UNIT]
|
\fB--metadatasize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The approximate amount of space used for each VG metadata area.
|
The approximate amount of space used for each VG metadata area.
|
||||||
The size may be rounded.
|
The size may be rounded.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP
|
\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP
|
||||||
.br
|
.br
|
||||||
@ -229,20 +229,20 @@ The size may be rounded.
|
|||||||
Specifies the type of on-disk metadata to use.
|
Specifies the type of on-disk metadata to use.
|
||||||
\fBlvm2\fP (or just \fB2\fP) is the current, standard format.
|
\fBlvm2\fP (or just \fB2\fP) is the current, standard format.
|
||||||
\fBlvm1\fP (or just \fB1\fP) is no longer used.
|
\fBlvm1\fP (or just \fB1\fP) is no longer used.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--pvmetadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP
|
\fB--pvmetadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP
|
||||||
.br
|
.br
|
||||||
@ -254,14 +254,14 @@ When 1, one copy of the VG metadata is stored at the front of the PV.
|
|||||||
When 0, no copies of the VG metadata are stored on the given PV.
|
When 0, no copies of the VG metadata are stored on the given PV.
|
||||||
This may be useful in VGs containing many PVs (this places limitations
|
This may be useful in VGs containing many PVs (this places limitations
|
||||||
on the ability to use vgsplit later.)
|
on the ability to use vgsplit later.)
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -272,7 +272,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -282,20 +282,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -304,15 +304,15 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -186,14 +186,14 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--addtag\fP \fITag\fP
|
\fB--addtag\fP \fITag\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Adds a tag to a PV, VG or LV. This option can be repeated to add
|
Adds a tag to a PV, VG or LV. This option can be repeated to add
|
||||||
multiple tags at once. See \fBlvm\fP(8) for information about tags.
|
multiple tags at once. See \fBlvm\fP(8) for information about tags.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--alloc\fP
|
\fB--alloc\fP
|
||||||
.nh
|
.nh
|
||||||
@ -217,28 +217,28 @@ e.g. by placing two stripes on the same PV.
|
|||||||
Optional positional PV args on the command line can also be used to limit
|
Optional positional PV args on the command line can also be used to limit
|
||||||
which PVs the command will use for allocation.
|
which PVs the command will use for allocation.
|
||||||
See \fBlvm\fP(8) for more information about allocation.
|
See \fBlvm\fP(8) for more information about allocation.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies if metadata should be backed up automatically after a change.
|
Specifies if metadata should be backed up automatically after a change.
|
||||||
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-c\fP|\fB--clustered\fP \fBy\fP|\fBn\fP
|
\fB-c\fP|\fB--clustered\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
This option was specific to clvm and is now replaced by
|
This option was specific to clvm and is now replaced by
|
||||||
the --shared option with \fBlvmlockd\fP(8).
|
the --shared option with \fBlvmlockd\fP(8).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -247,7 +247,7 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--dataalignment\fP \fISize\fP[k|UNIT]
|
\fB--dataalignment\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -257,20 +257,20 @@ To see the location of the first Physical Extent (PE) of an existing PV,
|
|||||||
use pvs -o +pe_start. In addition, it may be shifted by an alignment offset,
|
use pvs -o +pe_start. In addition, it may be shifted by an alignment offset,
|
||||||
see --dataalignmentoffset.
|
see --dataalignmentoffset.
|
||||||
Also specify an appropriate PE size when creating a VG.
|
Also specify an appropriate PE size when creating a VG.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--dataalignmentoffset\fP \fISize\fP[k|UNIT]
|
\fB--dataalignmentoffset\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Shift the start of the PV data area by this additional offset.
|
Shift the start of the PV data area by this additional offset.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -278,7 +278,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -288,27 +288,27 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB--force\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--labelsector\fP \fINumber\fP
|
\fB--labelsector\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -317,33 +317,33 @@ By default the PV is labelled with an LVM2 identifier in its second
|
|||||||
sector (sector 1). This lets you use a different sector near the
|
sector (sector 1). This lets you use a different sector near the
|
||||||
start of the disk (between 0 and 3 inclusive - see LABEL_SCAN_SECTORS
|
start of the disk (between 0 and 3 inclusive - see LABEL_SCAN_SECTORS
|
||||||
in the source). Use with care.
|
in the source). Use with care.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--locktype\fP \fBsanlock\fP|\fBdlm\fP|\fBnone\fP
|
\fB--locktype\fP \fBsanlock\fP|\fBdlm\fP|\fBnone\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specify the VG lock type directly in place of using --shared.
|
Specify the VG lock type directly in place of using --shared.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--maxlogicalvolumes\fP \fINumber\fP
|
\fB-l\fP|\fB--maxlogicalvolumes\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Sets the maximum number of LVs allowed in a VG.
|
Sets the maximum number of LVs allowed in a VG.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-p\fP|\fB--maxphysicalvolumes\fP \fINumber\fP
|
\fB-p\fP|\fB--maxphysicalvolumes\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -352,21 +352,21 @@ Sets the maximum number of PVs that can belong to the VG.
|
|||||||
The value 0 removes any limitation.
|
The value 0 removes any limitation.
|
||||||
For large numbers of PVs, also see options --pvmetadatacopies,
|
For large numbers of PVs, also see options --pvmetadatacopies,
|
||||||
and --vgmetadatacopies for improving performance.
|
and --vgmetadatacopies for improving performance.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataprofile\fP \fIString\fP
|
\fB--metadataprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The metadata profile to use for command configuration.
|
The metadata profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadatasize\fP \fISize\fP[m|UNIT]
|
\fB--metadatasize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The approximate amount of space used for each VG metadata area.
|
The approximate amount of space used for each VG metadata area.
|
||||||
The size may be rounded.
|
The size may be rounded.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP
|
\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP
|
||||||
.br
|
.br
|
||||||
@ -374,13 +374,13 @@ The size may be rounded.
|
|||||||
Specifies the type of on-disk metadata to use.
|
Specifies the type of on-disk metadata to use.
|
||||||
\fBlvm2\fP (or just \fB2\fP) is the current, standard format.
|
\fBlvm2\fP (or just \fB2\fP) is the current, standard format.
|
||||||
\fBlvm1\fP (or just \fB1\fP) is no longer used.
|
\fBlvm1\fP (or just \fB1\fP) is no longer used.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-s\fP|\fB--physicalextentsize\fP \fISize\fP[m|UNIT]
|
\fB-s\fP|\fB--physicalextentsize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -391,14 +391,14 @@ The value must be either a power of 2 of at least 1 sector
|
|||||||
currently used in the VG), or at least 128KiB.
|
currently used in the VG), or at least 128KiB.
|
||||||
Once this value has been set, it is difficult to change
|
Once this value has been set, it is difficult to change
|
||||||
without recreating the VG, unless no extents need moving.
|
without recreating the VG, unless no extents need moving.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--pvmetadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP
|
\fB--pvmetadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP
|
||||||
.br
|
.br
|
||||||
@ -410,14 +410,14 @@ When 1, one copy of the VG metadata is stored at the front of the PV.
|
|||||||
When 0, no copies of the VG metadata are stored on the given PV.
|
When 0, no copies of the VG metadata are stored on the given PV.
|
||||||
This may be useful in VGs containing many PVs (this places limitations
|
This may be useful in VGs containing many PVs (this places limitations
|
||||||
on the ability to use vgsplit later.)
|
on the ability to use vgsplit later.)
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -428,7 +428,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--setautoactivation\fP \fBy\fP|\fBn\fP
|
\fB--setautoactivation\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -442,7 +442,7 @@ If autoactivation is disabled on a VG, no LVs will be autoactivated
|
|||||||
in that VG, and the LV autoactivation property has no effect.
|
in that VG, and the LV autoactivation property has no effect.
|
||||||
If autoactivation is enabled on a VG, autoactivation can be disabled
|
If autoactivation is enabled on a VG, autoactivation can be disabled
|
||||||
for individual LVs.
|
for individual LVs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--shared\fP
|
\fB--shared\fP
|
||||||
.br
|
.br
|
||||||
@ -452,7 +452,7 @@ lvmlockd will select lock type sanlock or dlm depending on which lock
|
|||||||
manager is running. This allows multiple hosts to share a VG on shared
|
manager is running. This allows multiple hosts to share a VG on shared
|
||||||
devices. lvmlockd and a lock manager must be configured and running.
|
devices. lvmlockd and a lock manager must be configured and running.
|
||||||
See \fBlvmlockd\fP(8) for more information about shared VGs.
|
See \fBlvmlockd\fP(8) for more information about shared VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--systemid\fP \fIString\fP
|
\fB--systemid\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -464,7 +464,7 @@ the host creating it. Using this option requires caution because the
|
|||||||
system ID of the new VG may not match the system ID of the host running
|
system ID of the new VG may not match the system ID of the host running
|
||||||
the command, leaving the VG inaccessible to the host.
|
the command, leaving the VG inaccessible to the host.
|
||||||
See \fBlvmsystemid\fP(7) for more information.
|
See \fBlvmsystemid\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -474,20 +474,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--[vg]metadatacopies\fP \fBall\fP|\fBunmanaged\fP|\fINumber\fP
|
\fB--[vg]metadatacopies\fP \fBall\fP|\fBunmanaged\fP|\fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -505,7 +505,7 @@ The number can also be replaced with special string values:
|
|||||||
metadataignore flags.
|
metadataignore flags.
|
||||||
\fBall\fP causes LVM to first clear the metadataignore flags on
|
\fBall\fP causes LVM to first clear the metadataignore flags on
|
||||||
all PVs, and then to become unmanaged.
|
all PVs, and then to become unmanaged.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -513,7 +513,7 @@ all PVs, and then to become unmanaged.
|
|||||||
Do not prompt for confirmation interactively but always assume the
|
Do not prompt for confirmation interactively but always assume the
|
||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-Z\fP|\fB--zero\fP \fBy\fP|\fBn\fP
|
\fB-Z\fP|\fB--zero\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -522,11 +522,11 @@ Controls if the first 4 sectors (2048 bytes) of the device are wiped.
|
|||||||
The default is to wipe these sectors unless either or both of
|
The default is to wipe these sectors unless either or both of
|
||||||
--restorefile or --uuid are specified.
|
--restorefile or --uuid are specified.
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fIPV\fP
|
\fIPV\fP
|
||||||
.br
|
.br
|
||||||
Physical Volume name, a device path under /dev.
|
Physical Volume name, a device path under /dev.
|
||||||
@ -536,11 +536,11 @@ of physical extents (PEs). When the first PE is omitted, it defaults
|
|||||||
to the start of the device, and when the last PE is omitted it defaults to end.
|
to the start of the device, and when the last PE is omitted it defaults to end.
|
||||||
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
||||||
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -177,20 +177,20 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--activevolumegroups\fP
|
\fB-A\fP|\fB--activevolumegroups\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Only select active VGs. The VG is considered active
|
Only select active VGs. The VG is considered active
|
||||||
if at least one of its LVs is active.
|
if at least one of its LVs is active.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--aligned\fP
|
\fB--aligned\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Use with --separator to align the output columns
|
Use with --separator to align the output columns
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--binary\fP
|
\fB--binary\fP
|
||||||
.br
|
.br
|
||||||
@ -198,28 +198,28 @@ Use with --separator to align the output columns
|
|||||||
Use binary values "0" or "1" instead of descriptive literal values
|
Use binary values "0" or "1" instead of descriptive literal values
|
||||||
for columns that have exactly two valid values to report (not counting
|
for columns that have exactly two valid values to report (not counting
|
||||||
the "unknown" value which denotes that the value could not be determined).
|
the "unknown" value which denotes that the value could not be determined).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-c\fP|\fB--colon\fP
|
\fB-c\fP|\fB--colon\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Generate colon separated output for easier parsing in scripts or programs.
|
Generate colon separated output for easier parsing in scripts or programs.
|
||||||
Also see \fBvgs\fP(8) which provides considerably more control over the output.
|
Also see \fBvgs\fP(8) which provides considerably more control over the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-C\fP|\fB--columns\fP
|
\fB-C\fP|\fB--columns\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display output in columns, the equivalent of \fBvgs\fP(8).
|
Display output in columns, the equivalent of \fBvgs\fP(8).
|
||||||
Options listed are the same as options given in \fBvgs\fP(8).
|
Options listed are the same as options given in \fBvgs\fP(8).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -228,20 +228,20 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--configreport\fP \fBlog\fP|\fBvg\fP|\fBlv\fP|\fBpv\fP|\fBpvseg\fP|\fBseg\fP
|
\fB--configreport\fP \fBlog\fP|\fBvg\fP|\fBlv\fP|\fBpv\fP|\fBpvseg\fP|\fBseg\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
See \fBlvmreport\fP(7).
|
See \fBlvmreport\fP(7).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -249,7 +249,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -259,73 +259,73 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--foreign\fP
|
\fB--foreign\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Report/display foreign VGs that would otherwise be skipped.
|
Report/display foreign VGs that would otherwise be skipped.
|
||||||
See \fBlvmsystemid\fP(7) for more information about foreign VGs.
|
See \fBlvmsystemid\fP(7) for more information about foreign VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB--ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Allows a command to continue with read-only metadata
|
Allows a command to continue with read-only metadata
|
||||||
operations after locking failures.
|
operations after locking failures.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--logonly\fP
|
\fB--logonly\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress command report and display only log report.
|
Suppress command report and display only log report.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noheadings\fP
|
\fB--noheadings\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress the headings line that is normally the first line of output.
|
Suppress the headings line that is normally the first line of output.
|
||||||
Useful if grepping the output.
|
Useful if grepping the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosuffix\fP
|
\fB--nosuffix\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress the suffix on output sizes. Use with --units
|
Suppress the suffix on output sizes. Use with --units
|
||||||
(except h and H) if processing the output.
|
(except h and H) if processing the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-o\fP|\fB--options\fP \fIString\fP
|
\fB-o\fP|\fB--options\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -347,21 +347,21 @@ Use field name \fBlv_all\fP to view all LV fields,
|
|||||||
\fBpvseg_all\fP all PV segment columns.
|
\fBpvseg_all\fP all PV segment columns.
|
||||||
See the lvm.conf report section for more config options.
|
See the lvm.conf report section for more config options.
|
||||||
See \fBlvmreport\fP(7) for more information about reporting.
|
See \fBlvmreport\fP(7) for more information about reporting.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB--readonly\fP
|
||||||
.br
|
.br
|
||||||
@ -372,7 +372,7 @@ inside metadata used by a virtual machine image while the virtual
|
|||||||
machine is running. No attempt will be made to communicate with the
|
machine is running. No attempt will be made to communicate with the
|
||||||
device-mapper kernel driver, so this option is unable to report whether
|
device-mapper kernel driver, so this option is unable to report whether
|
||||||
or not LVs are actually in use.
|
or not LVs are actually in use.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -383,7 +383,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB--select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -396,13 +396,13 @@ Rows can be displayed with an additional "selected" field (-o selected)
|
|||||||
showing 1 if the row matches the selection and 0 otherwise.
|
showing 1 if the row matches the selection and 0 otherwise.
|
||||||
For non-reporting commands which process LVM entities, the selection is
|
For non-reporting commands which process LVM entities, the selection is
|
||||||
used to choose items to process.
|
used to choose items to process.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--separator\fP \fIString\fP
|
\fB--separator\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
String to use to separate each column. Useful if grepping the output.
|
String to use to separate each column. Useful if grepping the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--shared\fP
|
\fB--shared\fP
|
||||||
.br
|
.br
|
||||||
@ -410,20 +410,20 @@ String to use to separate each column. Useful if grepping the output.
|
|||||||
Report/display shared VGs that would otherwise be skipped when
|
Report/display shared VGs that would otherwise be skipped when
|
||||||
lvmlockd is not being used on the host.
|
lvmlockd is not being used on the host.
|
||||||
See \fBlvmlockd\fP(8) for more information about shared VGs.
|
See \fBlvmlockd\fP(8) for more information about shared VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-s\fP|\fB--short\fP
|
\fB-s\fP|\fB--short\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Give a short listing showing the existence of VGs.
|
Give a short listing showing the existence of VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-O\fP|\fB--sort\fP \fIString\fP
|
\fB-O\fP|\fB--sort\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Comma-separated ordered list of columns to sort by. Replaces the default
|
Comma-separated ordered list of columns to sort by. Replaces the default
|
||||||
selection. Precede any column with \fB-\fP for a reverse sort on that column.
|
selection. Precede any column with \fB-\fP for a reverse sort on that column.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -433,13 +433,13 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unbuffered\fP
|
\fB--unbuffered\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Produce output immediately without sorting or aligning the columns properly.
|
Produce output immediately without sorting or aligning the columns properly.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--units\fP \fBr\fP|\fBR\fP|\fBh\fP|\fBH\fP|\fBb\fP|\fBB\fP|\fBs\fP|\fBS\fP|\fBk\fP|\fBK\fP|\fBm\fP|\fBM\fP|\fBg\fP|\fBG\fP|\fBt\fP|\fBT\fP|\fBp\fP|\fBP\fP|\fBe\fP|\fBE\fP
|
\fB--units\fP \fBr\fP|\fBR\fP|\fBh\fP|\fBH\fP|\fBb\fP|\fBB\fP|\fBs\fP|\fBS\fP|\fBk\fP|\fBK\fP|\fBm\fP|\fBM\fP|\fBg\fP|\fBG\fP|\fBt\fP|\fBT\fP|\fBp\fP|\fBP\fP|\fBe\fP|\fBE\fP
|
||||||
.br
|
.br
|
||||||
@ -450,20 +450,20 @@ human-(r)eadable with '<' rounding indicator,
|
|||||||
(g)igabytes, (t)erabytes, (p)etabytes, (e)xabytes.
|
(g)igabytes, (t)erabytes, (p)etabytes, (e)xabytes.
|
||||||
Capitalise to use multiples of 1000 (S.I.) instead of 1024.
|
Capitalise to use multiples of 1000 (S.I.) instead of 1024.
|
||||||
Custom units can be specified, e.g. --units 3M.
|
Custom units can be specified, e.g. --units 3M.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -472,20 +472,20 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fITag\fP
|
\fITag\fP
|
||||||
.br
|
.br
|
||||||
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
||||||
in place of a VG, LV or PV.
|
in place of a VG, LV or PV.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -128,19 +128,19 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB--all\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -149,14 +149,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -164,7 +164,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -174,53 +174,53 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -231,7 +231,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB--select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -244,7 +244,7 @@ Rows can be displayed with an additional "selected" field (-o selected)
|
|||||||
showing 1 if the row matches the selection and 0 otherwise.
|
showing 1 if the row matches the selection and 0 otherwise.
|
||||||
For non-reporting commands which process LVM entities, the selection is
|
For non-reporting commands which process LVM entities, the selection is
|
||||||
used to choose items to process.
|
used to choose items to process.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -254,20 +254,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -276,26 +276,26 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fITag\fP
|
\fITag\fP
|
||||||
.br
|
.br
|
||||||
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
||||||
in place of a VG, LV or PV.
|
in place of a VG, LV or PV.
|
||||||
.TP
|
.HP
|
||||||
\fISelect\fP
|
\fISelect\fP
|
||||||
.br
|
.br
|
||||||
Select indicates that a required positional parameter can
|
Select indicates that a required positional parameter can
|
||||||
be omitted if the \fB--select\fP option is used.
|
be omitted if the \fB--select\fP option is used.
|
||||||
No arg appears in this position.
|
No arg appears in this position.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -143,21 +143,21 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies if metadata should be backed up automatically after a change.
|
Specifies if metadata should be backed up automatically after a change.
|
||||||
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -166,7 +166,7 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--dataalignment\fP \fISize\fP[k|UNIT]
|
\fB--dataalignment\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
@ -176,20 +176,20 @@ To see the location of the first Physical Extent (PE) of an existing PV,
|
|||||||
use pvs -o +pe_start. In addition, it may be shifted by an alignment offset,
|
use pvs -o +pe_start. In addition, it may be shifted by an alignment offset,
|
||||||
see --dataalignmentoffset.
|
see --dataalignmentoffset.
|
||||||
Also specify an appropriate PE size when creating a VG.
|
Also specify an appropriate PE size when creating a VG.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--dataalignmentoffset\fP \fISize\fP[k|UNIT]
|
\fB--dataalignmentoffset\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Shift the start of the PV data area by this additional offset.
|
Shift the start of the PV data area by this additional offset.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -197,7 +197,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -207,27 +207,27 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB--force\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--labelsector\fP \fINumber\fP
|
\fB--labelsector\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -236,20 +236,20 @@ By default the PV is labelled with an LVM2 identifier in its second
|
|||||||
sector (sector 1). This lets you use a different sector near the
|
sector (sector 1). This lets you use a different sector near the
|
||||||
start of the disk (between 0 and 3 inclusive - see LABEL_SCAN_SECTORS
|
start of the disk (between 0 and 3 inclusive - see LABEL_SCAN_SECTORS
|
||||||
in the source). Use with care.
|
in the source). Use with care.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataignore\fP \fBy\fP|\fBn\fP
|
\fB--metadataignore\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -258,14 +258,14 @@ Specifies the metadataignore property of a PV.
|
|||||||
If yes, metadata areas on the PV are ignored, and lvm will
|
If yes, metadata areas on the PV are ignored, and lvm will
|
||||||
not store metadata in the metadata areas of the PV.
|
not store metadata in the metadata areas of the PV.
|
||||||
If no, lvm will store metadata on the PV.
|
If no, lvm will store metadata on the PV.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadatasize\fP \fISize\fP[m|UNIT]
|
\fB--metadatasize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The approximate amount of space used for each VG metadata area.
|
The approximate amount of space used for each VG metadata area.
|
||||||
The size may be rounded.
|
The size may be rounded.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP
|
\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP
|
||||||
.br
|
.br
|
||||||
@ -273,20 +273,20 @@ The size may be rounded.
|
|||||||
Specifies the type of on-disk metadata to use.
|
Specifies the type of on-disk metadata to use.
|
||||||
\fBlvm2\fP (or just \fB2\fP) is the current, standard format.
|
\fBlvm2\fP (or just \fB2\fP) is the current, standard format.
|
||||||
\fBlvm1\fP (or just \fB1\fP) is no longer used.
|
\fBlvm1\fP (or just \fB1\fP) is no longer used.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--pvmetadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP
|
\fB--pvmetadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP
|
||||||
.br
|
.br
|
||||||
@ -298,14 +298,14 @@ When 1, one copy of the VG metadata is stored at the front of the PV.
|
|||||||
When 0, no copies of the VG metadata are stored on the given PV.
|
When 0, no copies of the VG metadata are stored on the given PV.
|
||||||
This may be useful in VGs containing many PVs (this places limitations
|
This may be useful in VGs containing many PVs (this places limitations
|
||||||
on the ability to use vgsplit later.)
|
on the ability to use vgsplit later.)
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -316,14 +316,14 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--restoremissing\fP
|
\fB--restoremissing\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Add a PV back into a VG after the PV was missing and then returned,
|
Add a PV back into a VG after the PV was missing and then returned,
|
||||||
e.g. due to a transient failure. The PV is not reinitialized.
|
e.g. due to a transient failure. The PV is not reinitialized.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -333,20 +333,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -354,7 +354,7 @@ Display version information.
|
|||||||
Do not prompt for confirmation interactively but always assume the
|
Do not prompt for confirmation interactively but always assume the
|
||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-Z\fP|\fB--zero\fP \fBy\fP|\fBn\fP
|
\fB-Z\fP|\fB--zero\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
@ -363,11 +363,11 @@ Controls if the first 4 sectors (2048 bytes) of the device are wiped.
|
|||||||
The default is to wipe these sectors unless either or both of
|
The default is to wipe these sectors unless either or both of
|
||||||
--restorefile or --uuid are specified.
|
--restorefile or --uuid are specified.
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fIPV\fP
|
\fIPV\fP
|
||||||
.br
|
.br
|
||||||
Physical Volume name, a device path under /dev.
|
Physical Volume name, a device path under /dev.
|
||||||
@ -377,11 +377,11 @@ of physical extents (PEs). When the first PE is omitted, it defaults
|
|||||||
to the start of the device, and when the last PE is omitted it defaults to end.
|
to the start of the device, and when the last PE is omitted it defaults to end.
|
||||||
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
||||||
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -118,20 +118,20 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB--all\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Import all visible VGs.
|
Import all visible VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -140,14 +140,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -155,7 +155,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -165,60 +165,60 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB--force\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -229,7 +229,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB--select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -242,7 +242,7 @@ Rows can be displayed with an additional "selected" field (-o selected)
|
|||||||
showing 1 if the row matches the selection and 0 otherwise.
|
showing 1 if the row matches the selection and 0 otherwise.
|
||||||
For non-reporting commands which process LVM entities, the selection is
|
For non-reporting commands which process LVM entities, the selection is
|
||||||
used to choose items to process.
|
used to choose items to process.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -252,20 +252,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -274,26 +274,26 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fITag\fP
|
\fITag\fP
|
||||||
.br
|
.br
|
||||||
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
||||||
in place of a VG, LV or PV.
|
in place of a VG, LV or PV.
|
||||||
.TP
|
.HP
|
||||||
\fISelect\fP
|
\fISelect\fP
|
||||||
.br
|
.br
|
||||||
Select indicates that a required positional parameter can
|
Select indicates that a required positional parameter can
|
||||||
be omitted if the \fB--select\fP option is used.
|
be omitted if the \fB--select\fP option is used.
|
||||||
No arg appears in this position.
|
No arg appears in this position.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -102,7 +102,7 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-n\fP|\fB--basevgname\fP \fIString\fP
|
\fB-n\fP|\fB--basevgname\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -112,14 +112,14 @@ numeric suffix to avoid duplicate naming (e.g. 'test_vg' would be renamed
|
|||||||
to 'test_vg1'). This option will override the base VG name that is
|
to 'test_vg1'). This option will override the base VG name that is
|
||||||
used for all VG renames. If a VG already exists with the specified name
|
used for all VG renames. If a VG already exists with the specified name
|
||||||
a numeric suffix will be added (like the previous example) to make it unique.
|
a numeric suffix will be added (like the previous example) to make it unique.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -128,14 +128,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -143,7 +143,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -153,66 +153,66 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-i\fP|\fB--import\fP
|
\fB-i\fP|\fB--import\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Import exported VGs. Otherwise VGs that have been exported
|
Import exported VGs. Otherwise VGs that have been exported
|
||||||
will not be changed (nor will their associated PVs).
|
will not be changed (nor will their associated PVs).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--importdevices\fP
|
\fB--importdevices\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Add devices to the devices file.
|
Add devices to the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -222,20 +222,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -244,7 +244,7 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIPV\fP
|
\fIPV\fP
|
||||||
.br
|
.br
|
||||||
Physical Volume name, a device path under /dev.
|
Physical Volume name, a device path under /dev.
|
||||||
@ -254,11 +254,11 @@ of physical extents (PEs). When the first PE is omitted, it defaults
|
|||||||
to the start of the device, and when the last PE is omitted it defaults to end.
|
to the start of the device, and when the last PE is omitted it defaults to end.
|
||||||
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
||||||
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -124,19 +124,19 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB--all\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -145,14 +145,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -160,7 +160,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -170,60 +170,60 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--foreign\fP
|
\fB--foreign\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Report/display foreign VGs that would otherwise be skipped.
|
Report/display foreign VGs that would otherwise be skipped.
|
||||||
See \fBlvmsystemid\fP(7) for more information about foreign VGs.
|
See \fBlvmsystemid\fP(7) for more information about foreign VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -234,7 +234,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB--select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -247,7 +247,7 @@ Rows can be displayed with an additional "selected" field (-o selected)
|
|||||||
showing 1 if the row matches the selection and 0 otherwise.
|
showing 1 if the row matches the selection and 0 otherwise.
|
||||||
For non-reporting commands which process LVM entities, the selection is
|
For non-reporting commands which process LVM entities, the selection is
|
||||||
used to choose items to process.
|
used to choose items to process.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -257,20 +257,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -279,26 +279,26 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fITag\fP
|
\fITag\fP
|
||||||
.br
|
.br
|
||||||
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
||||||
in place of a VG, LV or PV.
|
in place of a VG, LV or PV.
|
||||||
.TP
|
.HP
|
||||||
\fISelect\fP
|
\fISelect\fP
|
||||||
.br
|
.br
|
||||||
Select indicates that a required positional parameter can
|
Select indicates that a required positional parameter can
|
||||||
be omitted if the \fB--select\fP option is used.
|
be omitted if the \fB--select\fP option is used.
|
||||||
No arg appears in this position.
|
No arg appears in this position.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -95,21 +95,21 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies if metadata should be backed up automatically after a change.
|
Specifies if metadata should be backed up automatically after a change.
|
||||||
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -118,14 +118,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -133,7 +133,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -143,59 +143,59 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--list\fP
|
\fB-l\fP|\fB--list\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display merged destination VG like vgdisplay -v.
|
Display merged destination VG like vgdisplay -v.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -205,20 +205,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -227,15 +227,15 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -106,14 +106,14 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -122,14 +122,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -137,7 +137,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -147,60 +147,60 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB--ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Allows a command to continue with read-only metadata
|
Allows a command to continue with read-only metadata
|
||||||
operations after locking failures.
|
operations after locking failures.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--refresh\fP
|
\fB--refresh\fP
|
||||||
.br
|
.br
|
||||||
@ -209,7 +209,7 @@ If the LV is active, reload its metadata.
|
|||||||
This is not necessary in normal operation, but may be useful
|
This is not necessary in normal operation, but may be useful
|
||||||
if something has gone wrong, or if some form of manual LV
|
if something has gone wrong, or if some form of manual LV
|
||||||
sharing is being used.
|
sharing is being used.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -220,7 +220,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -230,20 +230,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -252,25 +252,25 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fILV\fP
|
\fILV\fP
|
||||||
.br
|
.br
|
||||||
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
Logical Volume name. See \fBlvm\fP(8) for valid names.
|
||||||
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
An LV positional arg generally includes the VG name and LV name, e.g. VG/LV.
|
||||||
.TP
|
.HP
|
||||||
\fITag\fP
|
\fITag\fP
|
||||||
.br
|
.br
|
||||||
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
||||||
in place of a VG, LV or PV.
|
in place of a VG, LV or PV.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -219,27 +219,27 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB--all\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Removes all empty PVs if none are named on the command line.
|
Removes all empty PVs if none are named on the command line.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies if metadata should be backed up automatically after a change.
|
Specifies if metadata should be backed up automatically after a change.
|
||||||
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -248,14 +248,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -263,7 +263,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -273,66 +273,66 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB--force\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--mirrorsonly\fP
|
\fB--mirrorsonly\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Only remove missing PVs from mirror LVs.
|
Only remove missing PVs from mirror LVs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--removemissing\fP
|
\fB--removemissing\fP
|
||||||
.br
|
.br
|
||||||
@ -347,7 +347,7 @@ were partly on the missing disks are removed completely, including
|
|||||||
those parts on disks that are still present.
|
those parts on disks that are still present.
|
||||||
If LVs spanned several disks, including ones that are lost, salvaging
|
If LVs spanned several disks, including ones that are lost, salvaging
|
||||||
some data first may be possible by activating LVs in partial mode.
|
some data first may be possible by activating LVs in partial mode.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -358,7 +358,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -368,20 +368,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -390,11 +390,11 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fIPV\fP
|
\fIPV\fP
|
||||||
.br
|
.br
|
||||||
Physical Volume name, a device path under /dev.
|
Physical Volume name, a device path under /dev.
|
||||||
@ -404,11 +404,11 @@ of physical extents (PEs). When the first PE is omitted, it defaults
|
|||||||
to the start of the device, and when the last PE is omitted it defaults to end.
|
to the start of the device, and when the last PE is omitted it defaults to end.
|
||||||
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
||||||
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -109,14 +109,14 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -125,14 +125,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -140,7 +140,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -150,46 +150,46 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB--force\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB--noudevsync\fP
|
||||||
.br
|
.br
|
||||||
@ -198,21 +198,21 @@ Disables udev synchronisation. The process will not wait for notification
|
|||||||
from udev. It will continue irrespective of any possible udev processing
|
from udev. It will continue irrespective of any possible udev processing
|
||||||
in the background. Only use this if udev is not running or has rules that
|
in the background. Only use this if udev is not running or has rules that
|
||||||
ignore the devices LVM creates.
|
ignore the devices LVM creates.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -223,7 +223,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB--select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -236,7 +236,7 @@ Rows can be displayed with an additional "selected" field (-o selected)
|
|||||||
showing 1 if the row matches the selection and 0 otherwise.
|
showing 1 if the row matches the selection and 0 otherwise.
|
||||||
For non-reporting commands which process LVM entities, the selection is
|
For non-reporting commands which process LVM entities, the selection is
|
||||||
used to choose items to process.
|
used to choose items to process.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -246,20 +246,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -268,26 +268,26 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fITag\fP
|
\fITag\fP
|
||||||
.br
|
.br
|
||||||
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
||||||
in place of a VG, LV or PV.
|
in place of a VG, LV or PV.
|
||||||
.TP
|
.HP
|
||||||
\fISelect\fP
|
\fISelect\fP
|
||||||
.br
|
.br
|
||||||
Select indicates that a required positional parameter can
|
Select indicates that a required positional parameter can
|
||||||
be omitted if the \fB--select\fP option is used.
|
be omitted if the \fB--select\fP option is used.
|
||||||
No arg appears in this position.
|
No arg appears in this position.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -122,21 +122,21 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies if metadata should be backed up automatically after a change.
|
Specifies if metadata should be backed up automatically after a change.
|
||||||
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -145,14 +145,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -160,7 +160,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -170,60 +170,60 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB--force\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -234,7 +234,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -244,20 +244,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -266,15 +266,15 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -174,19 +174,19 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--aligned\fP
|
\fB--aligned\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Use with --separator to align the output columns
|
Use with --separator to align the output columns
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB--all\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
List all VGs. Equivalent to not specifying any VGs.
|
List all VGs. Equivalent to not specifying any VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--binary\fP
|
\fB--binary\fP
|
||||||
.br
|
.br
|
||||||
@ -194,14 +194,14 @@ List all VGs. Equivalent to not specifying any VGs.
|
|||||||
Use binary values "0" or "1" instead of descriptive literal values
|
Use binary values "0" or "1" instead of descriptive literal values
|
||||||
for columns that have exactly two valid values to report (not counting
|
for columns that have exactly two valid values to report (not counting
|
||||||
the "unknown" value which denotes that the value could not be determined).
|
the "unknown" value which denotes that the value could not be determined).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -210,20 +210,20 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--configreport\fP \fBlog\fP|\fBvg\fP|\fBlv\fP|\fBpv\fP|\fBpvseg\fP|\fBseg\fP
|
\fB--configreport\fP \fBlog\fP|\fBvg\fP|\fBlv\fP|\fBpv\fP|\fBpvseg\fP|\fBseg\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
See \fBlvmreport\fP(7).
|
See \fBlvmreport\fP(7).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -231,7 +231,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -241,53 +241,53 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--foreign\fP
|
\fB--foreign\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Report/display foreign VGs that would otherwise be skipped.
|
Report/display foreign VGs that would otherwise be skipped.
|
||||||
See \fBlvmsystemid\fP(7) for more information about foreign VGs.
|
See \fBlvmsystemid\fP(7) for more information about foreign VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB--ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Allows a command to continue with read-only metadata
|
Allows a command to continue with read-only metadata
|
||||||
operations after locking failures.
|
operations after locking failures.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--logonly\fP
|
\fB--logonly\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress command report and display only log report.
|
Suppress command report and display only log report.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nameprefixes\fP
|
\fB--nameprefixes\fP
|
||||||
.br
|
.br
|
||||||
@ -295,27 +295,27 @@ Display long help text.
|
|||||||
Add an "LVM2_" prefix plus the field name to the output. Useful
|
Add an "LVM2_" prefix plus the field name to the output. Useful
|
||||||
with --noheadings to produce a list of field=value pairs that can
|
with --noheadings to produce a list of field=value pairs that can
|
||||||
be used to set environment variables (for example, in udev rules).
|
be used to set environment variables (for example, in udev rules).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noheadings\fP
|
\fB--noheadings\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress the headings line that is normally the first line of output.
|
Suppress the headings line that is normally the first line of output.
|
||||||
Useful if grepping the output.
|
Useful if grepping the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosuffix\fP
|
\fB--nosuffix\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress the suffix on output sizes. Use with --units
|
Suppress the suffix on output sizes. Use with --units
|
||||||
(except h and H) if processing the output.
|
(except h and H) if processing the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-o\fP|\fB--options\fP \fIString\fP
|
\fB-o\fP|\fB--options\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -337,21 +337,21 @@ Use field name \fBlv_all\fP to view all LV fields,
|
|||||||
\fBpvseg_all\fP all PV segment columns.
|
\fBpvseg_all\fP all PV segment columns.
|
||||||
See the lvm.conf report section for more config options.
|
See the lvm.conf report section for more config options.
|
||||||
See \fBlvmreport\fP(7) for more information about reporting.
|
See \fBlvmreport\fP(7) for more information about reporting.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB--readonly\fP
|
||||||
.br
|
.br
|
||||||
@ -362,7 +362,7 @@ inside metadata used by a virtual machine image while the virtual
|
|||||||
machine is running. No attempt will be made to communicate with the
|
machine is running. No attempt will be made to communicate with the
|
||||||
device-mapper kernel driver, so this option is unable to report whether
|
device-mapper kernel driver, so this option is unable to report whether
|
||||||
or not LVs are actually in use.
|
or not LVs are actually in use.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -373,13 +373,13 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--rows\fP
|
\fB--rows\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Output columns as rows.
|
Output columns as rows.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB--select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -392,13 +392,13 @@ Rows can be displayed with an additional "selected" field (-o selected)
|
|||||||
showing 1 if the row matches the selection and 0 otherwise.
|
showing 1 if the row matches the selection and 0 otherwise.
|
||||||
For non-reporting commands which process LVM entities, the selection is
|
For non-reporting commands which process LVM entities, the selection is
|
||||||
used to choose items to process.
|
used to choose items to process.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--separator\fP \fIString\fP
|
\fB--separator\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
String to use to separate each column. Useful if grepping the output.
|
String to use to separate each column. Useful if grepping the output.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--shared\fP
|
\fB--shared\fP
|
||||||
.br
|
.br
|
||||||
@ -406,14 +406,14 @@ String to use to separate each column. Useful if grepping the output.
|
|||||||
Report/display shared VGs that would otherwise be skipped when
|
Report/display shared VGs that would otherwise be skipped when
|
||||||
lvmlockd is not being used on the host.
|
lvmlockd is not being used on the host.
|
||||||
See \fBlvmlockd\fP(8) for more information about shared VGs.
|
See \fBlvmlockd\fP(8) for more information about shared VGs.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-O\fP|\fB--sort\fP \fIString\fP
|
\fB-O\fP|\fB--sort\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Comma-separated ordered list of columns to sort by. Replaces the default
|
Comma-separated ordered list of columns to sort by. Replaces the default
|
||||||
selection. Precede any column with \fB-\fP for a reverse sort on that column.
|
selection. Precede any column with \fB-\fP for a reverse sort on that column.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -423,13 +423,13 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unbuffered\fP
|
\fB--unbuffered\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Produce output immediately without sorting or aligning the columns properly.
|
Produce output immediately without sorting or aligning the columns properly.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--units\fP \fBr\fP|\fBR\fP|\fBh\fP|\fBH\fP|\fBb\fP|\fBB\fP|\fBs\fP|\fBS\fP|\fBk\fP|\fBK\fP|\fBm\fP|\fBM\fP|\fBg\fP|\fBG\fP|\fBt\fP|\fBT\fP|\fBp\fP|\fBP\fP|\fBe\fP|\fBE\fP
|
\fB--units\fP \fBr\fP|\fBR\fP|\fBh\fP|\fBH\fP|\fBb\fP|\fBB\fP|\fBs\fP|\fBS\fP|\fBk\fP|\fBK\fP|\fBm\fP|\fBM\fP|\fBg\fP|\fBG\fP|\fBt\fP|\fBT\fP|\fBp\fP|\fBP\fP|\fBe\fP|\fBE\fP
|
||||||
.br
|
.br
|
||||||
@ -440,27 +440,27 @@ human-(r)eadable with '<' rounding indicator,
|
|||||||
(g)igabytes, (t)erabytes, (p)etabytes, (e)xabytes.
|
(g)igabytes, (t)erabytes, (p)etabytes, (e)xabytes.
|
||||||
Capitalise to use multiples of 1000 (S.I.) instead of 1024.
|
Capitalise to use multiples of 1000 (S.I.) instead of 1024.
|
||||||
Custom units can be specified, e.g. --units 3M.
|
Custom units can be specified, e.g. --units 3M.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unquoted\fP
|
\fB--unquoted\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
When used with --nameprefixes, output values in the field=value
|
When used with --nameprefixes, output values in the field=value
|
||||||
pairs are not quoted.
|
pairs are not quoted.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -469,20 +469,20 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fITag\fP
|
\fITag\fP
|
||||||
.br
|
.br
|
||||||
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
Tag name. See \fBlvm\fP(8) for information about tag names and using tags
|
||||||
in place of a VG, LV or PV.
|
in place of a VG, LV or PV.
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -101,14 +101,14 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -117,14 +117,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -132,7 +132,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -142,53 +142,53 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB--ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Allows a command to continue with read-only metadata
|
Allows a command to continue with read-only metadata
|
||||||
operations after locking failures.
|
operations after locking failures.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--mknodes\fP
|
\fB--mknodes\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Also checks the LVM special files in /dev that are needed for active
|
Also checks the LVM special files in /dev that are needed for active
|
||||||
LVs and creates any missing ones and removes unused ones.
|
LVs and creates any missing ones and removes unused ones.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--notifydbus\fP
|
\fB--notifydbus\fP
|
||||||
.br
|
.br
|
||||||
@ -196,21 +196,21 @@ Disable locking.
|
|||||||
Send a notification to D-Bus. The command will exit with an error
|
Send a notification to D-Bus. The command will exit with an error
|
||||||
if LVM is not built with support for D-Bus notification, or if the
|
if LVM is not built with support for D-Bus notification, or if the
|
||||||
notify_dbus config setting is disabled.
|
notify_dbus config setting is disabled.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
@ -221,7 +221,7 @@ the report/output_format setting in lvm.conf.
|
|||||||
If there is more than one report per command, each report is prefixed
|
If there is more than one report per command, each report is prefixed
|
||||||
with the report name for identification. \fBjson\fP produces report
|
with the report name for identification. \fBjson\fP produces report
|
||||||
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
output in JSON format. See \fBlvmreport\fP(7) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -231,20 +231,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -253,11 +253,11 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
@ -143,7 +143,7 @@ Common options for lvm:
|
|||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--alloc\fP
|
\fB--alloc\fP
|
||||||
.nh
|
.nh
|
||||||
@ -167,21 +167,21 @@ e.g. by placing two stripes on the same PV.
|
|||||||
Optional positional PV args on the command line can also be used to limit
|
Optional positional PV args on the command line can also be used to limit
|
||||||
which PVs the command will use for allocation.
|
which PVs the command will use for allocation.
|
||||||
See \fBlvm\fP(8) for more information about allocation.
|
See \fBlvm\fP(8) for more information about allocation.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Specifies if metadata should be backed up automatically after a change.
|
Specifies if metadata should be backed up automatically after a change.
|
||||||
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
Enabling this is strongly advised! See \fBvgcfgbackup\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB--commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
The command profile to use for command configuration.
|
The command profile to use for command configuration.
|
||||||
See \fBlvm.conf\fP(5) for more information about profiles.
|
See \fBlvm.conf\fP(5) for more information about profiles.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB--config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -190,14 +190,14 @@ Config settings for the command. These override lvm.conf settings.
|
|||||||
The String arg uses the same format as lvm.conf,
|
The String arg uses the same format as lvm.conf,
|
||||||
or may use section/field syntax.
|
or may use section/field syntax.
|
||||||
See \fBlvm.conf\fP(5) for more information about config.
|
See \fBlvm.conf\fP(5) for more information about config.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB--debug\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
Set debug level. Repeat from 1 to 6 times to increase the detail of
|
||||||
messages sent to the log file and/or syslog (if configured).
|
messages sent to the log file and/or syslog (if configured).
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devices\fP \fIPV\fP
|
\fB--devices\fP \fIPV\fP
|
||||||
.br
|
.br
|
||||||
@ -205,7 +205,7 @@ messages sent to the log file and/or syslog (if configured).
|
|||||||
Devices that the command can use. This option can be repeated
|
Devices that the command can use. This option can be repeated
|
||||||
or accepts a comma separated list of devices. This overrides
|
or accepts a comma separated list of devices. This overrides
|
||||||
the devices file.
|
the devices file.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--devicesfile\fP \fIString\fP
|
\fB--devicesfile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
@ -215,39 +215,39 @@ The file must exist in /etc/lvm/devices/ and is managed
|
|||||||
with the lvmdevices(8) command.
|
with the lvmdevices(8) command.
|
||||||
This overrides the lvm.conf devices/devicesfile and
|
This overrides the lvm.conf devices/devicesfile and
|
||||||
devices/use_devicesfile settings.
|
devices/use_devicesfile settings.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
If set to no, the command will not attempt to use device-mapper.
|
If set to no, the command will not attempt to use device-mapper.
|
||||||
For testing and debugging.
|
For testing and debugging.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB--help\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display help text.
|
Display help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB--lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See \fBlvmlockd\fP(8) for more information.
|
See \fBlvmlockd\fP(8) for more information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB--longhelp\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--maxlogicalvolumes\fP \fINumber\fP
|
\fB-l\fP|\fB--maxlogicalvolumes\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Sets the maximum number of LVs allowed in a VG.
|
Sets the maximum number of LVs allowed in a VG.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-p\fP|\fB--maxphysicalvolumes\fP \fINumber\fP
|
\fB-p\fP|\fB--maxphysicalvolumes\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -256,7 +256,7 @@ Sets the maximum number of PVs that can belong to the VG.
|
|||||||
The value 0 removes any limitation.
|
The value 0 removes any limitation.
|
||||||
For large numbers of PVs, also see options --pvmetadatacopies,
|
For large numbers of PVs, also see options --pvmetadatacopies,
|
||||||
and --vgmetadatacopies for improving performance.
|
and --vgmetadatacopies for improving performance.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP
|
\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP
|
||||||
.br
|
.br
|
||||||
@ -264,33 +264,33 @@ and --vgmetadatacopies for improving performance.
|
|||||||
Specifies the type of on-disk metadata to use.
|
Specifies the type of on-disk metadata to use.
|
||||||
\fBlvm2\fP (or just \fB2\fP) is the current, standard format.
|
\fBlvm2\fP (or just \fB2\fP) is the current, standard format.
|
||||||
\fBlvm1\fP (or just \fB1\fP) is no longer used.
|
\fBlvm1\fP (or just \fB1\fP) is no longer used.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-n\fP|\fB--name\fP \fIString\fP
|
\fB-n\fP|\fB--name\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Move only PVs used by the named LV.
|
Move only PVs used by the named LV.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB--nolocking\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB--profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for --commandprofile or --metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB--quiet\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Suppress output and log messages. Overrides --debug and --verbose.
|
Suppress output and log messages. Overrides --debug and --verbose.
|
||||||
Repeat once to also suppress any prompts with answer 'no'.
|
Repeat once to also suppress any prompts with answer 'no'.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB--test\fP
|
||||||
.br
|
.br
|
||||||
@ -300,20 +300,20 @@ This is implemented by disabling all metadata writing but nevertheless
|
|||||||
returning success to the calling function. This may lead to unusual
|
returning success to the calling function. This may lead to unusual
|
||||||
error messages in multi-stage operations if a tool relies on reading
|
error messages in multi-stage operations if a tool relies on reading
|
||||||
back metadata it believes has changed but hasn't.
|
back metadata it believes has changed but hasn't.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB--verbose\fP ...
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
Set verbose level. Repeat from 1 to 4 times to increase the detail
|
||||||
of messages sent to stdout and stderr.
|
of messages sent to stdout and stderr.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB--version\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
Display version information.
|
Display version information.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--[vg]metadatacopies\fP \fBall\fP|\fBunmanaged\fP|\fINumber\fP
|
\fB--[vg]metadatacopies\fP \fBall\fP|\fBunmanaged\fP|\fINumber\fP
|
||||||
.br
|
.br
|
||||||
@ -331,7 +331,7 @@ The number can also be replaced with special string values:
|
|||||||
metadataignore flags.
|
metadataignore flags.
|
||||||
\fBall\fP causes LVM to first clear the metadataignore flags on
|
\fBall\fP causes LVM to first clear the metadataignore flags on
|
||||||
all PVs, and then to become unmanaged.
|
all PVs, and then to become unmanaged.
|
||||||
.TP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB--yes\fP
|
||||||
.br
|
.br
|
||||||
@ -340,11 +340,11 @@ Do not prompt for confirmation interactively but always assume the
|
|||||||
answer yes. Use with extreme caution.
|
answer yes. Use with extreme caution.
|
||||||
(For automatic no, see -qq.)
|
(For automatic no, see -qq.)
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.TP
|
.HP
|
||||||
\fIVG\fP
|
\fIVG\fP
|
||||||
.br
|
.br
|
||||||
Volume Group name. See \fBlvm\fP(8) for valid names.
|
Volume Group name. See \fBlvm\fP(8) for valid names.
|
||||||
.TP
|
.HP
|
||||||
\fIPV\fP
|
\fIPV\fP
|
||||||
.br
|
.br
|
||||||
Physical Volume name, a device path under /dev.
|
Physical Volume name, a device path under /dev.
|
||||||
@ -354,11 +354,11 @@ of physical extents (PEs). When the first PE is omitted, it defaults
|
|||||||
to the start of the device, and when the last PE is omitted it defaults to end.
|
to the start of the device, and when the last PE is omitted it defaults to end.
|
||||||
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
Start and end range (inclusive): \fIPV\fP[\fB:\fP\fIPE\fP\fB-\fP\fIPE\fP]...
|
||||||
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\fP]...
|
||||||
.TP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
.br
|
.br
|
||||||
See the option description for information about the string content.
|
See the option description for information about the string content.
|
||||||
.TP
|
.HP
|
||||||
\fISize\fP[UNIT]
|
\fISize\fP[UNIT]
|
||||||
.br
|
.br
|
||||||
Size is an input number that accepts an optional unit.
|
Size is an input number that accepts an optional unit.
|
||||||
|
Loading…
Reference in New Issue
Block a user