mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
man: escape all double '-'
This commit is contained in:
parent
2eaca7ab63
commit
a29bb6a14b
@ -143,7 +143,7 @@ $(MAN5) $(MAN7) $(MAN8) $(MAN8DM) $(MAN8CLUSTER) $(MAN8SYSTEMD_GENERATORS): Make
|
|||||||
|
|
||||||
# Test whether or not the man page generator works
|
# Test whether or not the man page generator works
|
||||||
$(TESTMAN): $(MANGENERATOR) Makefile
|
$(TESTMAN): $(MANGENERATOR) Makefile
|
||||||
- $(MANGENERATOR) --primary lvmconfig > $@
|
- $(MANGENERATOR) \-\-primary lvmconfig > $@
|
||||||
|
|
||||||
SEE_ALSO=$(srcdir)/see_also.end
|
SEE_ALSO=$(srcdir)/see_also.end
|
||||||
|
|
||||||
@ -162,8 +162,8 @@ SEE_ALSO=$(srcdir)/see_also.end
|
|||||||
cat $(srcdir)/$(@:%.8_gen=%.8_pregen) ; \
|
cat $(srcdir)/$(@:%.8_gen=%.8_pregen) ; \
|
||||||
else \
|
else \
|
||||||
MANCMD=$(basename $@) && \
|
MANCMD=$(basename $@) && \
|
||||||
$(MANGENERATOR) --primary $$MANCMD $< && \
|
$(MANGENERATOR) \-\-primary $$MANCMD $< && \
|
||||||
$(MANGENERATOR) --secondary $$MANCMD && \
|
$(MANGENERATOR) \-\-secondary $$MANCMD && \
|
||||||
cat $(srcdir)/$(basename $@).8_end && \
|
cat $(srcdir)/$(basename $@).8_end && \
|
||||||
cat $(SEE_ALSO) ; \
|
cat $(SEE_ALSO) ; \
|
||||||
fi \
|
fi \
|
||||||
|
@ -106,7 +106,7 @@ of the thin pool is filled. See
|
|||||||
When a thin pool fills over 50% (data or metadata) thin plugin calls
|
When a thin pool fills over 50% (data or metadata) thin plugin calls
|
||||||
configured \fIdmeventd/thin_command\fP with every 5% increase.
|
configured \fIdmeventd/thin_command\fP with every 5% increase.
|
||||||
With default setting it calls internal
|
With default setting it calls internal
|
||||||
\fBlvm lvextend --use-policies\fP to resize thin pool
|
\fBlvm lvextend \-\-use-policies\fP to resize thin pool
|
||||||
when it's been filled above configured threshold
|
when it's been filled above configured threshold
|
||||||
\fIactivation/thin_pool_autoextend_threshold\fP.
|
\fIactivation/thin_pool_autoextend_threshold\fP.
|
||||||
If the command fails, dmeventd thin plugin will keep
|
If the command fails, dmeventd thin plugin will keep
|
||||||
@ -116,7 +116,7 @@ User may also configure external command to support more advanced
|
|||||||
maintenance operations of a thin pool.
|
maintenance operations of a thin pool.
|
||||||
Such external command can e.g. remove some unneeded snapshots,
|
Such external command can e.g. remove some unneeded snapshots,
|
||||||
use \fBfstrim\fP(8) to free recover space in a thin pool,
|
use \fBfstrim\fP(8) to free recover space in a thin pool,
|
||||||
but also can use \fBlvextend --use-policies\fP if other actions
|
but also can use \fBlvextend \-\-use-policies\fP if other actions
|
||||||
have not released enough space.
|
have not released enough space.
|
||||||
Command is executed with environmental variable
|
Command is executed with environmental variable
|
||||||
\fBLVM_RUN_BY_DMEVENTD=1\fP so any lvm2 command executed
|
\fBLVM_RUN_BY_DMEVENTD=1\fP so any lvm2 command executed
|
||||||
|
@ -1247,7 +1247,7 @@ Create regions mapping each file in the directory images/ and place
|
|||||||
them into separate groups, each named after the corresponding file
|
them into separate groups, each named after the corresponding file
|
||||||
.br
|
.br
|
||||||
#
|
#
|
||||||
.B dmstats create --filemap images/*
|
.B dmstats create \-\-filemap images/*
|
||||||
.br
|
.br
|
||||||
images/vm1.qcow2: Created new group with 87 region(s) as group ID 0.
|
images/vm1.qcow2: Created new group with 87 region(s) as group ID 0.
|
||||||
.br
|
.br
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
|||||||
.SH NOTES
|
.SH NOTES
|
||||||
This previous command syntax would perform two different operations:
|
This previous command syntax would perform two different operations:
|
||||||
.br
|
.br
|
||||||
\fBlvconvert --thinpool\fP \fILV1\fP \fB--poolmetadata\fP \fILV2\fP
|
\fBlvconvert \-\-thinpool\fP \fILV1\fP \fB\-\-poolmetadata\fP \fILV2\fP
|
||||||
.br
|
.br
|
||||||
If LV1 was not a thin pool, the command would convert LV1 to
|
If LV1 was not a thin pool, the command would convert LV1 to
|
||||||
a thin pool, optionally using a specified LV for metadata.
|
a thin pool, optionally using a specified LV for metadata.
|
||||||
@ -11,7 +11,7 @@ the current metadata LV with LV2 (for repair purposes.)
|
|||||||
In the same way, this previous command syntax would perform two different
|
In the same way, this previous command syntax would perform two different
|
||||||
operations:
|
operations:
|
||||||
.br
|
.br
|
||||||
\fBlvconvert --cachepool\fP \fILV1\fP \fB--poolmetadata\fP \fILV2\fP
|
\fBlvconvert \-\-cachepool\fP \fILV1\fP \fB\-\-poolmetadata\fP \fILV2\fP
|
||||||
.br
|
.br
|
||||||
If LV1 was not a cache pool, the command would convert LV1 to
|
If LV1 was not a cache pool, the command would convert LV1 to
|
||||||
a cache pool, optionally using a specified LV for metadata.
|
a cache pool, optionally using a specified LV for metadata.
|
||||||
@ -36,7 +36,7 @@ Convert a mirror LV to use a disk log.
|
|||||||
|
|
||||||
Convert a mirror or raid1 LV to a linear LV.
|
Convert a mirror or raid1 LV to a linear LV.
|
||||||
.br
|
.br
|
||||||
.B lvconvert --type linear vg/lvol1
|
.B lvconvert \-\-type linear vg/lvol1
|
||||||
|
|
||||||
Convert a mirror LV to a raid1 LV with the same number of images.
|
Convert a mirror LV to a raid1 LV with the same number of images.
|
||||||
.br
|
.br
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -26,11 +26,11 @@ virtual size rather than a physical size. A cache LV is the combination of
|
|||||||
a standard LV with a cache pool, used to cache active portions of the LV
|
a standard LV with a cache pool, used to cache active portions of the LV
|
||||||
to improve performance.
|
to improve performance.
|
||||||
.SS Usage notes
|
.SS Usage notes
|
||||||
In the usage section below, \fB--size\fP \fISize\fP can be replaced
|
In the usage section below, \fB\-\-size\fP \fISize\fP can be replaced
|
||||||
with \fB--extents\fP \fINumber\fP. See both descriptions
|
with \fB\-\-extents\fP \fINumber\fP. See both descriptions
|
||||||
the options section.
|
the options section.
|
||||||
|
|
||||||
In the usage section below, \fB--name\fP is omitted from the required
|
In the usage section below, \fB\-\-name\fP is omitted from the required
|
||||||
options, even though it is typically used. When the name is not
|
options, even though it is typically used. When the name is not
|
||||||
specified, a new LV name is generated with the "lvol" prefix and a unique
|
specified, a new LV name is generated with the "lvol" prefix and a unique
|
||||||
numeric suffix. Also see the description in the options section.
|
numeric suffix. Also see the description in the options section.
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -20,103 +20,103 @@ and more, using a more compact and configurable output format.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-a\fP|\fB--all\fP ]
|
[ \fB-a\fP|\fB\-\-all\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-c\fP|\fB--colon\fP ]
|
[ \fB-c\fP|\fB\-\-colon\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-C\fP|\fB--columns\fP ]
|
[ \fB-C\fP|\fB\-\-columns\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-H\fP|\fB--history\fP ]
|
[ \fB-H\fP|\fB\-\-history\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-m\fP|\fB--maps\fP ]
|
[ \fB-m\fP|\fB\-\-maps\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-o\fP|\fB--options\fP \fIString\fP ]
|
[ \fB-o\fP|\fB\-\-options\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-O\fP|\fB--sort\fP \fIString\fP ]
|
[ \fB-O\fP|\fB\-\-sort\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-P\fP|\fB--partial\fP ]
|
[ \fB-P\fP|\fB\-\-partial\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-S\fP|\fB--select\fP \fIString\fP ]
|
[ \fB-S\fP|\fB\-\-select\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--aligned\fP ]
|
[ \fB\-\-aligned\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--binary\fP ]
|
[ \fB\-\-binary\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.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 ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--foreign\fP ]
|
[ \fB\-\-foreign\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignorelockingfailure\fP ]
|
[ \fB\-\-ignorelockingfailure\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignoreskippedcluster\fP ]
|
[ \fB\-\-ignoreskippedcluster\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--logonly\fP ]
|
[ \fB\-\-logonly\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--noheadings\fP ]
|
[ \fB\-\-noheadings\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--nosuffix\fP ]
|
[ \fB\-\-nosuffix\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--readonly\fP ]
|
[ \fB\-\-readonly\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--segments\fP ]
|
[ \fB\-\-segments\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--separator\fP \fIString\fP ]
|
[ \fB\-\-separator\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--shared\fP ]
|
[ \fB\-\-shared\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--unbuffered\fP ]
|
[ \fB\-\-unbuffered\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.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 ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -130,63 +130,63 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--aligned\fP
|
\fB\-\-aligned\fP
|
||||||
.br
|
.br
|
||||||
Use with --separator to align the output columns
|
Use with \-\-separator to align the output columns
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB\-\-all\fP
|
||||||
.br
|
.br
|
||||||
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,
|
||||||
@ -194,7 +194,7 @@ which are not independently accessible, e.g. not mountable.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--binary\fP
|
\fB\-\-binary\fP
|
||||||
.br
|
.br
|
||||||
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
|
||||||
@ -202,28 +202,28 @@ the "unknown" value which denotes that the value could not be determined).
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-c\fP|\fB--colon\fP
|
\fB-c\fP|\fB\-\-colon\fP
|
||||||
.br
|
.br
|
||||||
Generate colon separated output for easier parsing in scripts or programs.
|
Generate colon separated output for easier parsing in scripts or programs.
|
||||||
Also see vgs(8) which provides considerably more control over the output.
|
Also see vgs(8) which provides considerably more control over the output.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-C\fP|\fB--columns\fP
|
\fB-C\fP|\fB\-\-columns\fP
|
||||||
.br
|
.br
|
||||||
Display output in columns, the equivalent of vgs(8).
|
Display output in columns, the equivalent of vgs(8).
|
||||||
Options listed are the same as options given in vgs(8).
|
Options listed are the same as options given in vgs(8).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -232,40 +232,40 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
See lvmreport(7).
|
See lvmreport(7).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--foreign\fP
|
\fB\-\-foreign\fP
|
||||||
.br
|
.br
|
||||||
Report/display foreign VGs that would otherwise be skipped.
|
Report/display foreign VGs that would otherwise be skipped.
|
||||||
See lvmsystemid(7) for more information about foreign VGs.
|
See lvmsystemid(7) for more information about foreign VGs.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-H\fP|\fB--history\fP
|
\fB-H\fP|\fB\-\-history\fP
|
||||||
.br
|
.br
|
||||||
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
|
||||||
@ -273,55 +273,55 @@ lvm.conf metadata/record_lvs_history was enabled.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB\-\-ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoreskippedcluster\fP
|
\fB\-\-ignoreskippedcluster\fP
|
||||||
.br
|
.br
|
||||||
Use to avoid exiting with an non-zero status code if the command is run
|
Use to avoid exiting with an non-zero status code if the command is run
|
||||||
without clustered locking and clustered VGs are skipped.
|
without clustered locking and clustered VGs are skipped.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--logonly\fP
|
\fB\-\-logonly\fP
|
||||||
.br
|
.br
|
||||||
Suppress command report and display only log report.
|
Suppress command report and display only log report.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-m\fP|\fB--maps\fP
|
\fB-m\fP|\fB\-\-maps\fP
|
||||||
.br
|
.br
|
||||||
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
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noheadings\fP
|
\fB\-\-noheadings\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosuffix\fP
|
\fB\-\-nosuffix\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-o\fP|\fB--options\fP \fIString\fP
|
\fB-o\fP|\fB\-\-options\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Comma-separated, ordered list of fields to display in columns.
|
Comma-separated, ordered list of fields to display in columns.
|
||||||
String arg syntax is: [+|-|#]Field1[,Field2 ...]
|
String arg syntax is: [+|-|#]Field1[,Field2 ...]
|
||||||
@ -343,7 +343,7 @@ See lvmreport(7) for more information about reporting.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-P\fP|\fB--partial\fP
|
\fB-P\fP|\fB\-\-partial\fP
|
||||||
.br
|
.br
|
||||||
When set, the tools will do their best to provide access to VGs
|
When set, the tools will do their best to provide access to VGs
|
||||||
that are only partially available (one or more PVs belonging
|
that are only partially available (one or more PVs belonging
|
||||||
@ -352,21 +352,21 @@ changed with this option.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB\-\-readonly\fP
|
||||||
.br
|
.br
|
||||||
Run the command in a special read-only mode which will read on-disk
|
Run the command in a special read-only mode which will read on-disk
|
||||||
metadata without needing to take any locks. This can be used to peek
|
metadata without needing to take any locks. This can be used to peek
|
||||||
@ -380,7 +380,7 @@ actually in use.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -391,17 +391,17 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--segments\fP
|
\fB\-\-segments\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB\-\-select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Select objects for processing and reporting based on specified criteria.
|
Select objects for processing and reporting based on specified criteria.
|
||||||
The criteria syntax is described by \fB--select help\fP and \fBlvmreport\fP(7).
|
The criteria syntax is described by \fB\-\-select help\fP and \fBlvmreport\fP(7).
|
||||||
For reporting commands, one row is displayed for each object matching the criteria.
|
For reporting commands, one row is displayed for each object matching the criteria.
|
||||||
See \fB--options help\fP for selectable object fields.
|
See \fB\-\-options help\fP for selectable object fields.
|
||||||
Rows can be displayed with an additional "selected" field (-o selected)
|
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
|
||||||
@ -409,13 +409,13 @@ used to choose items to process.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--separator\fP \fIString\fP
|
\fB\-\-separator\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
String to use to separate each column. Useful if grepping the output.
|
String to use to separate each column. Useful if grepping the output.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--shared\fP
|
\fB\-\-shared\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -423,14 +423,14 @@ See lvmlockd(8) for more information about shared VGs.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-O\fP|\fB--sort\fP \fIString\fP
|
\fB-O\fP|\fB\-\-sort\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -440,37 +440,37 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unbuffered\fP
|
\fB\-\-unbuffered\fP
|
||||||
.br
|
.br
|
||||||
Produce output immediately without sorting or aligning the columns properly.
|
Produce output immediately without sorting or aligning the columns properly.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
All sizes are output in these units:
|
All sizes are output in these units:
|
||||||
human-(r)eadable with '<' rounding indicator,
|
human-(r)eadable with '<' rounding indicator,
|
||||||
(h)uman-readable, (b)ytes, (s)ectors, (k)ilobytes, (m)egabytes,
|
(h)uman-readable, (b)ytes, (s)ectors, (k)ilobytes, (m)egabytes,
|
||||||
(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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -506,7 +506,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -7,6 +7,6 @@ Extending a copy\-on\-write snapshot LV adds space for COW blocks.
|
|||||||
Use \fBlvconvert\fP(8) to change the number of data images in a RAID or
|
Use \fBlvconvert\fP(8) to change the number of data images in a RAID or
|
||||||
mirrored LV.
|
mirrored LV.
|
||||||
|
|
||||||
In the usage section below, \fB--size\fP \fISize\fP can be replaced
|
In the usage section below, \fB\-\-size\fP \fISize\fP can be replaced
|
||||||
with \fB--extents\fP \fINumber\fP. See both descriptions
|
with \fB\-\-extents\fP \fINumber\fP. See both descriptions
|
||||||
the options section.
|
the options section.
|
||||||
|
@ -11,115 +11,115 @@ lvextend \- Add space to a logical volume
|
|||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
.ad l
|
.ad l
|
||||||
\fB--alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP
|
\fB\-\-alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB\-\-autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP
|
\fB-d\fP|\fB\-\-debug\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.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]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP
|
\fB-f\fP|\fB\-\-force\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-m\fP|\fB--mirrors\fP \fINumber\fP
|
\fB-m\fP|\fB\-\-mirrors\fP \fINumber\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-n\fP|\fB--nofsck\fP
|
\fB-n\fP|\fB\-\-nofsck\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosync\fP
|
\fB\-\-nosync\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB\-\-noudevsync\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--poolmetadatasize\fP [\fB+\fP]\fISize\fP[m|UNIT]
|
\fB\-\-poolmetadatasize\fP [\fB+\fP]\fISize\fP[m|UNIT]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP
|
\fB-q\fP|\fB\-\-quiet\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-r\fP|\fB--resizefs\fP
|
\fB-r\fP|\fB\-\-resizefs\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.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]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-i\fP|\fB--stripes\fP \fINumber\fP
|
\fB-i\fP|\fB\-\-stripes\fP \fINumber\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-I\fP|\fB--stripesize\fP \fISize\fP[k|UNIT]
|
\fB-I\fP|\fB\-\-stripesize\fP \fISize\fP[k|UNIT]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--type\fP \fBlinear\fP|\fBstriped\fP|\fBsnapshot\fP|\fBmirror\fP|\fBraid\fP|\fBthin\fP|\fBcache\fP|\fBthin-pool\fP|\fBcache-pool\fP
|
\fB\-\-type\fP \fBlinear\fP|\fBstriped\fP|\fBsnapshot\fP|\fBmirror\fP|\fBraid\fP|\fBthin\fP|\fBcache\fP|\fBthin-pool\fP|\fBcache-pool\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--usepolicies\fP
|
\fB\-\-usepolicies\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP
|
\fB-v\fP|\fB\-\-verbose\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.ad b
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
lvextend extends the size of an LV. This requires allocating logical
|
lvextend extends the size of an LV. This requires allocating logical
|
||||||
@ -131,34 +131,34 @@ Extending a copy\-on\-write snapshot LV adds space for COW blocks.
|
|||||||
Use \fBlvconvert\fP(8) to change the number of data images in a RAID or
|
Use \fBlvconvert\fP(8) to change the number of data images in a RAID or
|
||||||
mirrored LV.
|
mirrored LV.
|
||||||
|
|
||||||
In the usage section below, \fB--size\fP \fISize\fP can be replaced
|
In the usage section below, \fB\-\-size\fP \fISize\fP can be replaced
|
||||||
with \fB--extents\fP \fINumber\fP. See both descriptions
|
with \fB\-\-extents\fP \fINumber\fP. See both descriptions
|
||||||
the options section.
|
the options section.
|
||||||
.SH USAGE
|
.SH USAGE
|
||||||
Extend an LV by a specified size.
|
Extend an LV by a specified size.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBlvextend\fP \fB-L\fP|\fB--size\fP [\fB+\fP]\fISize\fP[m|UNIT] \fILV\fP
|
\fBlvextend\fP \fB-L\fP|\fB\-\-size\fP [\fB+\fP]\fISize\fP[m|UNIT] \fILV\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.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] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-r\fP|\fB--resizefs\fP ]
|
[ \fB-r\fP|\fB\-\-resizefs\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-i\fP|\fB--stripes\fP \fINumber\fP ]
|
[ \fB-i\fP|\fB\-\-stripes\fP \fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-I\fP|\fB--stripesize\fP \fISize\fP[k|UNIT] ]
|
[ \fB-I\fP|\fB\-\-stripesize\fP \fISize\fP[k|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--poolmetadatasize\fP [\fB+\fP]\fISize\fP[m|UNIT] ]
|
[ \fB\-\-poolmetadatasize\fP [\fB+\fP]\fISize\fP[m|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -176,15 +176,15 @@ Extend an LV by specified PV extents.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-r\fP|\fB--resizefs\fP ]
|
[ \fB-r\fP|\fB\-\-resizefs\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-i\fP|\fB--stripes\fP \fINumber\fP ]
|
[ \fB-i\fP|\fB\-\-stripes\fP \fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-I\fP|\fB--stripesize\fP \fISize\fP[k|UNIT] ]
|
[ \fB-I\fP|\fB\-\-stripesize\fP \fISize\fP[k|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -195,15 +195,15 @@ Extend an LV by specified PV extents.
|
|||||||
Extend a pool metadata SubLV by a specified size.
|
Extend a pool metadata SubLV by a specified size.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBlvextend\fP \fB--poolmetadatasize\fP [\fB+\fP]\fISize\fP[m|UNIT] \fILV\fP\fI_thinpool\fP
|
\fBlvextend\fP \fB\-\-poolmetadatasize\fP [\fB+\fP]\fISize\fP[m|UNIT] \fILV\fP\fI_thinpool\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-i\fP|\fB--stripes\fP \fINumber\fP ]
|
[ \fB-i\fP|\fB\-\-stripes\fP \fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-I\fP|\fB--stripesize\fP \fISize\fP[k|UNIT] ]
|
[ \fB-I\fP|\fB\-\-stripesize\fP \fISize\fP[k|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -217,11 +217,11 @@ Extend a pool metadata SubLV by a specified size.
|
|||||||
Extend an LV according to a predefined policy.
|
Extend an LV according to a predefined policy.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBlvextend\fP \fB--usepolicies\fP \fILV\fP\fI_snapshot_thinpool\fP
|
\fBlvextend\fP \fB\-\-usepolicies\fP \fILV\fP\fI_snapshot_thinpool\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-r\fP|\fB--resizefs\fP ]
|
[ \fB-r\fP|\fB\-\-resizefs\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -236,39 +236,39 @@ Common options for command:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP ]
|
[ \fB-A\fP|\fB\-\-autobackup\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-f\fP|\fB--force\fP ]
|
[ \fB-f\fP|\fB\-\-force\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-m\fP|\fB--mirrors\fP \fINumber\fP ]
|
[ \fB-m\fP|\fB\-\-mirrors\fP \fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-n\fP|\fB--nofsck\fP ]
|
[ \fB-n\fP|\fB\-\-nofsck\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP ]
|
[ \fB\-\-alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--nosync\fP ]
|
[ \fB\-\-nosync\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--noudevsync\fP ]
|
[ \fB\-\-noudevsync\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--type\fP \fBlinear\fP|\fBstriped\fP|\fBsnapshot\fP|\fBmirror\fP|\fBraid\fP|\fBthin\fP|\fBcache\fP|\fBthin-pool\fP|\fBcache-pool\fP ]
|
[ \fB\-\-type\fP \fBlinear\fP|\fBstriped\fP|\fBsnapshot\fP|\fBmirror\fP|\fBraid\fP|\fBthin\fP|\fBcache\fP|\fBthin-pool\fP|\fBcache-pool\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@ -276,57 +276,57 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP
|
\fB\-\-alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP
|
||||||
.br
|
.br
|
||||||
Determines the allocation policy when a command needs to allocate
|
Determines the allocation policy when a command needs to allocate
|
||||||
Physical Extents (PEs) from the VG. Each VG and LV has an allocation policy
|
Physical Extents (PEs) from the VG. Each VG and LV has an allocation policy
|
||||||
@ -347,21 +347,21 @@ See \fBlvm\fP(8) for more information about allocation.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
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 vgcfgbackup(8) for more information.
|
Enabling this is strongly advised! See vgcfgbackup(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -370,24 +370,24 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Specifies the new size of the LV in logical extents.
|
Specifies the new size of the LV in logical extents.
|
||||||
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.
|
||||||
An alternate syntax allows the size to be determined indirectly
|
An alternate syntax allows the size to be determined indirectly
|
||||||
@ -407,40 +407,40 @@ from the current size.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB\-\-force\fP ...
|
||||||
.br
|
.br
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-m\fP|\fB--mirrors\fP \fINumber\fP
|
\fB-m\fP|\fB\-\-mirrors\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
Not used.
|
Not used.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-n\fP|\fB--nofsck\fP
|
\fB-n\fP|\fB\-\-nofsck\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosync\fP
|
\fB\-\-nosync\fP
|
||||||
.br
|
.br
|
||||||
Causes the creation of mirror, raid1, raid4, raid5 and raid10 to skip the
|
Causes the creation of mirror, raid1, raid4, raid5 and raid10 to skip the
|
||||||
initial synchronization. In case of mirror, raid1 and raid10, any data
|
initial synchronization. In case of mirror, raid1 and raid10, any data
|
||||||
@ -457,7 +457,7 @@ and thus do not support initial synchronization.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB\-\-noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
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
|
||||||
@ -466,7 +466,7 @@ ignore the devices LVM creates.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
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
|
||||||
@ -474,21 +474,21 @@ the value is added to the current size.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -499,16 +499,16 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-r\fP|\fB--resizefs\fP
|
\fB-r\fP|\fB\-\-resizefs\fP
|
||||||
.br
|
.br
|
||||||
Resize underlying filesystem together with the LV using fsadm(8).
|
Resize underlying filesystem together with the LV using fsadm(8).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Specifies the new size of the LV.
|
Specifies the new size of the 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.
|
||||||
When the plus \fB+\fP or minus \fB-\fP prefix is used,
|
When the plus \fB+\fP or minus \fB-\fP prefix is used,
|
||||||
@ -517,12 +517,12 @@ from the current size.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-i\fP|\fB--stripes\fP \fINumber\fP
|
\fB-i\fP|\fB\-\-stripes\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
Specifies the number of stripes in a striped LV. This is the number of
|
Specifies the number of stripes in a striped LV. This is the number of
|
||||||
PVs (devices) that a striped LV is spread across. Data that
|
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 change existing
|
the stripe size (see \-\-stripesize). This does not change existing
|
||||||
allocated space, but only applies to space being allocated by the command.
|
allocated space, but only applies to space being allocated by the command.
|
||||||
When creating a RAID 4/5/6 LV, this number does not include the extra
|
When creating a RAID 4/5/6 LV, this number does not include the extra
|
||||||
devices that are required for parity. The largest number depends on
|
devices that are required for parity. The largest number depends on
|
||||||
@ -534,14 +534,14 @@ see lvm.conf allocation/raid_stripe_all_devices.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -551,7 +551,7 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--type\fP \fBlinear\fP|\fBstriped\fP|\fBsnapshot\fP|\fBmirror\fP|\fBraid\fP|\fBthin\fP|\fBcache\fP|\fBthin-pool\fP|\fBcache-pool\fP
|
\fB\-\-type\fP \fBlinear\fP|\fBstriped\fP|\fBsnapshot\fP|\fBmirror\fP|\fBraid\fP|\fBthin\fP|\fBcache\fP|\fBthin-pool\fP|\fBcache-pool\fP
|
||||||
.br
|
.br
|
||||||
The LV type, also known as "segment type" or "segtype".
|
The LV type, also known as "segment type" or "segtype".
|
||||||
See usage descriptions for the specific ways to use these types.
|
See usage descriptions for the specific ways to use these types.
|
||||||
@ -561,32 +561,32 @@ For performance caching (\fBcache\fP, \fBcache-pool\fP) see \fBlvmcache\fP(7).
|
|||||||
For copy-on-write snapshots (\fBsnapshot\fP) see usage definitions.
|
For copy-on-write snapshots (\fBsnapshot\fP) see usage definitions.
|
||||||
Several commands omit an explicit type option because the type
|
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).
|
(e.g. \-\-stripes, \-\-mirrors, \-\-snapshot, \-\-virtualsize, \-\-thin, \-\-cache).
|
||||||
Use inferred types with care because it can lead to unexpected results.
|
Use inferred types with care because it can lead to unexpected results.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--usepolicies\fP
|
\fB\-\-usepolicies\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -625,7 +625,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -20,75 +20,75 @@ line settings from \-\-config.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-f\fP|\fB--file\fP \fIString\fP ]
|
[ \fB-f\fP|\fB\-\-file\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-l\fP|\fB--list\fP ]
|
[ \fB-l\fP|\fB\-\-list\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--atversion\fP \fIString\fP ]
|
[ \fB\-\-atversion\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--typeconfig\fP \fBcurrent\fP|\fBdefault\fP|\fBdiff\fP|\fBfull\fP|\fBlist\fP|\fBmissing\fP|\fBnew\fP|\fBprofilable\fP|\fBprofilable-command\fP|\fBprofilable-metadata\fP ]
|
[ \fB\-\-typeconfig\fP \fBcurrent\fP|\fBdefault\fP|\fBdiff\fP|\fBfull\fP|\fBlist\fP|\fBmissing\fP|\fBnew\fP|\fBprofilable\fP|\fBprofilable-command\fP|\fBprofilable-metadata\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignoreadvanced\fP ]
|
[ \fB\-\-ignoreadvanced\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignoreunsupported\fP ]
|
[ \fB\-\-ignoreunsupported\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignorelocal\fP ]
|
[ \fB\-\-ignorelocal\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--mergedconfig\fP ]
|
[ \fB\-\-mergedconfig\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--metadataprofile\fP \fIString\fP ]
|
[ \fB\-\-metadataprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--sinceversion\fP \fIString\fP ]
|
[ \fB\-\-sinceversion\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--showdeprecated\fP ]
|
[ \fB\-\-showdeprecated\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--showunsupported\fP ]
|
[ \fB\-\-showunsupported\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--validate\fP ]
|
[ \fB\-\-validate\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--withsummary\fP ]
|
[ \fB\-\-withsummary\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--withcomments\fP ]
|
[ \fB\-\-withcomments\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--withspaces\fP ]
|
[ \fB\-\-withspaces\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--unconfigured\fP ]
|
[ \fB\-\-unconfigured\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--withversions\fP ]
|
[ \fB\-\-withversions\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -102,57 +102,57 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--atversion\fP \fIString\fP
|
\fB\-\-atversion\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Specify an LVM version in x.y.z format where x is the major version,
|
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).
|
||||||
@ -164,14 +164,14 @@ issue a warning message when checking the configuration.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -180,45 +180,45 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--file\fP \fIString\fP
|
\fB-f\fP|\fB\-\-file\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Write output to the named file.
|
Write output to the named file.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoreadvanced\fP
|
\fB\-\-ignoreadvanced\fP
|
||||||
.br
|
.br
|
||||||
Exclude advanced configuration settings from the output.
|
Exclude advanced configuration settings from the output.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelocal\fP
|
\fB\-\-ignorelocal\fP
|
||||||
.br
|
.br
|
||||||
Ignore local section.
|
Ignore local section.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoreunsupported\fP
|
\fB\-\-ignoreunsupported\fP
|
||||||
.br
|
.br
|
||||||
Exclude unsupported configuration settings from the output. These settings are
|
Exclude unsupported configuration settings from the output. These settings are
|
||||||
either used for debugging and development purposes only or their support is not
|
either used for debugging and development purposes only or their support is not
|
||||||
@ -228,24 +228,24 @@ all the other types ignore unsupported settings.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--list\fP
|
\fB-l\fP|\fB\-\-list\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--mergedconfig\fP
|
\fB\-\-mergedconfig\fP
|
||||||
.br
|
.br
|
||||||
When the command is run with --config
|
When the command is run with \-\-config
|
||||||
and/or --commandprofile (or using LVM_COMMAND_PROFILE
|
and/or \-\-commandprofile (or using LVM_COMMAND_PROFILE
|
||||||
environment variable), --profile, or --metadataprofile,
|
environment variable), \-\-profile, or \-\-metadataprofile,
|
||||||
merge all the contents of the "config cascade" before displaying it.
|
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.
|
||||||
@ -253,39 +253,39 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataprofile\fP \fIString\fP
|
\fB\-\-metadataprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--showdeprecated\fP
|
\fB\-\-showdeprecated\fP
|
||||||
.br
|
.br
|
||||||
Include deprecated configuration settings in the output. These settings
|
Include deprecated configuration settings in the output. These settings
|
||||||
are deprecated after a certain version. If a concrete version is specified
|
are deprecated after a certain version. If a concrete version is specified
|
||||||
with --atversion, deprecated settings are automatically included
|
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--showunsupported\fP
|
\fB\-\-showunsupported\fP
|
||||||
.br
|
.br
|
||||||
Include unsupported configuration settings in the output. These settings
|
Include unsupported configuration settings in the output. These settings
|
||||||
are either used for debugging or development purposes only, or their support
|
are either used for debugging or development purposes only, or their support
|
||||||
@ -295,16 +295,16 @@ output by default, all the other types ignore unsupported settings.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--sinceversion\fP \fIString\fP
|
\fB\-\-sinceversion\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Specify an LVM version in x.y.z format where x is the major version,
|
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -314,61 +314,61 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--typeconfig\fP \fBcurrent\fP|\fBdefault\fP|\fBdiff\fP|\fBfull\fP|\fBlist\fP|\fBmissing\fP|\fBnew\fP|\fBprofilable\fP|\fBprofilable-command\fP|\fBprofilable-metadata\fP
|
\fB\-\-typeconfig\fP \fBcurrent\fP|\fBdefault\fP|\fBdiff\fP|\fBfull\fP|\fBlist\fP|\fBmissing\fP|\fBnew\fP|\fBprofilable\fP|\fBprofilable-command\fP|\fBprofilable-metadata\fP
|
||||||
.br
|
.br
|
||||||
See lvmreport(7).
|
See lvmreport(7).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unconfigured\fP
|
\fB\-\-unconfigured\fP
|
||||||
.br
|
.br
|
||||||
Internal option used for generating config file during build.
|
Internal option used for generating config file during build.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--validate\fP
|
\fB\-\-validate\fP
|
||||||
.br
|
.br
|
||||||
Validate current configuration used and exit with appropriate
|
Validate current configuration used and exit with appropriate
|
||||||
return code. The validation is done only for the configuration
|
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--withcomments\fP
|
\fB\-\-withcomments\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--withspaces\fP
|
\fB\-\-withspaces\fP
|
||||||
.br
|
.br
|
||||||
Where appropriate, add more spaces in output for better readability.
|
Where appropriate, add more spaces in output for better readability.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--withsummary\fP
|
\fB\-\-withsummary\fP
|
||||||
.br
|
.br
|
||||||
Display a one line comment for each configuration node.
|
Display a one line comment for each configuration node.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--withversions\fP
|
\fB\-\-withversions\fP
|
||||||
.br
|
.br
|
||||||
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
|
||||||
@ -376,7 +376,7 @@ the version since which it is deprecated.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -398,7 +398,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -20,75 +20,75 @@ line settings from \-\-config.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-f\fP|\fB--file\fP \fIString\fP ]
|
[ \fB-f\fP|\fB\-\-file\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-l\fP|\fB--list\fP ]
|
[ \fB-l\fP|\fB\-\-list\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--atversion\fP \fIString\fP ]
|
[ \fB\-\-atversion\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--typeconfig\fP \fBcurrent\fP|\fBdefault\fP|\fBdiff\fP|\fBfull\fP|\fBlist\fP|\fBmissing\fP|\fBnew\fP|\fBprofilable\fP|\fBprofilable-command\fP|\fBprofilable-metadata\fP ]
|
[ \fB\-\-typeconfig\fP \fBcurrent\fP|\fBdefault\fP|\fBdiff\fP|\fBfull\fP|\fBlist\fP|\fBmissing\fP|\fBnew\fP|\fBprofilable\fP|\fBprofilable-command\fP|\fBprofilable-metadata\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignoreadvanced\fP ]
|
[ \fB\-\-ignoreadvanced\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignoreunsupported\fP ]
|
[ \fB\-\-ignoreunsupported\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignorelocal\fP ]
|
[ \fB\-\-ignorelocal\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--mergedconfig\fP ]
|
[ \fB\-\-mergedconfig\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--metadataprofile\fP \fIString\fP ]
|
[ \fB\-\-metadataprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--sinceversion\fP \fIString\fP ]
|
[ \fB\-\-sinceversion\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--showdeprecated\fP ]
|
[ \fB\-\-showdeprecated\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--showunsupported\fP ]
|
[ \fB\-\-showunsupported\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--validate\fP ]
|
[ \fB\-\-validate\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--withsummary\fP ]
|
[ \fB\-\-withsummary\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--withcomments\fP ]
|
[ \fB\-\-withcomments\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--withspaces\fP ]
|
[ \fB\-\-withspaces\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--unconfigured\fP ]
|
[ \fB\-\-unconfigured\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--withversions\fP ]
|
[ \fB\-\-withversions\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -102,57 +102,57 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--atversion\fP \fIString\fP
|
\fB\-\-atversion\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Specify an LVM version in x.y.z format where x is the major version,
|
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).
|
||||||
@ -164,14 +164,14 @@ issue a warning message when checking the configuration.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -180,45 +180,45 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--file\fP \fIString\fP
|
\fB-f\fP|\fB\-\-file\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Write output to the named file.
|
Write output to the named file.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoreadvanced\fP
|
\fB\-\-ignoreadvanced\fP
|
||||||
.br
|
.br
|
||||||
Exclude advanced configuration settings from the output.
|
Exclude advanced configuration settings from the output.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelocal\fP
|
\fB\-\-ignorelocal\fP
|
||||||
.br
|
.br
|
||||||
Ignore local section.
|
Ignore local section.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoreunsupported\fP
|
\fB\-\-ignoreunsupported\fP
|
||||||
.br
|
.br
|
||||||
Exclude unsupported configuration settings from the output. These settings are
|
Exclude unsupported configuration settings from the output. These settings are
|
||||||
either used for debugging and development purposes only or their support is not
|
either used for debugging and development purposes only or their support is not
|
||||||
@ -228,24 +228,24 @@ all the other types ignore unsupported settings.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--list\fP
|
\fB-l\fP|\fB\-\-list\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--mergedconfig\fP
|
\fB\-\-mergedconfig\fP
|
||||||
.br
|
.br
|
||||||
When the command is run with --config
|
When the command is run with \-\-config
|
||||||
and/or --commandprofile (or using LVM_COMMAND_PROFILE
|
and/or \-\-commandprofile (or using LVM_COMMAND_PROFILE
|
||||||
environment variable), --profile, or --metadataprofile,
|
environment variable), \-\-profile, or \-\-metadataprofile,
|
||||||
merge all the contents of the "config cascade" before displaying it.
|
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.
|
||||||
@ -253,39 +253,39 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataprofile\fP \fIString\fP
|
\fB\-\-metadataprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--showdeprecated\fP
|
\fB\-\-showdeprecated\fP
|
||||||
.br
|
.br
|
||||||
Include deprecated configuration settings in the output. These settings
|
Include deprecated configuration settings in the output. These settings
|
||||||
are deprecated after a certain version. If a concrete version is specified
|
are deprecated after a certain version. If a concrete version is specified
|
||||||
with --atversion, deprecated settings are automatically included
|
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--showunsupported\fP
|
\fB\-\-showunsupported\fP
|
||||||
.br
|
.br
|
||||||
Include unsupported configuration settings in the output. These settings
|
Include unsupported configuration settings in the output. These settings
|
||||||
are either used for debugging or development purposes only, or their support
|
are either used for debugging or development purposes only, or their support
|
||||||
@ -295,16 +295,16 @@ output by default, all the other types ignore unsupported settings.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--sinceversion\fP \fIString\fP
|
\fB\-\-sinceversion\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Specify an LVM version in x.y.z format where x is the major version,
|
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -314,61 +314,61 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--typeconfig\fP \fBcurrent\fP|\fBdefault\fP|\fBdiff\fP|\fBfull\fP|\fBlist\fP|\fBmissing\fP|\fBnew\fP|\fBprofilable\fP|\fBprofilable-command\fP|\fBprofilable-metadata\fP
|
\fB\-\-typeconfig\fP \fBcurrent\fP|\fBdefault\fP|\fBdiff\fP|\fBfull\fP|\fBlist\fP|\fBmissing\fP|\fBnew\fP|\fBprofilable\fP|\fBprofilable-command\fP|\fBprofilable-metadata\fP
|
||||||
.br
|
.br
|
||||||
See lvmreport(7).
|
See lvmreport(7).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unconfigured\fP
|
\fB\-\-unconfigured\fP
|
||||||
.br
|
.br
|
||||||
Internal option used for generating config file during build.
|
Internal option used for generating config file during build.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--validate\fP
|
\fB\-\-validate\fP
|
||||||
.br
|
.br
|
||||||
Validate current configuration used and exit with appropriate
|
Validate current configuration used and exit with appropriate
|
||||||
return code. The validation is done only for the configuration
|
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--withcomments\fP
|
\fB\-\-withcomments\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--withspaces\fP
|
\fB\-\-withspaces\fP
|
||||||
.br
|
.br
|
||||||
Where appropriate, add more spaces in output for better readability.
|
Where appropriate, add more spaces in output for better readability.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--withsummary\fP
|
\fB\-\-withsummary\fP
|
||||||
.br
|
.br
|
||||||
Display a one line comment for each configuration node.
|
Display a one line comment for each configuration node.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--withversions\fP
|
\fB\-\-withversions\fP
|
||||||
.br
|
.br
|
||||||
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
|
||||||
@ -376,7 +376,7 @@ the version since which it is deprecated.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -398,7 +398,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -21,103 +21,103 @@ if information changes between commands.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-a\fP|\fB--all\fP ]
|
[ \fB-a\fP|\fB\-\-all\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-o\fP|\fB--options\fP \fIString\fP ]
|
[ \fB-o\fP|\fB\-\-options\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-P\fP|\fB--partial\fP ]
|
[ \fB-P\fP|\fB\-\-partial\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-S\fP|\fB--select\fP \fIString\fP ]
|
[ \fB-S\fP|\fB\-\-select\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-O\fP|\fB--sort\fP \fIString\fP ]
|
[ \fB-O\fP|\fB\-\-sort\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--aligned\fP ]
|
[ \fB\-\-aligned\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--binary\fP ]
|
[ \fB\-\-binary\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.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 ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--foreign\fP ]
|
[ \fB\-\-foreign\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignorelockingfailure\fP ]
|
[ \fB\-\-ignorelockingfailure\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignoreskippedcluster\fP ]
|
[ \fB\-\-ignoreskippedcluster\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--logonly\fP ]
|
[ \fB\-\-logonly\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--nameprefixes\fP ]
|
[ \fB\-\-nameprefixes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--noheadings\fP ]
|
[ \fB\-\-noheadings\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--nolocking\fP ]
|
[ \fB\-\-nolocking\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--nosuffix\fP ]
|
[ \fB\-\-nosuffix\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--readonly\fP ]
|
[ \fB\-\-readonly\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--rows\fP ]
|
[ \fB\-\-rows\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--separator\fP \fIString\fP ]
|
[ \fB\-\-separator\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--shared\fP ]
|
[ \fB\-\-shared\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--trustcache\fP ]
|
[ \fB\-\-trustcache\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--unbuffered\fP ]
|
[ \fB\-\-unbuffered\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.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 ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--unquoted\fP ]
|
[ \fB\-\-unquoted\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -131,68 +131,68 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--aligned\fP
|
\fB\-\-aligned\fP
|
||||||
.br
|
.br
|
||||||
Use with --separator to align the output columns
|
Use with \-\-separator to align the output columns
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB\-\-all\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--binary\fP
|
\fB\-\-binary\fP
|
||||||
.br
|
.br
|
||||||
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
|
||||||
@ -200,14 +200,14 @@ the "unknown" value which denotes that the value could not be determined).
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -216,94 +216,94 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
See lvmreport(7).
|
See lvmreport(7).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--foreign\fP
|
\fB\-\-foreign\fP
|
||||||
.br
|
.br
|
||||||
Report/display foreign VGs that would otherwise be skipped.
|
Report/display foreign VGs that would otherwise be skipped.
|
||||||
See lvmsystemid(7) for more information about foreign VGs.
|
See lvmsystemid(7) for more information about foreign VGs.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB\-\-ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoreskippedcluster\fP
|
\fB\-\-ignoreskippedcluster\fP
|
||||||
.br
|
.br
|
||||||
Use to avoid exiting with an non-zero status code if the command is run
|
Use to avoid exiting with an non-zero status code if the command is run
|
||||||
without clustered locking and clustered VGs are skipped.
|
without clustered locking and clustered VGs are skipped.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--logonly\fP
|
\fB\-\-logonly\fP
|
||||||
.br
|
.br
|
||||||
Suppress command report and display only log report.
|
Suppress command report and display only log report.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nameprefixes\fP
|
\fB\-\-nameprefixes\fP
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noheadings\fP
|
\fB\-\-noheadings\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB\-\-nolocking\fP
|
||||||
.br
|
.br
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosuffix\fP
|
\fB\-\-nosuffix\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-o\fP|\fB--options\fP \fIString\fP
|
\fB-o\fP|\fB\-\-options\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Comma-separated, ordered list of fields to display in columns.
|
Comma-separated, ordered list of fields to display in columns.
|
||||||
String arg syntax is: [+|-|#]Field1[,Field2 ...]
|
String arg syntax is: [+|-|#]Field1[,Field2 ...]
|
||||||
@ -325,7 +325,7 @@ See lvmreport(7) for more information about reporting.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-P\fP|\fB--partial\fP
|
\fB-P\fP|\fB\-\-partial\fP
|
||||||
.br
|
.br
|
||||||
When set, the tools will do their best to provide access to VGs
|
When set, the tools will do their best to provide access to VGs
|
||||||
that are only partially available (one or more PVs belonging
|
that are only partially available (one or more PVs belonging
|
||||||
@ -334,21 +334,21 @@ changed with this option.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB\-\-readonly\fP
|
||||||
.br
|
.br
|
||||||
Run the command in a special read-only mode which will read on-disk
|
Run the command in a special read-only mode which will read on-disk
|
||||||
metadata without needing to take any locks. This can be used to peek
|
metadata without needing to take any locks. This can be used to peek
|
||||||
@ -362,7 +362,7 @@ actually in use.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -373,18 +373,18 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--rows\fP
|
\fB\-\-rows\fP
|
||||||
.br
|
.br
|
||||||
Output columns as rows.
|
Output columns as rows.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB\-\-select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Select objects for processing and reporting based on specified criteria.
|
Select objects for processing and reporting based on specified criteria.
|
||||||
The criteria syntax is described by \fB--select help\fP and \fBlvmreport\fP(7).
|
The criteria syntax is described by \fB\-\-select help\fP and \fBlvmreport\fP(7).
|
||||||
For reporting commands, one row is displayed for each object matching the criteria.
|
For reporting commands, one row is displayed for each object matching the criteria.
|
||||||
See \fB--options help\fP for selectable object fields.
|
See \fB\-\-options help\fP for selectable object fields.
|
||||||
Rows can be displayed with an additional "selected" field (-o selected)
|
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
|
||||||
@ -392,13 +392,13 @@ used to choose items to process.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--separator\fP \fIString\fP
|
\fB\-\-separator\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
String to use to separate each column. Useful if grepping the output.
|
String to use to separate each column. Useful if grepping the output.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--shared\fP
|
\fB\-\-shared\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -406,14 +406,14 @@ See lvmlockd(8) for more information about shared VGs.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-O\fP|\fB--sort\fP \fIString\fP
|
\fB-O\fP|\fB\-\-sort\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -423,50 +423,50 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--trustcache\fP
|
\fB\-\-trustcache\fP
|
||||||
.br
|
.br
|
||||||
Avoids certain device scanning during command processing. Do not use.
|
Avoids certain device scanning during command processing. Do not use.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unbuffered\fP
|
\fB\-\-unbuffered\fP
|
||||||
.br
|
.br
|
||||||
Produce output immediately without sorting or aligning the columns properly.
|
Produce output immediately without sorting or aligning the columns properly.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
All sizes are output in these units:
|
All sizes are output in these units:
|
||||||
human-(r)eadable with '<' rounding indicator,
|
human-(r)eadable with '<' rounding indicator,
|
||||||
(h)uman-readable, (b)ytes, (s)ectors, (k)ilobytes, (m)egabytes,
|
(h)uman-readable, (b)ytes, (s)ectors, (k)ilobytes, (m)egabytes,
|
||||||
(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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unquoted\fP
|
\fB\-\-unquoted\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -492,7 +492,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -8,24 +8,24 @@ To find the name of the pvmove LV that was created by an original
|
|||||||
|
|
||||||
Continue polling a pvmove operation.
|
Continue polling a pvmove operation.
|
||||||
.br
|
.br
|
||||||
.B lvm lvpoll --polloperation pvmove vg00/pvmove0
|
.B lvm lvpoll \-\-polloperation pvmove vg00/pvmove0
|
||||||
|
|
||||||
Abort a pvmove operation.
|
Abort a pvmove operation.
|
||||||
.br
|
.br
|
||||||
.B lvm lvpoll --polloperation pvmove --abort vg00/pvmove0
|
.B lvm lvpoll \-\-polloperation pvmove \-\-abort vg00/pvmove0
|
||||||
|
|
||||||
Continue polling a mirror conversion.
|
Continue polling a mirror conversion.
|
||||||
.br
|
.br
|
||||||
.B lvm lvpoll --polloperation convert vg00/lvmirror
|
.B lvm lvpoll \-\-polloperation convert vg00/lvmirror
|
||||||
|
|
||||||
Continue mirror repair.
|
Continue mirror repair.
|
||||||
.br
|
.br
|
||||||
.B lvm lvpoll --polloperation convert vg/damaged_mirror --handlemissingpvs
|
.B lvm lvpoll \-\-polloperation convert vg/damaged_mirror \-\-handlemissingpvs
|
||||||
|
|
||||||
Continue snapshot merge.
|
Continue snapshot merge.
|
||||||
.br
|
.br
|
||||||
.B lvm lvpoll --polloperation merge vg/snapshot_old
|
.B lvm lvpoll \-\-polloperation merge vg/snapshot_old
|
||||||
|
|
||||||
Continue thin snapshot merge.
|
Continue thin snapshot merge.
|
||||||
.br
|
.br
|
||||||
.B lvm lvpoll --polloperation merge_thin vg/thin_snapshot
|
.B lvm lvpoll \-\-polloperation merge_thin vg/thin_snapshot
|
||||||
|
@ -13,23 +13,23 @@ complete \fBlvconvert\fP(8) and \fBpvmove\fP(8) operations. lvpoll itself
|
|||||||
does not initiate these operations and should not normally need to be run
|
does not initiate these operations and should not normally need to be run
|
||||||
directly.
|
directly.
|
||||||
.SH USAGE
|
.SH USAGE
|
||||||
\fBlvm lvpoll\fP \fB--polloperation\fP \fBpvmove\fP|\fBconvert\fP|\fBmerge\fP|\fBmerge_thin\fP \fILV\fP ...
|
\fBlvm lvpoll\fP \fB\-\-polloperation\fP \fBpvmove\fP|\fBconvert\fP|\fBmerge\fP|\fBmerge_thin\fP \fILV\fP ...
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP ]
|
[ \fB-A\fP|\fB\-\-autobackup\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-i\fP|\fB--interval\fP \fINumber\fP ]
|
[ \fB-i\fP|\fB\-\-interval\fP \fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--abort\fP ]
|
[ \fB\-\-abort\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--handlemissingpvs\fP ]
|
[ \fB\-\-handlemissingpvs\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -40,77 +40,77 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--abort\fP
|
\fB\-\-abort\fP
|
||||||
.br
|
.br
|
||||||
Stop processing a poll operation in lvmpolld.
|
Stop processing a poll operation in lvmpolld.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
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 vgcfgbackup(8) for more information.
|
Enabling this is strongly advised! See vgcfgbackup(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -119,66 +119,66 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--handlemissingpvs\fP
|
\fB\-\-handlemissingpvs\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-i\fP|\fB--interval\fP \fINumber\fP
|
\fB-i\fP|\fB\-\-interval\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
Report progress at regular intervals.
|
Report progress at regular intervals.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
The command to perform from lvmpolld.
|
The command to perform from lvmpolld.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -188,20 +188,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -228,7 +228,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
@ -243,27 +243,27 @@ To find the name of the pvmove LV that was created by an original
|
|||||||
|
|
||||||
Continue polling a pvmove operation.
|
Continue polling a pvmove operation.
|
||||||
.br
|
.br
|
||||||
.B lvm lvpoll --polloperation pvmove vg00/pvmove0
|
.B lvm lvpoll \-\-polloperation pvmove vg00/pvmove0
|
||||||
|
|
||||||
Abort a pvmove operation.
|
Abort a pvmove operation.
|
||||||
.br
|
.br
|
||||||
.B lvm lvpoll --polloperation pvmove --abort vg00/pvmove0
|
.B lvm lvpoll \-\-polloperation pvmove \-\-abort vg00/pvmove0
|
||||||
|
|
||||||
Continue polling a mirror conversion.
|
Continue polling a mirror conversion.
|
||||||
.br
|
.br
|
||||||
.B lvm lvpoll --polloperation convert vg00/lvmirror
|
.B lvm lvpoll \-\-polloperation convert vg00/lvmirror
|
||||||
|
|
||||||
Continue mirror repair.
|
Continue mirror repair.
|
||||||
.br
|
.br
|
||||||
.B lvm lvpoll --polloperation convert vg/damaged_mirror --handlemissingpvs
|
.B lvm lvpoll \-\-polloperation convert vg/damaged_mirror \-\-handlemissingpvs
|
||||||
|
|
||||||
Continue snapshot merge.
|
Continue snapshot merge.
|
||||||
.br
|
.br
|
||||||
.B lvm lvpoll --polloperation merge vg/snapshot_old
|
.B lvm lvpoll \-\-polloperation merge vg/snapshot_old
|
||||||
|
|
||||||
Continue thin snapshot merge.
|
Continue thin snapshot merge.
|
||||||
.br
|
.br
|
||||||
.B lvm lvpoll --polloperation merge_thin vg/thin_snapshot
|
.B lvm lvpoll \-\-polloperation merge_thin vg/thin_snapshot
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
|
|
||||||
.BR lvm (8)
|
.BR lvm (8)
|
||||||
|
@ -253,7 +253,7 @@ least one LV that is still present. This helps to record the ancestry of
|
|||||||
thin snapshots even after some links in the chain have been removed.
|
thin snapshots even after some links in the chain have been removed.
|
||||||
A reference to the historical LV 'lvol1' in VG 'vg00' would be 'vg00/-lvol1'
|
A reference to the historical LV 'lvol1' in VG 'vg00' would be 'vg00/-lvol1'
|
||||||
or just '-lvol1' if the VG is already set. (The latter form must be preceded
|
or just '-lvol1' if the VG is already set. (The latter form must be preceded
|
||||||
by '--' to terminate command line option processing before reaching this
|
by '\-\-' to terminate command line option processing before reaching this
|
||||||
argument.)
|
argument.)
|
||||||
.P
|
.P
|
||||||
There are also various reserved names that are used internally by lvm that can
|
There are also various reserved names that are used internally by lvm that can
|
||||||
@ -288,8 +288,8 @@ When VGs with the same name exist, commands operating on all VGs will
|
|||||||
include all of the VGs with the same name. If the ambiguous VG name is
|
include all of the VGs with the same name. If the ambiguous VG name is
|
||||||
specified on the command line, the command will produce an error. The
|
specified on the command line, the command will produce an error. The
|
||||||
error states that multiple VGs exist with the specified name. To process
|
error states that multiple VGs exist with the specified name. To process
|
||||||
one of the VGs specifically, the --select option should be used with the
|
one of the VGs specifically, the \-\-select option should be used with the
|
||||||
UUID of the intended VG: '--select vg_uuid=<uuid>'.
|
UUID of the intended VG: '\-\-select vg_uuid=<uuid>'.
|
||||||
|
|
||||||
An exception is if all but one of the VGs with the shared name is foreign
|
An exception is if all but one of the VGs with the shared name is foreign
|
||||||
(see
|
(see
|
||||||
|
@ -171,7 +171,7 @@ default values:
|
|||||||
Command to print a list of all possible config settings, with their
|
Command to print a list of all possible config settings, with their
|
||||||
default values, and a full description of each as a comment:
|
default values, and a full description of each as a comment:
|
||||||
.br
|
.br
|
||||||
.B lvmconfig \-\-type default --withcomments
|
.B lvmconfig \-\-type default \-\-withcomments
|
||||||
|
|
||||||
Command to print a list of all possible config settings, with their
|
Command to print a list of all possible config settings, with their
|
||||||
current values (configured, non-default values are shown):
|
current values (configured, non-default values are shown):
|
||||||
@ -189,7 +189,7 @@ and a full description, where "Section" refers to the config section,
|
|||||||
e.g. global, and "Setting" refers to the name of the specific setting,
|
e.g. global, and "Setting" refers to the name of the specific setting,
|
||||||
e.g. umask:
|
e.g. umask:
|
||||||
.br
|
.br
|
||||||
.B lvmconfig \-\-type default --withcomments Section/Setting
|
.B lvmconfig \-\-type default \-\-withcomments Section/Setting
|
||||||
|
|
||||||
|
|
||||||
.SH FILES
|
.SH FILES
|
||||||
|
@ -71,9 +71,9 @@ a minimum size of 8MiB.
|
|||||||
.nf
|
.nf
|
||||||
# lvs -a vg
|
# lvs -a vg
|
||||||
LV VG Attr LSize Pool Origin
|
LV VG Attr LSize Pool Origin
|
||||||
cache0 vg -wi-a----- 10.00g
|
cache0 vg -wi-a\-\-\-\-- 10.00g
|
||||||
cache0meta vg -wi-a----- 12.00m
|
cache0meta vg -wi-a\-\-\-\-- 12.00m
|
||||||
lvol0 vg -wi-a----- 100.00g
|
lvol0 vg -wi-a\-\-\-\-- 100.00g
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
|
|
||||||
@ -100,10 +100,10 @@ CacheMetaLV is renamed CachePoolLV_cmeta and becomes hidden.
|
|||||||
.nf
|
.nf
|
||||||
# lvs -a vg
|
# lvs -a vg
|
||||||
LV VG Attr LSize Pool Origin
|
LV VG Attr LSize Pool Origin
|
||||||
cache0 vg Cwi---C--- 10.00g
|
cache0 vg Cwi\-\--C\-\-- 10.00g
|
||||||
[cache0_cdata] vg Cwi------- 10.00g
|
[cache0_cdata] vg Cwi\-\-\-\-\-\-- 10.00g
|
||||||
[cache0_cmeta] vg ewi------- 12.00m
|
[cache0_cmeta] vg ewi\-\-\-\-\-\-- 12.00m
|
||||||
lvol0 vg -wi-a----- 100.00g
|
lvol0 vg -wi-a\-\-\-\-- 100.00g
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
|
|
||||||
@ -127,11 +127,11 @@ OriginLV is renamed OriginLV_corig and becomes hidden.
|
|||||||
.nf
|
.nf
|
||||||
# lvs -a vg
|
# lvs -a vg
|
||||||
LV VG Attr LSize Pool Origin
|
LV VG Attr LSize Pool Origin
|
||||||
cache0 vg Cwi---C--- 10.00g
|
cache0 vg Cwi\-\--C\-\-- 10.00g
|
||||||
[cache0_cdata] vg Cwi-ao---- 10.00g
|
[cache0_cdata] vg Cwi-ao\-\-\-\- 10.00g
|
||||||
[cache0_cmeta] vg ewi-ao---- 12.00m
|
[cache0_cmeta] vg ewi-ao\-\-\-\- 12.00m
|
||||||
lvol0 vg Cwi-a-C--- 100.00g cache0 [lvol0_corig]
|
lvol0 vg Cwi-a-C\-\-- 100.00g cache0 [lvol0_corig]
|
||||||
[lvol0_corig] vg -wi-ao---- 100.00g
|
[lvol0_corig] vg -wi-ao\-\-\-\- 100.00g
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
|
|
||||||
@ -145,7 +145,7 @@ A cache pool LV can be disconnected from a cache LV, leaving an
|
|||||||
unused cache pool LV, and an uncached origin LV. This command
|
unused cache pool LV, and an uncached origin LV. This command
|
||||||
writes back data from the cache pool to the origin LV when necessary.
|
writes back data from the cache pool to the origin LV when necessary.
|
||||||
|
|
||||||
.B lvconvert --splitcache VG/CacheLV
|
.B lvconvert \-\-splitcache VG/CacheLV
|
||||||
|
|
||||||
.SS Removing a cache pool LV without removing its linked origin LV
|
.SS Removing a cache pool LV without removing its linked origin LV
|
||||||
|
|
||||||
@ -159,20 +159,20 @@ then removes the cache pool LV, leaving the uncached origin LV.
|
|||||||
An alternative command that also disconnects the cache pool from the cache
|
An alternative command that also disconnects the cache pool from the cache
|
||||||
LV, and deletes the cache pool:
|
LV, and deletes the cache pool:
|
||||||
|
|
||||||
.B lvconvert --uncache VG/CacheLV
|
.B lvconvert \-\-uncache VG/CacheLV
|
||||||
|
|
||||||
.I Example
|
.I Example
|
||||||
.nf
|
.nf
|
||||||
# lvs vg
|
# lvs vg
|
||||||
LV VG Attr LSize Pool Origin
|
LV VG Attr LSize Pool Origin
|
||||||
cache0 vg Cwi---C--- 10.00g
|
cache0 vg Cwi\-\--C\-\-- 10.00g
|
||||||
lvol0 vg Cwi-a-C--- 100.00g cache0 [lvol0_corig]
|
lvol0 vg Cwi-a-C\-\-- 100.00g cache0 [lvol0_corig]
|
||||||
|
|
||||||
# lvremove vg/cache0
|
# lvremove vg/cache0
|
||||||
|
|
||||||
# lvs vg
|
# lvs vg
|
||||||
LV VG Attr LSize Pool Origin
|
LV VG Attr LSize Pool Origin
|
||||||
lvol0 vg -wi-a----- 100.00g
|
lvol0 vg -wi-a\-\-\-\-- 100.00g
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
.SS Removing a cache LV: both origin LV and the cache pool LV
|
.SS Removing a cache LV: both origin LV and the cache pool LV
|
||||||
@ -349,7 +349,7 @@ the same VG.
|
|||||||
|
|
||||||
.B lvcreate -n CacheDataLV -L CacheSize VG
|
.B lvcreate -n CacheDataLV -L CacheSize VG
|
||||||
.br
|
.br
|
||||||
.B lvconvert --type cache\-pool VG/CacheDataLV
|
.B lvconvert \-\-type cache\-pool VG/CacheDataLV
|
||||||
|
|
||||||
|
|
||||||
.SS Create a new cache LV without an existing origin LV
|
.SS Create a new cache LV without an existing origin LV
|
||||||
@ -390,7 +390,7 @@ may optionally be specified.
|
|||||||
.br
|
.br
|
||||||
.B lvcreate -n CacheDataLV -L CacheSize VG
|
.B lvcreate -n CacheDataLV -L CacheSize VG
|
||||||
.br
|
.br
|
||||||
.B lvconvert --type cache --cachepool VG/CataDataLV VG/OriginLV
|
.B lvconvert \-\-type cache \-\-cachepool VG/CataDataLV VG/OriginLV
|
||||||
|
|
||||||
This is equivalent to:
|
This is equivalent to:
|
||||||
|
|
||||||
@ -398,9 +398,9 @@ This is equivalent to:
|
|||||||
.br
|
.br
|
||||||
.B lvcreate -n CacheDataLV -L CacheSize VG
|
.B lvcreate -n CacheDataLV -L CacheSize VG
|
||||||
.br
|
.br
|
||||||
.B lvconvert --type cache-pool VG/CacheDataLV
|
.B lvconvert \-\-type cache-pool VG/CacheDataLV
|
||||||
.br
|
.br
|
||||||
.B lvconvert --type cache --cachepool VG/CachePoolLV VG/OriginLV
|
.B lvconvert \-\-type cache \-\-cachepool VG/CachePoolLV VG/OriginLV
|
||||||
|
|
||||||
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
|
@ -18,75 +18,75 @@ line settings from \-\-config.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-f\fP|\fB--file\fP \fIString\fP ]
|
[ \fB-f\fP|\fB\-\-file\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-l\fP|\fB--list\fP ]
|
[ \fB-l\fP|\fB\-\-list\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--atversion\fP \fIString\fP ]
|
[ \fB\-\-atversion\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--typeconfig\fP \fBcurrent\fP|\fBdefault\fP|\fBdiff\fP|\fBfull\fP|\fBlist\fP|\fBmissing\fP|\fBnew\fP|\fBprofilable\fP|\fBprofilable-command\fP|\fBprofilable-metadata\fP ]
|
[ \fB\-\-typeconfig\fP \fBcurrent\fP|\fBdefault\fP|\fBdiff\fP|\fBfull\fP|\fBlist\fP|\fBmissing\fP|\fBnew\fP|\fBprofilable\fP|\fBprofilable-command\fP|\fBprofilable-metadata\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignoreadvanced\fP ]
|
[ \fB\-\-ignoreadvanced\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignoreunsupported\fP ]
|
[ \fB\-\-ignoreunsupported\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignorelocal\fP ]
|
[ \fB\-\-ignorelocal\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--mergedconfig\fP ]
|
[ \fB\-\-mergedconfig\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--metadataprofile\fP \fIString\fP ]
|
[ \fB\-\-metadataprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--sinceversion\fP \fIString\fP ]
|
[ \fB\-\-sinceversion\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--showdeprecated\fP ]
|
[ \fB\-\-showdeprecated\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--showunsupported\fP ]
|
[ \fB\-\-showunsupported\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--validate\fP ]
|
[ \fB\-\-validate\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--withsummary\fP ]
|
[ \fB\-\-withsummary\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--withcomments\fP ]
|
[ \fB\-\-withcomments\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--withspaces\fP ]
|
[ \fB\-\-withspaces\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--unconfigured\fP ]
|
[ \fB\-\-unconfigured\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--withversions\fP ]
|
[ \fB\-\-withversions\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -100,57 +100,57 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--atversion\fP \fIString\fP
|
\fB\-\-atversion\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Specify an LVM version in x.y.z format where x is the major version,
|
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).
|
||||||
@ -162,14 +162,14 @@ issue a warning message when checking the configuration.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -178,45 +178,45 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--file\fP \fIString\fP
|
\fB-f\fP|\fB\-\-file\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Write output to the named file.
|
Write output to the named file.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoreadvanced\fP
|
\fB\-\-ignoreadvanced\fP
|
||||||
.br
|
.br
|
||||||
Exclude advanced configuration settings from the output.
|
Exclude advanced configuration settings from the output.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelocal\fP
|
\fB\-\-ignorelocal\fP
|
||||||
.br
|
.br
|
||||||
Ignore local section.
|
Ignore local section.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoreunsupported\fP
|
\fB\-\-ignoreunsupported\fP
|
||||||
.br
|
.br
|
||||||
Exclude unsupported configuration settings from the output. These settings are
|
Exclude unsupported configuration settings from the output. These settings are
|
||||||
either used for debugging and development purposes only or their support is not
|
either used for debugging and development purposes only or their support is not
|
||||||
@ -226,24 +226,24 @@ all the other types ignore unsupported settings.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--list\fP
|
\fB-l\fP|\fB\-\-list\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--mergedconfig\fP
|
\fB\-\-mergedconfig\fP
|
||||||
.br
|
.br
|
||||||
When the command is run with --config
|
When the command is run with \-\-config
|
||||||
and/or --commandprofile (or using LVM_COMMAND_PROFILE
|
and/or \-\-commandprofile (or using LVM_COMMAND_PROFILE
|
||||||
environment variable), --profile, or --metadataprofile,
|
environment variable), \-\-profile, or \-\-metadataprofile,
|
||||||
merge all the contents of the "config cascade" before displaying it.
|
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.
|
||||||
@ -251,39 +251,39 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataprofile\fP \fIString\fP
|
\fB\-\-metadataprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--showdeprecated\fP
|
\fB\-\-showdeprecated\fP
|
||||||
.br
|
.br
|
||||||
Include deprecated configuration settings in the output. These settings
|
Include deprecated configuration settings in the output. These settings
|
||||||
are deprecated after a certain version. If a concrete version is specified
|
are deprecated after a certain version. If a concrete version is specified
|
||||||
with --atversion, deprecated settings are automatically included
|
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--showunsupported\fP
|
\fB\-\-showunsupported\fP
|
||||||
.br
|
.br
|
||||||
Include unsupported configuration settings in the output. These settings
|
Include unsupported configuration settings in the output. These settings
|
||||||
are either used for debugging or development purposes only, or their support
|
are either used for debugging or development purposes only, or their support
|
||||||
@ -293,16 +293,16 @@ output by default, all the other types ignore unsupported settings.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--sinceversion\fP \fIString\fP
|
\fB\-\-sinceversion\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Specify an LVM version in x.y.z format where x is the major version,
|
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -312,61 +312,61 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--typeconfig\fP \fBcurrent\fP|\fBdefault\fP|\fBdiff\fP|\fBfull\fP|\fBlist\fP|\fBmissing\fP|\fBnew\fP|\fBprofilable\fP|\fBprofilable-command\fP|\fBprofilable-metadata\fP
|
\fB\-\-typeconfig\fP \fBcurrent\fP|\fBdefault\fP|\fBdiff\fP|\fBfull\fP|\fBlist\fP|\fBmissing\fP|\fBnew\fP|\fBprofilable\fP|\fBprofilable-command\fP|\fBprofilable-metadata\fP
|
||||||
.br
|
.br
|
||||||
See lvmreport(7).
|
See lvmreport(7).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unconfigured\fP
|
\fB\-\-unconfigured\fP
|
||||||
.br
|
.br
|
||||||
Internal option used for generating config file during build.
|
Internal option used for generating config file during build.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--validate\fP
|
\fB\-\-validate\fP
|
||||||
.br
|
.br
|
||||||
Validate current configuration used and exit with appropriate
|
Validate current configuration used and exit with appropriate
|
||||||
return code. The validation is done only for the configuration
|
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--withcomments\fP
|
\fB\-\-withcomments\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--withspaces\fP
|
\fB\-\-withspaces\fP
|
||||||
.br
|
.br
|
||||||
Where appropriate, add more spaces in output for better readability.
|
Where appropriate, add more spaces in output for better readability.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--withsummary\fP
|
\fB\-\-withsummary\fP
|
||||||
.br
|
.br
|
||||||
Display a one line comment for each configuration node.
|
Display a one line comment for each configuration node.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--withversions\fP
|
\fB\-\-withversions\fP
|
||||||
.br
|
.br
|
||||||
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
|
||||||
@ -374,7 +374,7 @@ the version since which it is deprecated.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -396,7 +396,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -20,11 +20,11 @@ This command is deprecated, use \fBpvs\fP instead.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-l\fP|\fB--lvmpartition\fP ]
|
[ \fB-l\fP|\fB\-\-lvmpartition\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--readonly\fP ]
|
[ \fB\-\-readonly\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -35,64 +35,64 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -101,53 +101,53 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--lvmpartition\fP
|
\fB-l\fP|\fB\-\-lvmpartition\fP
|
||||||
.br
|
.br
|
||||||
Only report PVs.
|
Only report PVs.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB\-\-readonly\fP
|
||||||
.br
|
.br
|
||||||
Run the command in a special read-only mode which will read on-disk
|
Run the command in a special read-only mode which will read on-disk
|
||||||
metadata without needing to take any locks. This can be used to peek
|
metadata without needing to take any locks. This can be used to peek
|
||||||
@ -161,7 +161,7 @@ actually in use.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -171,20 +171,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -206,7 +206,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -55,7 +55,7 @@ lvmlockctl [options]
|
|||||||
|
|
||||||
This collects and displays lock state from lvmlockd. The display is
|
This collects and displays lock state from lvmlockd. The display is
|
||||||
primitive, incomplete and will change in future version. To print the raw
|
primitive, incomplete and will change in future version. To print the raw
|
||||||
lock state from lvmlockd, combine this option with --dump|-d.
|
lock state from lvmlockd, combine this option with \-\-dump|-d.
|
||||||
|
|
||||||
.SS dump
|
.SS dump
|
||||||
|
|
||||||
|
@ -687,7 +687,7 @@ original cluster:
|
|||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
Stop the VG on all hosts:
|
Stop the VG on all hosts:
|
||||||
.br
|
.br
|
||||||
vgchange --lock-stop <vgname>
|
vgchange \-\-lock-stop <vgname>
|
||||||
|
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
Change the VG lock type to none:
|
Change the VG lock type to none:
|
||||||
@ -709,7 +709,7 @@ vgchange \-\-lock\-type dlm <vgname>
|
|||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
Start the VG on hosts to use it:
|
Start the VG on hosts to use it:
|
||||||
.br
|
.br
|
||||||
vgchange --lock-start <vgname>
|
vgchange \-\-lock-start <vgname>
|
||||||
|
|
||||||
.P
|
.P
|
||||||
|
|
||||||
@ -738,7 +738,7 @@ vgchange \-\-lock\-type dlm <vgname>
|
|||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
Start the VG on hosts to use it:
|
Start the VG on hosts to use it:
|
||||||
.br
|
.br
|
||||||
vgchange --lock-start <vgname>
|
vgchange \-\-lock-start <vgname>
|
||||||
|
|
||||||
|
|
||||||
.SS changing a local VG to a lockd VG
|
.SS changing a local VG to a lockd VG
|
||||||
|
@ -423,7 +423,7 @@ Each rimage SubLV holds a portion of LV data. No parity is used.
|
|||||||
No RAID metadata is used.
|
No RAID metadata is used.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
lvcreate --type raid0 --stripes 2 --name lvr0 ...
|
lvcreate \-\-type raid0 \-\-stripes 2 \-\-name lvr0 ...
|
||||||
|
|
||||||
lvs -a -o name,segtype,devices
|
lvs -a -o name,segtype,devices
|
||||||
lvr0 raid0 lvr0_rimage_0(0),lvr0_rimage_1(0)
|
lvr0 raid0 lvr0_rimage_0(0),lvr0_rimage_1(0)
|
||||||
@ -437,7 +437,7 @@ Each rimage SubLV holds a complete copy of LV data. No parity is used.
|
|||||||
Each rmeta SubLV holds RAID metadata.
|
Each rmeta SubLV holds RAID metadata.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
lvcreate --type raid1 --mirrors 1 --name lvr1 ...
|
lvcreate \-\-type raid1 \-\-mirrors 1 \-\-name lvr1 ...
|
||||||
|
|
||||||
lvs -a -o name,segtype,devices
|
lvs -a -o name,segtype,devices
|
||||||
lvr1 raid1 lvr1_rimage_0(0),lvr1_rimage_1(0)
|
lvr1 raid1 lvr1_rimage_0(0),lvr1_rimage_1(0)
|
||||||
@ -453,7 +453,7 @@ Two rimage SubLVs each hold a portion of LV data and one rimage SubLV
|
|||||||
holds parity. Each rmeta SubLV holds RAID metadata.
|
holds parity. Each rmeta SubLV holds RAID metadata.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
lvcreate --type raid4 --stripes 2 --name lvr4 ...
|
lvcreate \-\-type raid4 \-\-stripes 2 \-\-name lvr4 ...
|
||||||
|
|
||||||
lvs -a -o name,segtype,devices
|
lvs -a -o name,segtype,devices
|
||||||
lvr4 raid4 lvr4_rimage_0(0),\\
|
lvr4 raid4 lvr4_rimage_0(0),\\
|
||||||
@ -473,7 +473,7 @@ Three rimage SubLVs each hold a portion of LV data and parity.
|
|||||||
Each rmeta SubLV holds RAID metadata.
|
Each rmeta SubLV holds RAID metadata.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
lvcreate --type raid5 --stripes 2 --name lvr5 ...
|
lvcreate \-\-type raid5 \-\-stripes 2 \-\-name lvr5 ...
|
||||||
|
|
||||||
lvs -a -o name,segtype,devices
|
lvs -a -o name,segtype,devices
|
||||||
lvr5 raid5 lvr5_rimage_0(0),\\
|
lvr5 raid5 lvr5_rimage_0(0),\\
|
||||||
@ -493,7 +493,7 @@ Six rimage SubLVs each hold a portion of LV data and parity.
|
|||||||
Each rmeta SubLV holds RAID metadata.
|
Each rmeta SubLV holds RAID metadata.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
lvcreate --type raid6 --stripes 3 --name lvr6
|
lvcreate \-\-type raid6 \-\-stripes 3 \-\-name lvr6
|
||||||
|
|
||||||
lvs -a -o name,segtype,devices
|
lvs -a -o name,segtype,devices
|
||||||
lvr6 raid6 lvr6_rimage_0(0),\\
|
lvr6 raid6 lvr6_rimage_0(0),\\
|
||||||
@ -521,7 +521,7 @@ Four rimage SubLVs each hold a portion of LV data. No parity is used.
|
|||||||
Each rmeta SubLV holds RAID metadata.
|
Each rmeta SubLV holds RAID metadata.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
lvcreate --type raid10 --stripes 2 --mirrors 1 --name lvr10
|
lvcreate \-\-type raid10 \-\-stripes 2 \-\-mirrors 1 \-\-name lvr10
|
||||||
|
|
||||||
lvs -a -o name,segtype,devices
|
lvs -a -o name,segtype,devices
|
||||||
lvr10 raid10 lvr10_rimage_0(0),\\
|
lvr10 raid10 lvr10_rimage_0(0),\\
|
||||||
@ -634,7 +634,7 @@ controls the activation mode when not specified by the command.
|
|||||||
|
|
||||||
The default value is printed by:
|
The default value is printed by:
|
||||||
.nf
|
.nf
|
||||||
lvmconfig --type default activation/activation_mode
|
lvmconfig \-\-type default activation/activation_mode
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
.SS Replacing Devices
|
.SS Replacing Devices
|
||||||
@ -685,11 +685,11 @@ the lvchange command to refresh an LV:
|
|||||||
LV VG Type Attr LSize
|
LV VG Type Attr LSize
|
||||||
raid1 vg raid1 Rwi-a-r-r- 100.00g
|
raid1 vg raid1 Rwi-a-r-r- 100.00g
|
||||||
|
|
||||||
# lvchange --refresh vg/raid1
|
# lvchange \-\-refresh vg/raid1
|
||||||
|
|
||||||
# lvs -o name,vgname,segtype,attr,size vg
|
# lvs -o name,vgname,segtype,attr,size vg
|
||||||
LV VG Type Attr LSize
|
LV VG Type Attr LSize
|
||||||
raid1 vg raid1 Rwi-a-r--- 100.00g
|
raid1 vg raid1 Rwi-a-r\-\-- 100.00g
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
.SS Automatic repair
|
.SS Automatic repair
|
||||||
@ -827,7 +827,7 @@ raid5 to raid6. Changing the RAID level is usually done to increase or
|
|||||||
decrease resilience to device failures or to restripe LVs. This is done
|
decrease resilience to device failures or to restripe LVs. This is done
|
||||||
using lvconvert and specifying the new RAID level as the LV type:
|
using lvconvert and specifying the new RAID level as the LV type:
|
||||||
|
|
||||||
.B lvconvert --type
|
.B lvconvert \-\-type
|
||||||
.I RaidLevel
|
.I RaidLevel
|
||||||
\fIVG\fP/\fILV\fP
|
\fIVG\fP/\fILV\fP
|
||||||
[\fIPVs\fP]
|
[\fIPVs\fP]
|
||||||
@ -906,7 +906,7 @@ between striped/raid0 and raid10.
|
|||||||
LV Type LSize
|
LV Type LSize
|
||||||
lv linear 300.00g
|
lv linear 300.00g
|
||||||
|
|
||||||
# lvconvert --type raid1 --mirrors 1 vg/lv
|
# lvconvert \-\-type raid1 \-\-mirrors 1 vg/lv
|
||||||
|
|
||||||
# lvs -a -o name,segtype,size vg
|
# lvs -a -o name,segtype,size vg
|
||||||
LV Type LSize
|
LV Type LSize
|
||||||
@ -938,7 +938,7 @@ between striped and raid4.
|
|||||||
LV Type LSize
|
LV Type LSize
|
||||||
lv linear 300.00g
|
lv linear 300.00g
|
||||||
|
|
||||||
# lvconvert --type raid1 --mirrors 1 vg/lv
|
# lvconvert \-\-type raid1 \-\-mirrors 1 vg/lv
|
||||||
|
|
||||||
# lvs -a -o name,segtype,size vg
|
# lvs -a -o name,segtype,size vg
|
||||||
LV Type LSize
|
LV Type LSize
|
||||||
@ -959,7 +959,7 @@ between striped and raid4.
|
|||||||
[lv_mimage_1] linear 100.00g
|
[lv_mimage_1] linear 100.00g
|
||||||
[lv_mlog] linear 3.00m
|
[lv_mlog] linear 3.00m
|
||||||
|
|
||||||
# lvconvert --type raid1 vg/lv
|
# lvconvert \-\-type raid1 vg/lv
|
||||||
|
|
||||||
# lvs -a -o name,segtype,size vg
|
# lvs -a -o name,segtype,size vg
|
||||||
LV Type LSize
|
LV Type LSize
|
||||||
@ -980,7 +980,7 @@ Start with a linear LV:
|
|||||||
Convert the linear LV to raid1 with three images
|
Convert the linear LV to raid1 with three images
|
||||||
(original linear image plus 2 mirror images):
|
(original linear image plus 2 mirror images):
|
||||||
|
|
||||||
# lvconvert --type raid1 --mirrors 2 vg/lv
|
# lvconvert \-\-type raid1 \-\-mirrors 2 vg/lv
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
4. Converting an LV from \fBstriped\fP (with 4 stripes) to \fBraid6_nc\fP.
|
4. Converting an LV from \fBstriped\fP (with 4 stripes) to \fBraid6_nc\fP.
|
||||||
@ -988,11 +988,11 @@ Convert the linear LV to raid1 with three images
|
|||||||
.nf
|
.nf
|
||||||
Start with a striped LV:
|
Start with a striped LV:
|
||||||
|
|
||||||
# lvcreate --stripes 4 -L64M -n lv vg
|
# lvcreate \-\-stripes 4 -L64M -n lv vg
|
||||||
|
|
||||||
Convert the striped LV to raid6_n_6:
|
Convert the striped LV to raid6_n_6:
|
||||||
|
|
||||||
# lvconvert --type raid6 vg/lv
|
# lvconvert \-\-type raid6 vg/lv
|
||||||
|
|
||||||
# lvs -a -o lv_name,segtype,sync_percent,data_copies
|
# lvs -a -o lv_name,segtype,sync_percent,data_copies
|
||||||
LV Type Cpy%Sync #Cpy
|
LV Type Cpy%Sync #Cpy
|
||||||
@ -1061,7 +1061,7 @@ traditional RAID6.
|
|||||||
[lv_rmeta_4] linear
|
[lv_rmeta_4] linear
|
||||||
[lv_rmeta_5] linear
|
[lv_rmeta_5] linear
|
||||||
|
|
||||||
# lvconvert --type raid6_nr vg/lv
|
# lvconvert \-\-type raid6_nr vg/lv
|
||||||
|
|
||||||
# lvs -a -o lv_name,segtype,sync_percent,data_copies
|
# lvs -a -o lv_name,segtype,sync_percent,data_copies
|
||||||
LV Type Cpy%Sync #Cpy
|
LV Type Cpy%Sync #Cpy
|
||||||
@ -1114,7 +1114,7 @@ For performance reasons the raid6_nr RaidLV can be restriped.
|
|||||||
Convert it from 3-way striped to 5-way-striped.
|
Convert it from 3-way striped to 5-way-striped.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvconvert --stripes 5 -y tb/lv
|
# lvconvert \-\-stripes 5 -y tb/lv
|
||||||
Using default stripesize 64.00 KiB.
|
Using default stripesize 64.00 KiB.
|
||||||
WARNING: Adding stripes to active logical volume tb/lv will grow it from 99 to 165 extents!
|
WARNING: Adding stripes to active logical volume tb/lv will grow it from 99 to 165 extents!
|
||||||
Run "lvresize -l99 tb/lv" to shrink it or use the additional capacity.
|
Run "lvresize -l99 tb/lv" to shrink it or use the additional capacity.
|
||||||
@ -1122,30 +1122,30 @@ Convert it from 3-way striped to 5-way-striped.
|
|||||||
|
|
||||||
# lvs
|
# lvs
|
||||||
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
|
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
|
||||||
root fedora -wi-ao---- 15.00g
|
root fedora -wi-ao\-\-\-\- 15.00g
|
||||||
swap fedora -wi-ao---- 3.99g
|
swap fedora -wi-ao\-\-\-\- 3.99g
|
||||||
lv tb rwi-a-r-s- 652.00m 52.94
|
lv tb rwi-a-r-s- 652.00m 52.94
|
||||||
|
|
||||||
# lvs -a -o lv_name,attr,segtype,seg_pe_ranges,dataoffset tb
|
# lvs -a -o lv_name,attr,segtype,seg_pe_ranges,dataoffset tb
|
||||||
LV Attr Type PE Ranges DOff
|
LV Attr Type PE Ranges DOff
|
||||||
lv rwi-a-r--- raid6_nr lv_rimage_0:0-33 lv_rimage_1:0-33 lv_rimage_2:0-33 ... lv_rimage_5:0-33 lv_rimage_6:0-33 0
|
lv rwi-a-r\-\-- raid6_nr lv_rimage_0:0-33 lv_rimage_1:0-33 lv_rimage_2:0-33 ... lv_rimage_5:0-33 lv_rimage_6:0-33 0
|
||||||
[lv_rimage_0] iwi-aor--- linear /dev/sda:0-32 0
|
[lv_rimage_0] iwi-aor\-\-- linear /dev/sda:0-32 0
|
||||||
[lv_rimage_0] iwi-aor--- linear /dev/sda:34-34
|
[lv_rimage_0] iwi-aor\-\-- linear /dev/sda:34-34
|
||||||
[lv_rimage_1] iwi-aor--- linear /dev/sdaa:0-32 0
|
[lv_rimage_1] iwi-aor\-\-- linear /dev/sdaa:0-32 0
|
||||||
[lv_rimage_1] iwi-aor--- linear /dev/sdaa:34-34
|
[lv_rimage_1] iwi-aor\-\-- linear /dev/sdaa:34-34
|
||||||
[lv_rimage_2] iwi-aor--- linear /dev/sdab:0-32 0
|
[lv_rimage_2] iwi-aor\-\-- linear /dev/sdab:0-32 0
|
||||||
[lv_rimage_2] iwi-aor--- linear /dev/sdab:34-34
|
[lv_rimage_2] iwi-aor\-\-- linear /dev/sdab:34-34
|
||||||
[lv_rimage_3] iwi-aor--- linear /dev/sdac:1-34 0
|
[lv_rimage_3] iwi-aor\-\-- linear /dev/sdac:1-34 0
|
||||||
[lv_rimage_4] iwi-aor--- linear /dev/sdad:1-34 0
|
[lv_rimage_4] iwi-aor\-\-- linear /dev/sdad:1-34 0
|
||||||
[lv_rimage_5] iwi-aor--- linear /dev/sdae:1-34 0
|
[lv_rimage_5] iwi-aor\-\-- linear /dev/sdae:1-34 0
|
||||||
[lv_rimage_6] iwi-aor--- linear /dev/sdaf:1-34 0
|
[lv_rimage_6] iwi-aor\-\-- linear /dev/sdaf:1-34 0
|
||||||
[lv_rmeta_0] ewi-aor--- linear /dev/sda:33-33
|
[lv_rmeta_0] ewi-aor\-\-- linear /dev/sda:33-33
|
||||||
[lv_rmeta_1] ewi-aor--- linear /dev/sdaa:33-33
|
[lv_rmeta_1] ewi-aor\-\-- linear /dev/sdaa:33-33
|
||||||
[lv_rmeta_2] ewi-aor--- linear /dev/sdab:33-33
|
[lv_rmeta_2] ewi-aor\-\-- linear /dev/sdab:33-33
|
||||||
[lv_rmeta_3] ewi-aor--- linear /dev/sdac:0-0
|
[lv_rmeta_3] ewi-aor\-\-- linear /dev/sdac:0-0
|
||||||
[lv_rmeta_4] ewi-aor--- linear /dev/sdad:0-0
|
[lv_rmeta_4] ewi-aor\-\-- linear /dev/sdad:0-0
|
||||||
[lv_rmeta_5] ewi-aor--- linear /dev/sdae:0-0
|
[lv_rmeta_5] ewi-aor\-\-- linear /dev/sdae:0-0
|
||||||
[lv_rmeta_6] ewi-aor--- linear /dev/sdaf:0-0
|
[lv_rmeta_6] ewi-aor\-\-- linear /dev/sdaf:0-0
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
Stripes also can be removed from raid5 and 6.
|
Stripes also can be removed from raid5 and 6.
|
||||||
@ -1154,34 +1154,34 @@ The force option needs to be used, because removing stripes
|
|||||||
(i.e. image SubLVs) from a RaidLV will shrink its size.
|
(i.e. image SubLVs) from a RaidLV will shrink its size.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvconvert --stripes 4 --force -y tb/lv
|
# lvconvert \-\-stripes 4 \-\-force -y tb/lv
|
||||||
Using default stripesize 64.00 KiB.
|
Using default stripesize 64.00 KiB.
|
||||||
WARNING: Removing stripes from active logical volume tb/lv will shrink it from 660.00 MiB to 528.00 MiB!
|
WARNING: Removing stripes from active logical volume tb/lv will shrink it from 660.00 MiB to 528.00 MiB!
|
||||||
THIS MAY DESTROY (PARTS OF) YOUR DATA!
|
THIS MAY DESTROY (PARTS OF) YOUR DATA!
|
||||||
If that leaves the logical volume larger than 206 extents due to stripe rounding,
|
If that leaves the logical volume larger than 206 extents due to stripe rounding,
|
||||||
you may want to grow the content afterwards (filesystem etc.)
|
you may want to grow the content afterwards (filesystem etc.)
|
||||||
WARNING: too remove freed stripes after the conversion has finished, you have to run "lvconvert --stripes 4 tb/lv"
|
WARNING: too remove freed stripes after the conversion has finished, you have to run "lvconvert \-\-stripes 4 tb/lv"
|
||||||
Logical volume tb/lv successfully converted.
|
Logical volume tb/lv successfully converted.
|
||||||
|
|
||||||
# lvs -a -o lv_name,attr,segtype,seg_pe_ranges,dataoffset tb
|
# lvs -a -o lv_name,attr,segtype,seg_pe_ranges,dataoffset tb
|
||||||
LV Attr Type PE Ranges DOff
|
LV Attr Type PE Ranges DOff
|
||||||
lv rwi-a-r-s- raid6_nr lv_rimage_0:0-33 lv_rimage_1:0-33 lv_rimage_2:0-33 ... lv_rimage_5:0-33 lv_rimage_6:0-33 0
|
lv rwi-a-r-s- raid6_nr lv_rimage_0:0-33 lv_rimage_1:0-33 lv_rimage_2:0-33 ... lv_rimage_5:0-33 lv_rimage_6:0-33 0
|
||||||
[lv_rimage_0] Iwi-aor--- linear /dev/sda:0-32 0
|
[lv_rimage_0] Iwi-aor\-\-- linear /dev/sda:0-32 0
|
||||||
[lv_rimage_0] Iwi-aor--- linear /dev/sda:34-34
|
[lv_rimage_0] Iwi-aor\-\-- linear /dev/sda:34-34
|
||||||
[lv_rimage_1] Iwi-aor--- linear /dev/sdaa:0-32 0
|
[lv_rimage_1] Iwi-aor\-\-- linear /dev/sdaa:0-32 0
|
||||||
[lv_rimage_1] Iwi-aor--- linear /dev/sdaa:34-34
|
[lv_rimage_1] Iwi-aor\-\-- linear /dev/sdaa:34-34
|
||||||
[lv_rimage_2] Iwi-aor--- linear /dev/sdab:0-32 0
|
[lv_rimage_2] Iwi-aor\-\-- linear /dev/sdab:0-32 0
|
||||||
[lv_rimage_2] Iwi-aor--- linear /dev/sdab:34-34
|
[lv_rimage_2] Iwi-aor\-\-- linear /dev/sdab:34-34
|
||||||
[lv_rimage_3] Iwi-aor--- linear /dev/sdac:1-34 0
|
[lv_rimage_3] Iwi-aor\-\-- linear /dev/sdac:1-34 0
|
||||||
[lv_rimage_4] Iwi-aor--- linear /dev/sdad:1-34 0
|
[lv_rimage_4] Iwi-aor\-\-- linear /dev/sdad:1-34 0
|
||||||
[lv_rimage_5] Iwi-aor--- linear /dev/sdae:1-34 0
|
[lv_rimage_5] Iwi-aor\-\-- linear /dev/sdae:1-34 0
|
||||||
[lv_rimage_6] Iwi-aor-R- linear /dev/sdaf:1-34 0
|
[lv_rimage_6] Iwi-aor-R- linear /dev/sdaf:1-34 0
|
||||||
[lv_rmeta_0] ewi-aor--- linear /dev/sda:33-33
|
[lv_rmeta_0] ewi-aor\-\-- linear /dev/sda:33-33
|
||||||
[lv_rmeta_1] ewi-aor--- linear /dev/sdaa:33-33
|
[lv_rmeta_1] ewi-aor\-\-- linear /dev/sdaa:33-33
|
||||||
[lv_rmeta_2] ewi-aor--- linear /dev/sdab:33-33
|
[lv_rmeta_2] ewi-aor\-\-- linear /dev/sdab:33-33
|
||||||
[lv_rmeta_3] ewi-aor--- linear /dev/sdac:0-0
|
[lv_rmeta_3] ewi-aor\-\-- linear /dev/sdac:0-0
|
||||||
[lv_rmeta_4] ewi-aor--- linear /dev/sdad:0-0
|
[lv_rmeta_4] ewi-aor\-\-- linear /dev/sdad:0-0
|
||||||
[lv_rmeta_5] ewi-aor--- linear /dev/sdae:0-0
|
[lv_rmeta_5] ewi-aor\-\-- linear /dev/sdae:0-0
|
||||||
[lv_rmeta_6] ewi-aor-R- linear /dev/sdaf:0-0
|
[lv_rmeta_6] ewi-aor-R- linear /dev/sdaf:0-0
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
@ -1202,84 +1202,84 @@ Now that the reshape is finished the 'R' atribute on the RaidLV shows images can
|
|||||||
lv rwi-a-r-R- raid6_nr lv_rimage_0:0-33 lv_rimage_1:0-33 lv_rimage_2:0-33 ... lv_rimage_5:0-33 lv_rimage_6:0-33 8192
|
lv rwi-a-r-R- raid6_nr lv_rimage_0:0-33 lv_rimage_1:0-33 lv_rimage_2:0-33 ... lv_rimage_5:0-33 lv_rimage_6:0-33 8192
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
This is achieved by repeating the command ("lvconvert --stripes 4 tb/lv" would be sufficient).
|
This is achieved by repeating the command ("lvconvert \-\-stripes 4 tb/lv" would be sufficient).
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvconvert --stripes 4 --force -y tb/lv
|
# lvconvert \-\-stripes 4 \-\-force -y tb/lv
|
||||||
Using default stripesize 64.00 KiB.
|
Using default stripesize 64.00 KiB.
|
||||||
Logical volume tb/lv successfully converted.
|
Logical volume tb/lv successfully converted.
|
||||||
|
|
||||||
# lvs -a -o lv_name,attr,segtype,seg_pe_ranges,dataoffset tb
|
# lvs -a -o lv_name,attr,segtype,seg_pe_ranges,dataoffset tb
|
||||||
LV Attr Type PE Ranges DOff
|
LV Attr Type PE Ranges DOff
|
||||||
lv rwi-a-r--- raid6_nr lv_rimage_0:0-33 lv_rimage_1:0-33 lv_rimage_2:0-33 ... lv_rimage_5:0-33 8192
|
lv rwi-a-r\-\-- raid6_nr lv_rimage_0:0-33 lv_rimage_1:0-33 lv_rimage_2:0-33 ... lv_rimage_5:0-33 8192
|
||||||
[lv_rimage_0] iwi-aor--- linear /dev/sda:0-32 8192
|
[lv_rimage_0] iwi-aor\-\-- linear /dev/sda:0-32 8192
|
||||||
[lv_rimage_0] iwi-aor--- linear /dev/sda:34-34
|
[lv_rimage_0] iwi-aor\-\-- linear /dev/sda:34-34
|
||||||
[lv_rimage_1] iwi-aor--- linear /dev/sdaa:0-32 8192
|
[lv_rimage_1] iwi-aor\-\-- linear /dev/sdaa:0-32 8192
|
||||||
[lv_rimage_1] iwi-aor--- linear /dev/sdaa:34-34
|
[lv_rimage_1] iwi-aor\-\-- linear /dev/sdaa:34-34
|
||||||
[lv_rimage_2] iwi-aor--- linear /dev/sdab:0-32 8192
|
[lv_rimage_2] iwi-aor\-\-- linear /dev/sdab:0-32 8192
|
||||||
[lv_rimage_2] iwi-aor--- linear /dev/sdab:34-34
|
[lv_rimage_2] iwi-aor\-\-- linear /dev/sdab:34-34
|
||||||
[lv_rimage_3] iwi-aor--- linear /dev/sdac:1-34 8192
|
[lv_rimage_3] iwi-aor\-\-- linear /dev/sdac:1-34 8192
|
||||||
[lv_rimage_4] iwi-aor--- linear /dev/sdad:1-34 8192
|
[lv_rimage_4] iwi-aor\-\-- linear /dev/sdad:1-34 8192
|
||||||
[lv_rimage_5] iwi-aor--- linear /dev/sdae:1-34 8192
|
[lv_rimage_5] iwi-aor\-\-- linear /dev/sdae:1-34 8192
|
||||||
[lv_rmeta_0] ewi-aor--- linear /dev/sda:33-33
|
[lv_rmeta_0] ewi-aor\-\-- linear /dev/sda:33-33
|
||||||
[lv_rmeta_1] ewi-aor--- linear /dev/sdaa:33-33
|
[lv_rmeta_1] ewi-aor\-\-- linear /dev/sdaa:33-33
|
||||||
[lv_rmeta_2] ewi-aor--- linear /dev/sdab:33-33
|
[lv_rmeta_2] ewi-aor\-\-- linear /dev/sdab:33-33
|
||||||
[lv_rmeta_3] ewi-aor--- linear /dev/sdac:0-0
|
[lv_rmeta_3] ewi-aor\-\-- linear /dev/sdac:0-0
|
||||||
[lv_rmeta_4] ewi-aor--- linear /dev/sdad:0-0
|
[lv_rmeta_4] ewi-aor\-\-- linear /dev/sdad:0-0
|
||||||
[lv_rmeta_5] ewi-aor--- linear /dev/sdae:0-0
|
[lv_rmeta_5] ewi-aor\-\-- linear /dev/sdae:0-0
|
||||||
|
|
||||||
# lvs -a -o lv_name,attr,segtype,reshapelen tb
|
# lvs -a -o lv_name,attr,segtype,reshapelen tb
|
||||||
LV Attr Type RSize
|
LV Attr Type RSize
|
||||||
lv rwi-a-r--- raid6_nr 24.00m
|
lv rwi-a-r\-\-- raid6_nr 24.00m
|
||||||
[lv_rimage_0] iwi-aor--- linear 4.00m
|
[lv_rimage_0] iwi-aor\-\-- linear 4.00m
|
||||||
[lv_rimage_0] iwi-aor--- linear
|
[lv_rimage_0] iwi-aor\-\-- linear
|
||||||
[lv_rimage_1] iwi-aor--- linear 4.00m
|
[lv_rimage_1] iwi-aor\-\-- linear 4.00m
|
||||||
[lv_rimage_1] iwi-aor--- linear
|
[lv_rimage_1] iwi-aor\-\-- linear
|
||||||
[lv_rimage_2] iwi-aor--- linear 4.00m
|
[lv_rimage_2] iwi-aor\-\-- linear 4.00m
|
||||||
[lv_rimage_2] iwi-aor--- linear
|
[lv_rimage_2] iwi-aor\-\-- linear
|
||||||
[lv_rimage_3] iwi-aor--- linear 4.00m
|
[lv_rimage_3] iwi-aor\-\-- linear 4.00m
|
||||||
[lv_rimage_4] iwi-aor--- linear 4.00m
|
[lv_rimage_4] iwi-aor\-\-- linear 4.00m
|
||||||
[lv_rimage_5] iwi-aor--- linear 4.00m
|
[lv_rimage_5] iwi-aor\-\-- linear 4.00m
|
||||||
[lv_rmeta_0] ewi-aor--- linear
|
[lv_rmeta_0] ewi-aor\-\-- linear
|
||||||
[lv_rmeta_1] ewi-aor--- linear
|
[lv_rmeta_1] ewi-aor\-\-- linear
|
||||||
[lv_rmeta_2] ewi-aor--- linear
|
[lv_rmeta_2] ewi-aor\-\-- linear
|
||||||
[lv_rmeta_3] ewi-aor--- linear
|
[lv_rmeta_3] ewi-aor\-\-- linear
|
||||||
[lv_rmeta_4] ewi-aor--- linear
|
[lv_rmeta_4] ewi-aor\-\-- linear
|
||||||
[lv_rmeta_5] ewi-aor--- linear
|
[lv_rmeta_5] ewi-aor\-\-- linear
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
If the reshape space shall be removed any lvconvert command not changing the layout can be used:
|
If the reshape space shall be removed any lvconvert command not changing the layout can be used:
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvconvert --stripes 4 tb/lv
|
# lvconvert \-\-stripes 4 tb/lv
|
||||||
Using default stripesize 64.00 KiB.
|
Using default stripesize 64.00 KiB.
|
||||||
No change in RAID LV tb/lv layout, freeing reshape space.
|
No change in RAID LV tb/lv layout, freeing reshape space.
|
||||||
Logical volume tb/lv successfully converted.
|
Logical volume tb/lv successfully converted.
|
||||||
|
|
||||||
# lvs -a -o lv_name,attr,segtype,reshapelen tb
|
# lvs -a -o lv_name,attr,segtype,reshapelen tb
|
||||||
LV Attr Type RSize
|
LV Attr Type RSize
|
||||||
lv rwi-a-r--- raid6_nr 0
|
lv rwi-a-r\-\-- raid6_nr 0
|
||||||
[lv_rimage_0] iwi-aor--- linear 0
|
[lv_rimage_0] iwi-aor\-\-- linear 0
|
||||||
[lv_rimage_0] iwi-aor--- linear
|
[lv_rimage_0] iwi-aor\-\-- linear
|
||||||
[lv_rimage_1] iwi-aor--- linear 0
|
[lv_rimage_1] iwi-aor\-\-- linear 0
|
||||||
[lv_rimage_1] iwi-aor--- linear
|
[lv_rimage_1] iwi-aor\-\-- linear
|
||||||
[lv_rimage_2] iwi-aor--- linear 0
|
[lv_rimage_2] iwi-aor\-\-- linear 0
|
||||||
[lv_rimage_2] iwi-aor--- linear
|
[lv_rimage_2] iwi-aor\-\-- linear
|
||||||
[lv_rimage_3] iwi-aor--- linear 0
|
[lv_rimage_3] iwi-aor\-\-- linear 0
|
||||||
[lv_rimage_4] iwi-aor--- linear 0
|
[lv_rimage_4] iwi-aor\-\-- linear 0
|
||||||
[lv_rimage_5] iwi-aor--- linear 0
|
[lv_rimage_5] iwi-aor\-\-- linear 0
|
||||||
[lv_rmeta_0] ewi-aor--- linear
|
[lv_rmeta_0] ewi-aor\-\-- linear
|
||||||
[lv_rmeta_1] ewi-aor--- linear
|
[lv_rmeta_1] ewi-aor\-\-- linear
|
||||||
[lv_rmeta_2] ewi-aor--- linear
|
[lv_rmeta_2] ewi-aor\-\-- linear
|
||||||
[lv_rmeta_3] ewi-aor--- linear
|
[lv_rmeta_3] ewi-aor\-\-- linear
|
||||||
[lv_rmeta_4] ewi-aor--- linear
|
[lv_rmeta_4] ewi-aor\-\-- linear
|
||||||
[lv_rmeta_5] ewi-aor--- linear
|
[lv_rmeta_5] ewi-aor\-\-- linear
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
In case the RaidLV should be converted to striped:
|
In case the RaidLV should be converted to striped:
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvconvert --type striped tb/lv
|
# lvconvert \-\-type striped tb/lv
|
||||||
Unable to convert LV tb/lv from raid6_nr to striped.
|
Unable to convert LV tb/lv from raid6_nr to striped.
|
||||||
Converting tb/lv from raid6_nr is directly possible to the following layouts:
|
Converting tb/lv from raid6_nr is directly possible to the following layouts:
|
||||||
raid6_nc
|
raid6_nc
|
||||||
@ -1290,55 +1290,55 @@ In case the RaidLV should be converted to striped:
|
|||||||
raid6_rs_6
|
raid6_rs_6
|
||||||
raid6_n_6
|
raid6_n_6
|
||||||
|
|
||||||
# lvconvert --type raid6_n_6
|
# lvconvert \-\-type raid6_n_6
|
||||||
Using default stripesize 64.00 KiB.
|
Using default stripesize 64.00 KiB.
|
||||||
Converting raid6_nr LV tb/lv to raid6_n_6.
|
Converting raid6_nr LV tb/lv to raid6_n_6.
|
||||||
Are you sure you want to convert raid6_nr LV tb/lv? [y/n]: y
|
Are you sure you want to convert raid6_nr LV tb/lv? [y/n]: y
|
||||||
Logical volume tb/lv successfully converted.
|
Logical volume tb/lv successfully converted.
|
||||||
|
|
||||||
# lvconvert -y --type striped tb/lv
|
# lvconvert -y \-\-type striped tb/lv
|
||||||
Logical volume tb/lv successfully converted.
|
Logical volume tb/lv successfully converted.
|
||||||
|
|
||||||
[root@vm46 ~]# lvs -o lv_name,attr,segtype,seg_pe_ranges,dataoffset tb
|
[root@vm46 ~]# lvs -o lv_name,attr,segtype,seg_pe_ranges,dataoffset tb
|
||||||
LV Attr Type PE Ranges DOff
|
LV Attr Type PE Ranges DOff
|
||||||
lv -wi-a----- striped /dev/sda:2-32 /dev/sdaa:2-32 /dev/sdab:2-32 /dev/sdac:3-33
|
lv -wi-a\-\-\-\-- striped /dev/sda:2-32 /dev/sdaa:2-32 /dev/sdab:2-32 /dev/sdac:3-33
|
||||||
lv -wi-a----- striped /dev/sda:34-35 /dev/sdaa:34-35 /dev/sdab:34-35 /dev/sdac:34-35
|
lv -wi-a\-\-\-\-- striped /dev/sda:34-35 /dev/sdaa:34-35 /dev/sdab:34-35 /dev/sdac:34-35
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
From striped we can convert to raid10
|
From striped we can convert to raid10
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvconvert -y --type raid10 tb/lv
|
# lvconvert -y \-\-type raid10 tb/lv
|
||||||
Using default stripesize 64.00 KiB.
|
Using default stripesize 64.00 KiB.
|
||||||
Logical volume tb/lv successfully converted.
|
Logical volume tb/lv successfully converted.
|
||||||
|
|
||||||
# lvs -o lv_name,attr,segtype,seg_pe_ranges,dataoffset tb
|
# lvs -o lv_name,attr,segtype,seg_pe_ranges,dataoffset tb
|
||||||
LV Attr Type PE Ranges DOff
|
LV Attr Type PE Ranges DOff
|
||||||
lv rwi-a-r--- raid10 lv_rimage_0:0-32 lv_rimage_4:0-32 lv_rimage_1:0-32 ... lv_rimage_3:0-32 lv_rimage_7:0-32 0
|
lv rwi-a-r\-\-- raid10 lv_rimage_0:0-32 lv_rimage_4:0-32 lv_rimage_1:0-32 ... lv_rimage_3:0-32 lv_rimage_7:0-32 0
|
||||||
|
|
||||||
# lvs -a -o lv_name,attr,segtype,seg_pe_ranges,dataoffset tb
|
# lvs -a -o lv_name,attr,segtype,seg_pe_ranges,dataoffset tb
|
||||||
WARNING: Cannot find matching striped segment for tb/lv_rimage_3.
|
WARNING: Cannot find matching striped segment for tb/lv_rimage_3.
|
||||||
LV Attr Type PE Ranges DOff
|
LV Attr Type PE Ranges DOff
|
||||||
lv rwi-a-r--- raid10 lv_rimage_0:0-32 lv_rimage_4:0-32 lv_rimage_1:0-32 ... lv_rimage_3:0-32 lv_rimage_7:0-32 0
|
lv rwi-a-r\-\-- raid10 lv_rimage_0:0-32 lv_rimage_4:0-32 lv_rimage_1:0-32 ... lv_rimage_3:0-32 lv_rimage_7:0-32 0
|
||||||
[lv_rimage_0] iwi-aor--- linear /dev/sda:2-32 0
|
[lv_rimage_0] iwi-aor\-\-- linear /dev/sda:2-32 0
|
||||||
[lv_rimage_0] iwi-aor--- linear /dev/sda:34-35
|
[lv_rimage_0] iwi-aor\-\-- linear /dev/sda:34-35
|
||||||
[lv_rimage_1] iwi-aor--- linear /dev/sdaa:2-32 0
|
[lv_rimage_1] iwi-aor\-\-- linear /dev/sdaa:2-32 0
|
||||||
[lv_rimage_1] iwi-aor--- linear /dev/sdaa:34-35
|
[lv_rimage_1] iwi-aor\-\-- linear /dev/sdaa:34-35
|
||||||
[lv_rimage_2] iwi-aor--- linear /dev/sdab:2-32 0
|
[lv_rimage_2] iwi-aor\-\-- linear /dev/sdab:2-32 0
|
||||||
[lv_rimage_2] iwi-aor--- linear /dev/sdab:34-35
|
[lv_rimage_2] iwi-aor\-\-- linear /dev/sdab:34-35
|
||||||
[lv_rimage_3] iwi-XXr--- linear /dev/sdac:3-35 0
|
[lv_rimage_3] iwi-XXr\-\-- linear /dev/sdac:3-35 0
|
||||||
[lv_rimage_4] iwi-aor--- linear /dev/sdad:1-33 0
|
[lv_rimage_4] iwi-aor\-\-- linear /dev/sdad:1-33 0
|
||||||
[lv_rimage_5] iwi-aor--- linear /dev/sdae:1-33 0
|
[lv_rimage_5] iwi-aor\-\-- linear /dev/sdae:1-33 0
|
||||||
[lv_rimage_6] iwi-aor--- linear /dev/sdaf:1-33 0
|
[lv_rimage_6] iwi-aor\-\-- linear /dev/sdaf:1-33 0
|
||||||
[lv_rimage_7] iwi-aor--- linear /dev/sdag:1-33 0
|
[lv_rimage_7] iwi-aor\-\-- linear /dev/sdag:1-33 0
|
||||||
[lv_rmeta_0] ewi-aor--- linear /dev/sda:0-0
|
[lv_rmeta_0] ewi-aor\-\-- linear /dev/sda:0-0
|
||||||
[lv_rmeta_1] ewi-aor--- linear /dev/sdaa:0-0
|
[lv_rmeta_1] ewi-aor\-\-- linear /dev/sdaa:0-0
|
||||||
[lv_rmeta_2] ewi-aor--- linear /dev/sdab:0-0
|
[lv_rmeta_2] ewi-aor\-\-- linear /dev/sdab:0-0
|
||||||
[lv_rmeta_3] ewi-aor--- linear /dev/sdac:0-0
|
[lv_rmeta_3] ewi-aor\-\-- linear /dev/sdac:0-0
|
||||||
[lv_rmeta_4] ewi-aor--- linear /dev/sdad:0-0
|
[lv_rmeta_4] ewi-aor\-\-- linear /dev/sdad:0-0
|
||||||
[lv_rmeta_5] ewi-aor--- linear /dev/sdae:0-0
|
[lv_rmeta_5] ewi-aor\-\-- linear /dev/sdae:0-0
|
||||||
[lv_rmeta_6] ewi-aor--- linear /dev/sdaf:0-0
|
[lv_rmeta_6] ewi-aor\-\-- linear /dev/sdaf:0-0
|
||||||
[lv_rmeta_7] ewi-aor--- linear /dev/sdag:0-0
|
[lv_rmeta_7] ewi-aor\-\-- linear /dev/sdag:0-0
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
raid10 allows to add stripes but can't remove them.
|
raid10 allows to add stripes but can't remove them.
|
||||||
@ -1353,7 +1353,7 @@ We start with the linear LV.
|
|||||||
.nf
|
.nf
|
||||||
# lvs -aoname,attr,size,segtype,syncpercent,datastripes,stripesize,reshapelenle,devices vg
|
# lvs -aoname,attr,size,segtype,syncpercent,datastripes,stripesize,reshapelenle,devices vg
|
||||||
LV Attr LSize Type Cpy%Sync #DStr Stripe RSize Devices
|
LV Attr LSize Type Cpy%Sync #DStr Stripe RSize Devices
|
||||||
lv -wi-a----- 128.00m linear 1 0 /dev/sda(0)
|
lv -wi-a\-\-\-\-- 128.00m linear 1 0 /dev/sda(0)
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
Then convert it to a 2-way raid1.
|
Then convert it to a 2-way raid1.
|
||||||
@ -1364,11 +1364,11 @@ Then convert it to a 2-way raid1.
|
|||||||
|
|
||||||
# lvs -aoname,attr,size,segtype,syncpercent,datastripes,stripesize,reshapelenle,devices vg
|
# lvs -aoname,attr,size,segtype,syncpercent,datastripes,stripesize,reshapelenle,devices vg
|
||||||
LV Attr LSize Type Cpy%Sync #DStr Stripe RSize Devices
|
LV Attr LSize Type Cpy%Sync #DStr Stripe RSize Devices
|
||||||
lv rwi-a-r--- 128.00m raid1 100.00 2 0 lv_rimage_0(0),lv_rimage_1(0)
|
lv rwi-a-r\-\-- 128.00m raid1 100.00 2 0 lv_rimage_0(0),lv_rimage_1(0)
|
||||||
[lv_rimage_0] iwi-aor--- 128.00m linear 1 0 /dev/sda(0)
|
[lv_rimage_0] iwi-aor\-\-- 128.00m linear 1 0 /dev/sda(0)
|
||||||
[lv_rimage_1] iwi-aor--- 128.00m linear 1 0 /dev/sdhx(1)
|
[lv_rimage_1] iwi-aor\-\-- 128.00m linear 1 0 /dev/sdhx(1)
|
||||||
[lv_rmeta_0] ewi-aor--- 4.00m linear 1 0 /dev/sda(32)
|
[lv_rmeta_0] ewi-aor\-\-- 4.00m linear 1 0 /dev/sda(32)
|
||||||
[lv_rmeta_1] ewi-aor--- 4.00m linear 1 0 /dev/sdhx(0)
|
[lv_rmeta_1] ewi-aor\-\-- 4.00m linear 1 0 /dev/sdhx(0)
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
Once the raid1 LV is fully synchronized we convert it to raid5_n (only 2-way raid1
|
Once the raid1 LV is fully synchronized we convert it to raid5_n (only 2-way raid1
|
||||||
@ -1377,17 +1377,17 @@ SubLVs at the end and can be converted to striped directly without any additiona
|
|||||||
conversion.
|
conversion.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvconvert -y --ty raid5_n vg/lv
|
# lvconvert -y \-\-ty raid5_n vg/lv
|
||||||
Using default stripesize 64.00 KiB.
|
Using default stripesize 64.00 KiB.
|
||||||
Logical volume vg/lv successfully converted.
|
Logical volume vg/lv successfully converted.
|
||||||
|
|
||||||
# lvs -aoname,attr,size,segtype,syncpercent,datastripes,stripesize,reshapelenle,devices vg
|
# lvs -aoname,attr,size,segtype,syncpercent,datastripes,stripesize,reshapelenle,devices vg
|
||||||
LV Attr LSize Type Cpy%Sync #DStr Stripe RSize Devices
|
LV Attr LSize Type Cpy%Sync #DStr Stripe RSize Devices
|
||||||
lv rwi-a-r--- 128.00m raid5_n 100.00 1 64.00k 0 lv_rimage_0(0),lv_rimage_1(0)
|
lv rwi-a-r\-\-- 128.00m raid5_n 100.00 1 64.00k 0 lv_rimage_0(0),lv_rimage_1(0)
|
||||||
[lv_rimage_0] iwi-aor--- 128.00m linear 1 0 0 /dev/sda(0)
|
[lv_rimage_0] iwi-aor\-\-- 128.00m linear 1 0 0 /dev/sda(0)
|
||||||
[lv_rimage_1] iwi-aor--- 128.00m linear 1 0 0 /dev/sdhx(1)
|
[lv_rimage_1] iwi-aor\-\-- 128.00m linear 1 0 0 /dev/sdhx(1)
|
||||||
[lv_rmeta_0] ewi-aor--- 4.00m linear 1 0 /dev/sda(32)
|
[lv_rmeta_0] ewi-aor\-\-- 4.00m linear 1 0 /dev/sda(32)
|
||||||
[lv_rmeta_1] ewi-aor--- 4.00m linear 1 0 /dev/sdhx(0)
|
[lv_rmeta_1] ewi-aor\-\-- 4.00m linear 1 0 /dev/sdhx(0)
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
Now we'll change the number of data stripes from 1 to 5 and request 128K stripe size
|
Now we'll change the number of data stripes from 1 to 5 and request 128K stripe size
|
||||||
@ -1396,7 +1396,7 @@ to the one given). That additonal space can be used by e.g. growing any contain
|
|||||||
or the LV can be reduced in size after the reshaping conversion has finished.
|
or the LV can be reduced in size after the reshaping conversion has finished.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvconvert --yes --stripesize 128k --stripes 5 vg/lv
|
# lvconvert \-\-yes \-\-stripesize 128k \-\-stripes 5 vg/lv
|
||||||
Converting stripesize 64.00 KiB of raid5_n LV vg/lv to 128.00 KiB.
|
Converting stripesize 64.00 KiB of raid5_n LV vg/lv to 128.00 KiB.
|
||||||
WARNING: Adding stripes to active logical volume vg/lv will grow it from 32 to 160 extents!
|
WARNING: Adding stripes to active logical volume vg/lv will grow it from 32 to 160 extents!
|
||||||
Run "lvresize -l32 vg/lv" to shrink it or use the additional capacity.
|
Run "lvresize -l32 vg/lv" to shrink it or use the additional capacity.
|
||||||
@ -1404,44 +1404,44 @@ or the LV can be reduced in size after the reshaping conversion has finished.
|
|||||||
|
|
||||||
# lvs -aoname,attr,size,segtype,syncpercent,datastripes,stripesize,reshapelenle,devices vg
|
# lvs -aoname,attr,size,segtype,syncpercent,datastripes,stripesize,reshapelenle,devices vg
|
||||||
LV Attr LSize Type Cpy%Sync #DStr Stripe RSize Devices
|
LV Attr LSize Type Cpy%Sync #DStr Stripe RSize Devices
|
||||||
lv rwi-a-r--- 640.00m raid5_n 100.00 5 128.00k 6 lv_rimage_0(0),lv_rimage_1(0),lv_rimage_2(0),lv_rimage_3(0),lv_rimage_4(0),lv_rimage_5(0)
|
lv rwi-a-r\-\-- 640.00m raid5_n 100.00 5 128.00k 6 lv_rimage_0(0),lv_rimage_1(0),lv_rimage_2(0),lv_rimage_3(0),lv_rimage_4(0),lv_rimage_5(0)
|
||||||
[lv_rimage_0] iwi-aor--- 132.00m linear 1 0 1 /dev/sda(33)
|
[lv_rimage_0] iwi-aor\-\-- 132.00m linear 1 0 1 /dev/sda(33)
|
||||||
[lv_rimage_0] iwi-aor--- 132.00m linear 1 0 /dev/sda(0)
|
[lv_rimage_0] iwi-aor\-\-- 132.00m linear 1 0 /dev/sda(0)
|
||||||
[lv_rimage_1] iwi-aor--- 132.00m linear 1 0 1 /dev/sdhx(33)
|
[lv_rimage_1] iwi-aor\-\-- 132.00m linear 1 0 1 /dev/sdhx(33)
|
||||||
[lv_rimage_1] iwi-aor--- 132.00m linear 1 0 /dev/sdhx(1)
|
[lv_rimage_1] iwi-aor\-\-- 132.00m linear 1 0 /dev/sdhx(1)
|
||||||
[lv_rimage_2] iwi-aor--- 132.00m linear 1 0 1 /dev/sdhw(33)
|
[lv_rimage_2] iwi-aor\-\-- 132.00m linear 1 0 1 /dev/sdhw(33)
|
||||||
[lv_rimage_2] iwi-aor--- 132.00m linear 1 0 /dev/sdhw(1)
|
[lv_rimage_2] iwi-aor\-\-- 132.00m linear 1 0 /dev/sdhw(1)
|
||||||
[lv_rimage_3] iwi-aor--- 132.00m linear 1 0 1 /dev/sdhv(33)
|
[lv_rimage_3] iwi-aor\-\-- 132.00m linear 1 0 1 /dev/sdhv(33)
|
||||||
[lv_rimage_3] iwi-aor--- 132.00m linear 1 0 /dev/sdhv(1)
|
[lv_rimage_3] iwi-aor\-\-- 132.00m linear 1 0 /dev/sdhv(1)
|
||||||
[lv_rimage_4] iwi-aor--- 132.00m linear 1 0 1 /dev/sdhu(33)
|
[lv_rimage_4] iwi-aor\-\-- 132.00m linear 1 0 1 /dev/sdhu(33)
|
||||||
[lv_rimage_4] iwi-aor--- 132.00m linear 1 0 /dev/sdhu(1)
|
[lv_rimage_4] iwi-aor\-\-- 132.00m linear 1 0 /dev/sdhu(1)
|
||||||
[lv_rimage_5] iwi-aor--- 132.00m linear 1 0 1 /dev/sdht(33)
|
[lv_rimage_5] iwi-aor\-\-- 132.00m linear 1 0 1 /dev/sdht(33)
|
||||||
[lv_rimage_5] iwi-aor--- 132.00m linear 1 0 /dev/sdht(1)
|
[lv_rimage_5] iwi-aor\-\-- 132.00m linear 1 0 /dev/sdht(1)
|
||||||
[lv_rmeta_0] ewi-aor--- 4.00m linear 1 0 /dev/sda(32)
|
[lv_rmeta_0] ewi-aor\-\-- 4.00m linear 1 0 /dev/sda(32)
|
||||||
[lv_rmeta_1] ewi-aor--- 4.00m linear 1 0 /dev/sdhx(0)
|
[lv_rmeta_1] ewi-aor\-\-- 4.00m linear 1 0 /dev/sdhx(0)
|
||||||
[lv_rmeta_2] ewi-aor--- 4.00m linear 1 0 /dev/sdhw(0)
|
[lv_rmeta_2] ewi-aor\-\-- 4.00m linear 1 0 /dev/sdhw(0)
|
||||||
[lv_rmeta_3] ewi-aor--- 4.00m linear 1 0 /dev/sdhv(0)
|
[lv_rmeta_3] ewi-aor\-\-- 4.00m linear 1 0 /dev/sdhv(0)
|
||||||
[lv_rmeta_4] ewi-aor--- 4.00m linear 1 0 /dev/sdhu(0)
|
[lv_rmeta_4] ewi-aor\-\-- 4.00m linear 1 0 /dev/sdhu(0)
|
||||||
[lv_rmeta_5] ewi-aor--- 4.00m linear 1 0 /dev/sdht(0)
|
[lv_rmeta_5] ewi-aor\-\-- 4.00m linear 1 0 /dev/sdht(0)
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
Once the conversion has finished we can can convert to striped.
|
Once the conversion has finished we can can convert to striped.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
[root@vm46 ~]# lvconvert -y --ty striped vg/lv
|
[root@vm46 ~]# lvconvert -y \-\-ty striped vg/lv
|
||||||
Logical volume vg/lv successfully converted.
|
Logical volume vg/lv successfully converted.
|
||||||
|
|
||||||
[root@vm46 ~]# lvs -aoname,attr,size,segtype,syncpercent,datastripes,stripesize,reshapelenle,devices vg|sed 's/ *$//'
|
[root@vm46 ~]# lvs -aoname,attr,size,segtype,syncpercent,datastripes,stripesize,reshapelenle,devices vg|sed 's/ *$//'
|
||||||
LV Attr LSize Type Cpy%Sync #DStr Stripe RSize Devices
|
LV Attr LSize Type Cpy%Sync #DStr Stripe RSize Devices
|
||||||
lv -wi-a----- 640.00m striped 5 128.00k /dev/sda(33),/dev/sdhx(33),/dev/sdhw(33),/dev/sdhv(33),/dev/sdhu(33)
|
lv -wi-a\-\-\-\-- 640.00m striped 5 128.00k /dev/sda(33),/dev/sdhx(33),/dev/sdhw(33),/dev/sdhv(33),/dev/sdhu(33)
|
||||||
lv -wi-a----- 640.00m striped 5 128.00k /dev/sda(0),/dev/sdhx(1),/dev/sdhw(1),/dev/sdhv(1),/dev/sdhu(1)
|
lv -wi-a\-\-\-\-- 640.00m striped 5 128.00k /dev/sda(0),/dev/sdhx(1),/dev/sdhw(1),/dev/sdhv(1),/dev/sdhu(1)
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
Reversing these steps wil convert a given striped LV to linear.
|
Reversing these steps wil convert a given striped LV to linear.
|
||||||
|
|
||||||
Mind the fact that stripes are removed thus the capacity of the RaidLV will shrink.
|
Mind the fact that stripes are removed thus the capacity of the RaidLV will shrink.
|
||||||
|
|
||||||
"lvconvert --stripes 1 vg/lv" for converting to 1 stripe will inform upfront about
|
"lvconvert \-\-stripes 1 vg/lv" for converting to 1 stripe will inform upfront about
|
||||||
the reduced size to allow for resizing the content or growing the RaidLV before
|
the reduced size to allow for resizing the content or growing the RaidLV before
|
||||||
actually converting to 1 stripe. The \fB\-\-force\fP option is needed to
|
actually converting to 1 stripe. The \fB\-\-force\fP option is needed to
|
||||||
allow stripe removing conversions to prevent data loss.
|
allow stripe removing conversions to prevent data loss.
|
||||||
|
@ -108,7 +108,7 @@ report/buffered
|
|||||||
|
|
||||||
This document does not describe these settings in more detail - if you need
|
This document does not describe these settings in more detail - if you need
|
||||||
detailed information, including values which are accepted for the settings,
|
detailed information, including values which are accepted for the settings,
|
||||||
please run \fBlvmconfig --type default --withcomments <setting>\fP. There are
|
please run \fBlvmconfig \-\-type default \-\-withcomments <setting>\fP. There are
|
||||||
more configuration settings in addition to the common set listed above, but
|
more configuration settings in addition to the common set listed above, but
|
||||||
they are specific to either \fBmain report\fP or \fBlog report\fP,
|
they are specific to either \fBmain report\fP or \fBlog report\fP,
|
||||||
see \fBmain report specifics\fP and \fBlog report specifics\fP for
|
see \fBmain report specifics\fP and \fBlog report specifics\fP for
|
||||||
@ -125,25 +125,25 @@ or further specify the report configuration.
|
|||||||
Definition of the set set of fields to use
|
Definition of the set set of fields to use
|
||||||
.RS
|
.RS
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--options|-o FieldSet
|
\-\-options|-o FieldSet
|
||||||
.br
|
.br
|
||||||
Field set to use. See \fBmain report specifics\fP and
|
Field set to use. See \fBmain report specifics\fP and
|
||||||
\fBlog report specifics\fP for information about field sets configured with
|
\fBlog report specifics\fP for information about field sets configured with
|
||||||
global configuratin settings that this option overrides.
|
global configuratin settings that this option overrides.
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--options|-o+ FieldSet
|
\-\-options|-o+ FieldSet
|
||||||
.br
|
.br
|
||||||
Fields to include to current field set. See \fBmain report specifics\fP\ and
|
Fields to include to current field set. See \fBmain report specifics\fP\ and
|
||||||
\fBlog report specifics\fP for information about field sets configured with
|
\fBlog report specifics\fP for information about field sets configured with
|
||||||
global configuration settings that this option extends.
|
global configuration settings that this option extends.
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--options|-o- FieldSet
|
\-\-options|-o- FieldSet
|
||||||
.br
|
.br
|
||||||
Fields to exclude from current field set. See \fBmain report specifics\fP and
|
Fields to exclude from current field set. See \fBmain report specifics\fP and
|
||||||
\fBlog report specifics\fP for information about field sets configured with
|
\fBlog report specifics\fP for information about field sets configured with
|
||||||
global configuration settings that this option reduces.
|
global configuration settings that this option reduces.
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--options|-o# FieldSet
|
\-\-options|-o# FieldSet
|
||||||
.br
|
.br
|
||||||
Compaction of unused fields. Overrides report/compact_output_cols configuration
|
Compaction of unused fields. Overrides report/compact_output_cols configuration
|
||||||
setting.
|
setting.
|
||||||
@ -153,13 +153,13 @@ setting.
|
|||||||
Sorting
|
Sorting
|
||||||
.RS
|
.RS
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--sort|-O+ FieldSet
|
\-\-sort|-O+ FieldSet
|
||||||
.br
|
.br
|
||||||
Fields to sort by in ascending order. See \fBmain report specifics\fP and
|
Fields to sort by in ascending order. See \fBmain report specifics\fP and
|
||||||
\fBlog report specifics\fP for information about field sets configured with
|
\fBlog report specifics\fP for information about field sets configured with
|
||||||
global configuration settings that this option overrides.
|
global configuration settings that this option overrides.
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--sort|-O- FieldSet
|
\-\-sort|-O- FieldSet
|
||||||
.br
|
.br
|
||||||
Fields to sort by in descending order. See \fBmain report specifics\fP and
|
Fields to sort by in descending order. See \fBmain report specifics\fP and
|
||||||
\fBlog report specifics\fP for information about fields sets configured with
|
\fBlog report specifics\fP for information about fields sets configured with
|
||||||
@ -170,7 +170,7 @@ global configuration settings that this options overrides.
|
|||||||
Selection
|
Selection
|
||||||
.RS
|
.RS
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--select|-S Selection
|
\-\-select|-S Selection
|
||||||
.br
|
.br
|
||||||
Define selection criteria for report output. For \fBlog report\fP, this also
|
Define selection criteria for report output. For \fBlog report\fP, this also
|
||||||
overrides log/command_log_selection configuration setting, see also
|
overrides log/command_log_selection configuration setting, see also
|
||||||
@ -181,43 +181,43 @@ overrides log/command_log_selection configuration setting, see also
|
|||||||
Changing output format and composition
|
Changing output format and composition
|
||||||
.RS
|
.RS
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--reportformat
|
\-\-reportformat
|
||||||
.br
|
.br
|
||||||
Overrides report/output_format configuration setting.
|
Overrides report/output_format configuration setting.
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--aligned
|
\-\-aligned
|
||||||
.br
|
.br
|
||||||
Overrides report/aligned configuration setting.
|
Overrides report/aligned configuration setting.
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--binary
|
\-\-binary
|
||||||
.br
|
.br
|
||||||
Overrides report/binary_values_as_numeric configuration setting.
|
Overrides report/binary_values_as_numeric configuration setting.
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--nameprefixes
|
\-\-nameprefixes
|
||||||
.br
|
.br
|
||||||
Overrides report/prefixes configuration setting.
|
Overrides report/prefixes configuration setting.
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--noheadings
|
\-\-noheadings
|
||||||
.br
|
.br
|
||||||
Overrides report/noheadings configuration setting.
|
Overrides report/noheadings configuration setting.
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--nosuffix
|
\-\-nosuffix
|
||||||
.br
|
.br
|
||||||
Overrides global/suffix configuration setting.
|
Overrides global/suffix configuration setting.
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--rows
|
\-\-rows
|
||||||
.br
|
.br
|
||||||
Overrides report/columns_as_rows configuration setting.
|
Overrides report/columns_as_rows configuration setting.
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--separator
|
\-\-separator
|
||||||
.br
|
.br
|
||||||
Overrides report/separator configuration setting.
|
Overrides report/separator configuration setting.
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--units
|
\-\-units
|
||||||
.br
|
.br
|
||||||
Overrides global/units configuration setting.
|
Overrides global/units configuration setting.
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--unquoted
|
\-\-unquoted
|
||||||
.br
|
.br
|
||||||
Overrides report/quoted configuration setting.
|
Overrides report/quoted configuration setting.
|
||||||
.RE
|
.RE
|
||||||
@ -226,19 +226,19 @@ Overrides report/quoted configuration setting.
|
|||||||
Special options
|
Special options
|
||||||
.RS
|
.RS
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--configreport \fBReportName\fP
|
\-\-configreport \fBReportName\fP
|
||||||
.br
|
.br
|
||||||
This defines the \fBReportName\fP for which any subsequent -o|--columns,
|
This defines the \fBReportName\fP for which any subsequent -o|\-\-columns,
|
||||||
-O|--sort or -S|--select applies to. See also \fBmain report specifics\fP
|
-O|\-\-sort or -S|\-\-select applies to. See also \fBmain report specifics\fP
|
||||||
and \fBlog report specifics\fP for possible \fBReportName\fP values.
|
and \fBlog report specifics\fP for possible \fBReportName\fP values.
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--logonly
|
\-\-logonly
|
||||||
.br
|
.br
|
||||||
When an LVM command contains both \fBmain report\fP and \fBlog report\fP,
|
When an LVM command contains both \fBmain report\fP and \fBlog report\fP,
|
||||||
this option suppresses the \fBmain report\fP output and it causes the
|
this option suppresses the \fBmain report\fP output and it causes the
|
||||||
\fBlog report\fP output to be displayed only.
|
\fBlog report\fP output to be displayed only.
|
||||||
.IP - 3
|
.IP - 3
|
||||||
--unbuffered
|
\-\-unbuffered
|
||||||
.br
|
.br
|
||||||
Overrides report/bufffered configuration setting.
|
Overrides report/bufffered configuration setting.
|
||||||
.RE
|
.RE
|
||||||
@ -276,7 +276,7 @@ report/pvs_sort
|
|||||||
.RE
|
.RE
|
||||||
|
|
||||||
.IP \[bu] 3
|
.IP \[bu] 3
|
||||||
\fBpvseg\fP representing report about Physical Volume Segments (\fBpvs --segments\fP)
|
\fBpvseg\fP representing report about Physical Volume Segments (\fBpvs \-\-segments\fP)
|
||||||
.RS
|
.RS
|
||||||
.IP - 3
|
.IP - 3
|
||||||
report/pvseg_cols
|
report/pvseg_cols
|
||||||
@ -303,7 +303,7 @@ report/lvs_sort
|
|||||||
.RE
|
.RE
|
||||||
|
|
||||||
.IP \[bu] 3
|
.IP \[bu] 3
|
||||||
\fBseg\fP representing report about Logical Volume Segments (\fBlvs --segments\fP)
|
\fBseg\fP representing report about Logical Volume Segments (\fBlvs \-\-segments\fP)
|
||||||
.RS
|
.RS
|
||||||
.IP - 3
|
.IP - 3
|
||||||
report/segs_cols
|
report/segs_cols
|
||||||
@ -355,10 +355,10 @@ groups are combined together. Some of these combinations are not allowed in
|
|||||||
which case LVM will issue an error.
|
which case LVM will issue an error.
|
||||||
|
|
||||||
For all main report subtypes except \fBfull\fP, it's not necessary to use
|
For all main report subtypes except \fBfull\fP, it's not necessary to use
|
||||||
\fB--configreport ReportName\fP to denote which report any subsequent
|
\fB\-\-configreport ReportName\fP to denote which report any subsequent
|
||||||
\fB-o, -O or -S\fP option applies to as they always apply to the single main
|
\fB-o, -O or -S\fP option applies to as they always apply to the single main
|
||||||
report type. Currently, \fBlvm fullreport\fP is the only command that
|
report type. Currently, \fBlvm fullreport\fP is the only command that
|
||||||
includes more than one \fBmain report\fP subtype. Therefore, the --configreport
|
includes more than one \fBmain report\fP subtype. Therefore, the \-\-configreport
|
||||||
is particularly suitable for the full report if you need to configure each of
|
is particularly suitable for the full report if you need to configure each of
|
||||||
its subreports in a different way.
|
its subreports in a different way.
|
||||||
|
|
||||||
@ -387,13 +387,13 @@ log/command_log_selection
|
|||||||
|
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
You always need to use \fB--configreport log\fP together with \fB-o|--options,
|
You always need to use \fB\-\-configreport log\fP together with \fB-o|\-\-options,
|
||||||
-O|--sort or -S|--selection\fP to override configuration settings directly on
|
-O|\-\-sort or -S|\-\-selection\fP to override configuration settings directly on
|
||||||
command line for \fBlog report\fP. When compared to \fBmain report\fP, in
|
command line for \fBlog report\fP. When compared to \fBmain report\fP, in
|
||||||
addition to usual configuration settings for report fields and sorting, the
|
addition to usual configuration settings for report fields and sorting, the
|
||||||
\fBlog report\fP has also configuration option for selection -
|
\fBlog report\fP has also configuration option for selection -
|
||||||
\fBreport/command_log_selection\fP. This configuration setting is provided for
|
\fBreport/command_log_selection\fP. This configuration setting is provided for
|
||||||
convenience so it's not necessary to use \fB-S|--select\fP on command line
|
convenience so it's not necessary to use \fB-S|\-\-select\fP on command line
|
||||||
each time an LVM command is executed and we need the same selection criteria
|
each time an LVM command is executed and we need the same selection criteria
|
||||||
to be applied for \fBlog report\fP. Default selection criteria used for
|
to be applied for \fBlog report\fP. Default selection criteria used for
|
||||||
\fBlog report\fP are
|
\fBlog report\fP are
|
||||||
@ -572,7 +572,7 @@ Rreturn code associated with current item.
|
|||||||
.RE
|
.RE
|
||||||
|
|
||||||
|
|
||||||
You can also run \fB<lvm_command> --configreport log -o help\fP to
|
You can also run \fB<lvm_command> \-\-configreport log -o help\fP to
|
||||||
to display complete list of fields that you may use for the \fBlog report\fP.
|
to display complete list of fields that you may use for the \fBlog report\fP.
|
||||||
|
|
||||||
.SH Selection
|
.SH Selection
|
||||||
@ -668,7 +668,7 @@ criteria)
|
|||||||
\fBnumber\fP for integer value
|
\fBnumber\fP for integer value
|
||||||
.IP \[bu] 3
|
.IP \[bu] 3
|
||||||
\fBsize\fP for integer or floating point number with size unit suffix
|
\fBsize\fP for integer or floating point number with size unit suffix
|
||||||
(see also \fBlvcreate\fP(8) man page and description for "-L|--size"
|
(see also \fBlvcreate\fP(8) man page and description for "-L|\-\-size"
|
||||||
option for the list of recognized suffixes)
|
option for the list of recognized suffixes)
|
||||||
.IP \[bu] 3
|
.IP \[bu] 3
|
||||||
\fBpercent\fP for floating point number with or without "%" suffix
|
\fBpercent\fP for floating point number with or without "%" suffix
|
||||||
@ -818,7 +818,7 @@ including all configuration related to reporting. We will use it throughout
|
|||||||
examples below to display current configuration.
|
examples below to display current configuration.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvmconfig --type full global/units global/suffix \\
|
# lvmconfig \-\-type full global/units global/suffix \\
|
||||||
report/output_format report/compact_output \\
|
report/output_format report/compact_output \\
|
||||||
report/compact_output_cols report/aligned \\
|
report/compact_output_cols report/aligned \\
|
||||||
report/headings report/separator \\
|
report/headings report/separator \\
|
||||||
@ -854,7 +854,7 @@ type is configured with configuration settings as we already mentioned in
|
|||||||
\fBmain report specifics\fP section in this man page.
|
\fBmain report specifics\fP section in this man page.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvmconfig --type full report/pvs_cols report/pvs_sort \\
|
# lvmconfig \-\-type full report/pvs_cols report/pvs_sort \\
|
||||||
report/pvsegs_cols report/pvsegs_sort report/vgs_cols \\
|
report/pvsegs_cols report/pvsegs_sort report/vgs_cols \\
|
||||||
report/vgs_sort report/lvs_cols report/lvs_sort \\
|
report/vgs_sort report/lvs_cols report/lvs_sort \\
|
||||||
report/segs_cols report/segs_sort
|
report/segs_cols report/segs_sort
|
||||||
@ -875,32 +875,32 @@ segs_sort="vg_name,lv_name,seg_start"
|
|||||||
.nf
|
.nf
|
||||||
# pvs
|
# pvs
|
||||||
PV VG Fmt Attr PSize PFree
|
PV VG Fmt Attr PSize PFree
|
||||||
/dev/sda vg lvm2 a-- 100.00m 88.00m
|
/dev/sda vg lvm2 a\-\- 100.00m 88.00m
|
||||||
/dev/sdb vg lvm2 a-- 100.00m 92.00m
|
/dev/sdb vg lvm2 a\-\- 100.00m 92.00m
|
||||||
|
|
||||||
# pvs --segments
|
# pvs \-\-segments
|
||||||
PV VG Fmt Attr PSize PFree Start SSize
|
PV VG Fmt Attr PSize PFree Start SSize
|
||||||
/dev/sda vg lvm2 a-- 100.00m 88.00m 0 1
|
/dev/sda vg lvm2 a\-\- 100.00m 88.00m 0 1
|
||||||
/dev/sda vg lvm2 a-- 100.00m 88.00m 1 1
|
/dev/sda vg lvm2 a\-\- 100.00m 88.00m 1 1
|
||||||
/dev/sda vg lvm2 a-- 100.00m 88.00m 2 1
|
/dev/sda vg lvm2 a\-\- 100.00m 88.00m 2 1
|
||||||
/dev/sda vg lvm2 a-- 100.00m 88.00m 3 22
|
/dev/sda vg lvm2 a\-\- 100.00m 88.00m 3 22
|
||||||
/dev/sdb vg lvm2 a-- 100.00m 92.00m 0 1
|
/dev/sdb vg lvm2 a\-\- 100.00m 92.00m 0 1
|
||||||
/dev/sdb vg lvm2 a-- 100.00m 92.00m 1 1
|
/dev/sdb vg lvm2 a\-\- 100.00m 92.00m 1 1
|
||||||
/dev/sdb vg lvm2 a-- 100.00m 92.00m 2 23
|
/dev/sdb vg lvm2 a\-\- 100.00m 92.00m 2 23
|
||||||
|
|
||||||
# vgs
|
# vgs
|
||||||
VG #PV #LV #SN Attr VSize VFree
|
VG #PV #LV #SN Attr VSize VFree
|
||||||
vg 2 2 0 wz--n- 200.00m 180.00m
|
vg 2 2 0 wz\-\-n- 200.00m 180.00m
|
||||||
|
|
||||||
# lvs
|
# lvs
|
||||||
LV VG Attr LSize Pool Origin Move Log Cpy%Sync Convert
|
LV VG Attr LSize Pool Origin Move Log Cpy%Sync Convert
|
||||||
lvol0 vg -wi-a----- 4.00m
|
lvol0 vg -wi-a\-\-\-\-- 4.00m
|
||||||
lvol1 vg rwi-a-r--- 4.00m 100.00
|
lvol1 vg rwi-a-r\-\-- 4.00m 100.00
|
||||||
|
|
||||||
# lvs --segments
|
# lvs \-\-segments
|
||||||
LV VG Attr #Str Type SSize
|
LV VG Attr #Str Type SSize
|
||||||
lvol0 vg -wi-a----- 1 linear 4.00m
|
lvol0 vg -wi-a\-\-\-\-- 1 linear 4.00m
|
||||||
lvol1 vg rwi-a-r--- 2 raid1 4.00m
|
lvol1 vg rwi-a-r\-\-- 2 raid1 4.00m
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
We will use \fBreport/lvs_cols\fP and \fBreport/lvs_sort\fP configuration
|
We will use \fBreport/lvs_cols\fP and \fBreport/lvs_sort\fP configuration
|
||||||
@ -911,7 +911,7 @@ Also note that in the example below, we don't display the "lv_time" field
|
|||||||
even though we're using it for sorting - this is allowed.
|
even though we're using it for sorting - this is allowed.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvmconfig --type full report/lvs_cols report/lvs_sort
|
# lvmconfig \-\-type full report/lvs_cols report/lvs_sort
|
||||||
lvs_cols="lv_name,lv_size,origin,pool_lv,copy_percent"
|
lvs_cols="lv_name,lv_size,origin,pool_lv,copy_percent"
|
||||||
lvs_sort="-lv_time"
|
lvs_sort="-lv_time"
|
||||||
|
|
||||||
@ -921,7 +921,7 @@ lvs_sort="-lv_time"
|
|||||||
lvol0 4.00m
|
lvol0 4.00m
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
You can use \fB-o|--options\fP command line option to override current
|
You can use \fB-o|\-\-options\fP command line option to override current
|
||||||
configuration directly on command line.
|
configuration directly on command line.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
@ -956,7 +956,7 @@ This way, it's possible to configure different sets of fields to display
|
|||||||
and to sort by for individual reports as well as the full report.
|
and to sort by for individual reports as well as the full report.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvmconfig --type full report/pvs_cols_full \\
|
# lvmconfig \-\-type full report/pvs_cols_full \\
|
||||||
report/pvs_sort_full report/pvsegs_cols_full \\
|
report/pvs_sort_full report/pvsegs_cols_full \\
|
||||||
report/pvsegs_sort_full report/vgs_cols_full \\
|
report/pvsegs_sort_full report/vgs_cols_full \\
|
||||||
report/vgs_sort_full report/lvs_cols_full \\
|
report/vgs_sort_full report/lvs_cols_full \\
|
||||||
@ -1007,7 +1007,7 @@ output. To enable this feature and to compact all fields, use
|
|||||||
\fBreport/compact_output=1\fP in your configuration.
|
\fBreport/compact_output=1\fP in your configuration.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvmconfig --type full report/compact_output
|
# lvmconfig \-\-type full report/compact_output
|
||||||
compact_output=1
|
compact_output=1
|
||||||
|
|
||||||
# lvs
|
# lvs
|
||||||
@ -1021,11 +1021,11 @@ compact_output=1
|
|||||||
.fi
|
.fi
|
||||||
|
|
||||||
Alternatively, you can define which fields should be compacted by configuring
|
Alternatively, you can define which fields should be compacted by configuring
|
||||||
\fBreport/compact_output_cols\fP configuration setting (or \fB-o|--options #\fP
|
\fBreport/compact_output_cols\fP configuration setting (or \fB-o|\-\-options #\fP
|
||||||
command line option).
|
command line option).
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvmconfig --type full report/compact_output report/compact_output_cols
|
# lvmconfig \-\-type full report/compact_output report/compact_output_cols
|
||||||
compact_output=0
|
compact_output=0
|
||||||
compact_output_cols="origin"
|
compact_output_cols="origin"
|
||||||
|
|
||||||
@ -1050,83 +1050,83 @@ We will use \fBreport/compact_output=1\fP for subsequent examples.
|
|||||||
|
|
||||||
By default, LVM displays sizes in reports in human-readable form which means
|
By default, LVM displays sizes in reports in human-readable form which means
|
||||||
that the most suitable unit is used so it's easy to read. You can use
|
that the most suitable unit is used so it's easy to read. You can use
|
||||||
\fBreport/units\fP configuration setting (or \fB--units\fP option directly
|
\fBreport/units\fP configuration setting (or \fB\-\-units\fP option directly
|
||||||
on command line) and \fBreport/suffix\fP
|
on command line) and \fBreport/suffix\fP
|
||||||
configuration setting (or \fB--nosuffix\fP command line option) to change this.
|
configuration setting (or \fB\-\-nosuffix\fP command line option) to change this.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvs --units b --nosuffix
|
# lvs \-\-units b \-\-nosuffix
|
||||||
LV LSize Cpy%Sync
|
LV LSize Cpy%Sync
|
||||||
lvol1 4194304 100.00
|
lvol1 4194304 100.00
|
||||||
lvol0 4194304
|
lvol0 4194304
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
If you want to configure whether report headings are displayed or not, use
|
If you want to configure whether report headings are displayed or not, use
|
||||||
\fBreport/headings\fP configuration settings (or \fB--noheadings\fP command
|
\fBreport/headings\fP configuration settings (or \fB\-\-noheadings\fP command
|
||||||
line option).
|
line option).
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvs --noheadings
|
# lvs \-\-noheadings
|
||||||
lvol1 4.00m 100.00
|
lvol1 4.00m 100.00
|
||||||
lvol0 4.00m
|
lvol0 4.00m
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
In some cases, it may be useful to display report content as key=value pairs
|
In some cases, it may be useful to display report content as key=value pairs
|
||||||
where key here is actually the field name. Use \fBreport/prefixes\fP
|
where key here is actually the field name. Use \fBreport/prefixes\fP
|
||||||
configuration setting (or \fB--nameprefixes\fP command line option) to switch
|
configuration setting (or \fB\-\-nameprefixes\fP command line option) to switch
|
||||||
between standard output and the key=value output. The key=value pair is the
|
between standard output and the key=value output. The key=value pair is the
|
||||||
output that is suitable for use in scripts and for other tools to parse easily.
|
output that is suitable for use in scripts and for other tools to parse easily.
|
||||||
Usually, you also don't want to display headings with the output that has these
|
Usually, you also don't want to display headings with the output that has these
|
||||||
key=value pairs.
|
key=value pairs.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvs --noheadings --nameprefixes
|
# lvs \-\-noheadings \-\-nameprefixes
|
||||||
LVM2_LV_NAME='lvol1' LVM2_LV_SIZE='4.00m' LVM2_COPY_PERCENT='100.00'
|
LVM2_LV_NAME='lvol1' LVM2_LV_SIZE='4.00m' LVM2_COPY_PERCENT='100.00'
|
||||||
LVM2_LV_NAME='lvol0' LVM2_LV_SIZE='4.00m' LVM2_COPY_PERCENT=''
|
LVM2_LV_NAME='lvol0' LVM2_LV_SIZE='4.00m' LVM2_COPY_PERCENT=''
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
To define whether quotation marks in key=value pairs should be used or not,
|
To define whether quotation marks in key=value pairs should be used or not,
|
||||||
use \fBreport/quoted\fP configuration setting (or \fB--unquoted\fP command
|
use \fBreport/quoted\fP configuration setting (or \fB\-\-unquoted\fP command
|
||||||
line option).
|
line option).
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvs --noheadings --nameprefixes --unquoted
|
# lvs \-\-noheadings \-\-nameprefixes \-\-unquoted
|
||||||
LVM2_LV_NAME=lvol1 LVM2_LV_SIZE=4.00m LVM2_COPY_PERCENT=100.00
|
LVM2_LV_NAME=lvol1 LVM2_LV_SIZE=4.00m LVM2_COPY_PERCENT=100.00
|
||||||
LVM2_LV_NAME=lvol0 LVM2_LV_SIZE=4.00m LVM2_COPY_PERCENT=
|
LVM2_LV_NAME=lvol0 LVM2_LV_SIZE=4.00m LVM2_COPY_PERCENT=
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
For easier parsing, you can even transpose the report so each column now
|
For easier parsing, you can even transpose the report so each column now
|
||||||
becomes a row in the output. This is done with \fBreport/output_as_rows\fP
|
becomes a row in the output. This is done with \fBreport/output_as_rows\fP
|
||||||
configuration setting (or \fB--rows\fP command line option).
|
configuration setting (or \fB\-\-rows\fP command line option).
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvs --noheadings --nameprefixes --unquoted --rows
|
# lvs \-\-noheadings \-\-nameprefixes \-\-unquoted \-\-rows
|
||||||
LVM2_LV_NAME=lvol1 LVM2_LV_NAME=lvol0
|
LVM2_LV_NAME=lvol1 LVM2_LV_NAME=lvol0
|
||||||
LVM2_LV_SIZE=4.00m LVM2_LV_SIZE=4.00m
|
LVM2_LV_SIZE=4.00m LVM2_LV_SIZE=4.00m
|
||||||
LVM2_COPY_PERCENT=100.00 LVM2_COPY_PERCENT=
|
LVM2_COPY_PERCENT=100.00 LVM2_COPY_PERCENT=
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
Use \fBreport/separator\fP configuration setting (or \fB--separator\fP command
|
Use \fBreport/separator\fP configuration setting (or \fB\-\-separator\fP command
|
||||||
line option) to define your own field separator to use.
|
line option) to define your own field separator to use.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvs --noheadings --nameprefixes --unquoted --separator " | "
|
# lvs \-\-noheadings \-\-nameprefixes \-\-unquoted \-\-separator " | "
|
||||||
LVM2_LV_NAME=lvol1 | LVM2_LV_SIZE=4.00m | LVM2_COPY_PERCENT=100.00
|
LVM2_LV_NAME=lvol1 | LVM2_LV_SIZE=4.00m | LVM2_COPY_PERCENT=100.00
|
||||||
LVM2_LV_NAME=lvol0 | LVM2_LV_SIZE=4.00m | LVM2_COPY_PERCENT=
|
LVM2_LV_NAME=lvol0 | LVM2_LV_SIZE=4.00m | LVM2_COPY_PERCENT=
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
If you are using your own separator, the columns in the output are not aligned
|
If you are using your own separator, the columns in the output are not aligned
|
||||||
by default. Use \fBreport/aligned\fP configuration setting (or \fB--aligned\fP
|
by default. Use \fBreport/aligned\fP configuration setting (or \fB\-\-aligned\fP
|
||||||
command line option) for LVM to add extra spaces in report to align the output
|
command line option) for LVM to add extra spaces in report to align the output
|
||||||
properly.
|
properly.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvs --separator " | "
|
# lvs \-\-separator " | "
|
||||||
LV | LSize | Cpy%Sync
|
LV | LSize | Cpy%Sync
|
||||||
lvol1 | 4.00m | 100.00
|
lvol1 | 4.00m | 100.00
|
||||||
lvol0 | 4.00m |
|
lvol0 | 4.00m |
|
||||||
|
|
||||||
# lvs --separator " | " --aligned
|
# lvs \-\-separator " | " \-\-aligned
|
||||||
LV | LSize | Cpy%Sync
|
LV | LSize | Cpy%Sync
|
||||||
lvol1 | 4.00m | 100.00
|
lvol1 | 4.00m | 100.00
|
||||||
lvol0 | 4.00m |
|
lvol0 | 4.00m |
|
||||||
@ -1148,7 +1148,7 @@ separator, use \fBreport/list_item_separator\fP configuration setting its
|
|||||||
definition.
|
definition.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvmconfig --type full report/list_item_separator
|
# lvmconfig \-\-type full report/list_item_separator
|
||||||
list_item_separator=";"
|
list_item_separator=";"
|
||||||
|
|
||||||
# lvs -o+tags
|
# lvs -o+tags
|
||||||
@ -1165,7 +1165,7 @@ Format for any of time values displayed in reports can be configured with
|
|||||||
and time is displayed, including timezone.
|
and time is displayed, including timezone.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvmconfig --type full report/time_format
|
# lvmconfig \-\-type full report/time_format
|
||||||
time_format="%Y-%m-%d %T %z"
|
time_format="%Y-%m-%d %T %z"
|
||||||
|
|
||||||
# lvs -o+time
|
# lvs -o+time
|
||||||
@ -1176,22 +1176,22 @@ time_format="%Y-%m-%d %T %z"
|
|||||||
|
|
||||||
We can change time format in similar way as we do when using \fBdate\fP(1)
|
We can change time format in similar way as we do when using \fBdate\fP(1)
|
||||||
command or \fBstrftime\fP(3) function
|
command or \fBstrftime\fP(3) function
|
||||||
(\fBlvmconfig --type default --withcomments report/time_format\fP will
|
(\fBlvmconfig \-\-type default \-\-withcomments report/time_format\fP will
|
||||||
give you complete list of available formatting options). In the example
|
give you complete list of available formatting options). In the example
|
||||||
below, we decided to use %s for number of seconds since Epoch (1970-01-01 UTC).
|
below, we decided to use %s for number of seconds since Epoch (1970-01-01 UTC).
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvmconfig --type full report/time_format
|
# lvmconfig \-\-type full report/time_format
|
||||||
time_format="%s"
|
time_format="%s"
|
||||||
|
|
||||||
# lvs
|
# lvs
|
||||||
LV Attr LSize Cpy%Sync LV Tags CTime
|
LV Attr LSize Cpy%Sync LV Tags CTime
|
||||||
lvol1 rwi-a-r--- 4.00m 100.00 1472468016
|
lvol1 rwi-a-r\-\-- 4.00m 100.00 1472468016
|
||||||
lvol0 -wi-a----- 4.00m tagA,tagB 1472458517
|
lvol0 -wi-a\-\-\-\-- 4.00m tagA,tagB 1472458517
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
The \fBlvs\fP does not display hidden LVs by default - to include these LVs
|
The \fBlvs\fP does not display hidden LVs by default - to include these LVs
|
||||||
in the output, you need to use \fB-a|--all\fP command line option. Names for
|
in the output, you need to use \fB-a|\-\-all\fP command line option. Names for
|
||||||
these hidden LVs are displayed within square brackets.
|
these hidden LVs are displayed within square brackets.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
@ -1209,7 +1209,7 @@ You can configure LVM to display the square brackets for hidden LVs or not with
|
|||||||
\fBreport/mark_hidden_devices\fP configuration setting.
|
\fBreport/mark_hidden_devices\fP configuration setting.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvmconfig --type full report/mark_hidden_devices
|
# lvmconfig \-\-type full report/mark_hidden_devices
|
||||||
mark_hidden_devices=0
|
mark_hidden_devices=0
|
||||||
|
|
||||||
# lvs -a
|
# lvs -a
|
||||||
@ -1254,7 +1254,7 @@ We can change the way how these binary values are displayed with
|
|||||||
\fBreport/binary_values_as_numeric\fP configuration setting.
|
\fBreport/binary_values_as_numeric\fP configuration setting.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvmconfig --type full report/binary_values_as_numeric
|
# lvmconfig \-\-type full report/binary_values_as_numeric
|
||||||
binary_values_as_numeric=1
|
binary_values_as_numeric=1
|
||||||
|
|
||||||
# lvs -o+lv_active_locally
|
# lvs -o+lv_active_locally
|
||||||
@ -1266,12 +1266,12 @@ binary_values_as_numeric=1
|
|||||||
.SS Changing output format
|
.SS Changing output format
|
||||||
|
|
||||||
LVM can output reports in different formats - use \fBreport/output_format\fP
|
LVM can output reports in different formats - use \fBreport/output_format\fP
|
||||||
configuration setting (or \fB--reportformat\fP command line option) to swith
|
configuration setting (or \fB\-\-reportformat\fP command line option) to swith
|
||||||
the report output format. Currently, LVM supports \fB"basic"\fP (all the examples
|
the report output format. Currently, LVM supports \fB"basic"\fP (all the examples
|
||||||
we used above used this format) and \fB"JSON"\fP output format.
|
we used above used this format) and \fB"JSON"\fP output format.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvs -o lv_name,lv_size --reportformat json
|
# lvs -o lv_name,lv_size \-\-reportformat json
|
||||||
{
|
{
|
||||||
"report": [
|
"report": [
|
||||||
{
|
{
|
||||||
@ -1286,9 +1286,9 @@ we used above used this format) and \fB"JSON"\fP output format.
|
|||||||
|
|
||||||
Note that some configuration settings and command line options have no
|
Note that some configuration settings and command line options have no
|
||||||
effect with certain report formats. For example, with \fBJSON\fP output,
|
effect with certain report formats. For example, with \fBJSON\fP output,
|
||||||
it doesn't have any meaning to use \fBreport/aligned\fP (\fB--aligned\fP),
|
it doesn't have any meaning to use \fBreport/aligned\fP (\fB\-\-aligned\fP),
|
||||||
\fBreport/noheadings\fP (\fB--noheadings\fP), \fBreport/columns_as_rows\fP
|
\fBreport/noheadings\fP (\fB\-\-noheadings\fP), \fBreport/columns_as_rows\fP
|
||||||
(\fB--rows\fP) or \fBreport/buffered\fP (\fB--unbuffered\fP). All these
|
(\fB\-\-rows\fP) or \fBreport/buffered\fP (\fB\-\-unbuffered\fP). All these
|
||||||
configuration settings and command line options are ignored if using the
|
configuration settings and command line options are ignored if using the
|
||||||
\fBJSON\fP report output format.
|
\fBJSON\fP report output format.
|
||||||
|
|
||||||
@ -1315,7 +1315,7 @@ look at the bottom of the help output, you can see section about
|
|||||||
# lvs -S help
|
# lvs -S help
|
||||||
...
|
...
|
||||||
Selection operators
|
Selection operators
|
||||||
-------------------
|
\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\--
|
||||||
Comparison operators:
|
Comparison operators:
|
||||||
=~ - Matching regular expression. [regex]
|
=~ - Matching regular expression. [regex]
|
||||||
!~ - Not matching regular expression. [regex]
|
!~ - Not matching regular expression. [regex]
|
||||||
@ -1387,13 +1387,13 @@ together.
|
|||||||
You can also use selection together with processing-oriented commands.
|
You can also use selection together with processing-oriented commands.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvchange --addtag test -S 'size < 5000k'
|
# lvchange \-\-addtag test -S 'size < 5000k'
|
||||||
Logical volume vg/lvol1 changed.
|
Logical volume vg/lvol1 changed.
|
||||||
Logical volume vg/lvol0 changed.
|
Logical volume vg/lvol0 changed.
|
||||||
Logical volume vg/lvol3 changed.
|
Logical volume vg/lvol3 changed.
|
||||||
Logical volume vg/lvol4 changed.
|
Logical volume vg/lvol4 changed.
|
||||||
|
|
||||||
# lvchange --deltag test -S 'tags = test'
|
# lvchange \-\-deltag test -S 'tags = test'
|
||||||
Logical volume vg/lvol1 changed.
|
Logical volume vg/lvol1 changed.
|
||||||
Logical volume vg/lvol0 changed.
|
Logical volume vg/lvol0 changed.
|
||||||
Logical volume vg/lvol3 changed.
|
Logical volume vg/lvol3 changed.
|
||||||
@ -1534,7 +1534,7 @@ Time operators have synonyms: ">=" for since, "<=" for until,
|
|||||||
Example below demonstrates using absolute time expression.
|
Example below demonstrates using absolute time expression.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvs -o name,time --config report/time_format="%s"
|
# lvs -o name,time \-\-config report/time_format="%s"
|
||||||
LV CTime
|
LV CTime
|
||||||
lvol4 1473433064
|
lvol4 1473433064
|
||||||
lvol3 1473433008
|
lvol3 1473433008
|
||||||
@ -1601,7 +1601,7 @@ Just like any other report, we can set the set of fields to display
|
|||||||
for this report.
|
for this report.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvmconfig --type full log/report_command_log log/command_log_cols \\
|
# lvmconfig \-\-type full log/report_command_log log/command_log_cols \\
|
||||||
log/command_log_sort log/command_log_selection
|
log/command_log_sort log/command_log_selection
|
||||||
report_command_log=1
|
report_command_log=1
|
||||||
command_log_cols="log_seq_num,log_type,log_context,log_object_type,
|
command_log_cols="log_seq_num,log_type,log_context,log_object_type,
|
||||||
@ -1631,7 +1631,7 @@ log report in the example below where we can see that both LVs lvol0 and
|
|||||||
lvol1 were successfully processed as well as the VG vg they are part of.
|
lvol1 were successfully processed as well as the VG vg they are part of.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvmconfig --type full log/command_log_selection
|
# lvmconfig \-\-type full log/command_log_selection
|
||||||
command_log_selection="all"
|
command_log_selection="all"
|
||||||
|
|
||||||
# lvs
|
# lvs
|
||||||
@ -1659,11 +1659,11 @@ command_log_selection="all"
|
|||||||
.SS Handling multiple reports per single command
|
.SS Handling multiple reports per single command
|
||||||
|
|
||||||
To configure the log report directly on command line, we need to use
|
To configure the log report directly on command line, we need to use
|
||||||
\fB--configreport\fP option before we start any \fB-o|--options\fP,
|
\fB\-\-configreport\fP option before we start any \fB-o|\-\-options\fP,
|
||||||
\fB-O|--sort\fP or \fB-S|--select\fP that is targeted for log report.
|
\fB-O|\-\-sort\fP or \fB-S|\-\-select\fP that is targeted for log report.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvs -o lv_name,lv_size --configreport log -o log_object_type, \\
|
# lvs -o lv_name,lv_size \-\-configreport log -o log_object_type, \\
|
||||||
log_object_name,log_message,log_ret_code
|
log_object_name,log_message,log_ret_code
|
||||||
Logical Volume
|
Logical Volume
|
||||||
==============
|
==============
|
||||||
@ -1680,7 +1680,7 @@ To configure the log report directly on command line, we need to use
|
|||||||
.fi
|
.fi
|
||||||
|
|
||||||
The \fBlvm fullreport\fP, with or without log report, consists of several
|
The \fBlvm fullreport\fP, with or without log report, consists of several
|
||||||
reports - the \fB--configreport\fP is also used to target particular
|
reports - the \fB\-\-configreport\fP is also used to target particular
|
||||||
subreport here.
|
subreport here.
|
||||||
|
|
||||||
Below is an extended example with \fBlvm fullreport\fP to illustrate
|
Below is an extended example with \fBlvm fullreport\fP to illustrate
|
||||||
@ -1693,12 +1693,12 @@ having "sda" in its name. Also, for the log subreport we define ordering
|
|||||||
to be based on "log_object_type" field.
|
to be based on "log_object_type" field.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
# lvm fullreport --reportformat json \\
|
# lvm fullreport \-\-reportformat json \\
|
||||||
--configreport vg -o vg_name,vg_size \\
|
\-\-configreport vg -o vg_name,vg_size \\
|
||||||
--configreport pvseg -o pv_name,pvseg_start \\
|
\-\-configreport pvseg -o pv_name,pvseg_start \\
|
||||||
-S 'pv_name=~sda' \\
|
-S 'pv_name=~sda' \\
|
||||||
--configreport seg -o lv_name,seg_start \\
|
\-\-configreport seg -o lv_name,seg_start \\
|
||||||
--configreport log -o log_object_type,log_object_name \\
|
\-\-configreport log -o log_object_type,log_object_name \\
|
||||||
-O log_object_type \\
|
-O log_object_type \\
|
||||||
-S 'log_object_name=lvol0 || \\
|
-S 'log_object_name=lvol0 || \\
|
||||||
log_object_name=~sda'
|
log_object_name=~sda'
|
||||||
|
@ -53,7 +53,7 @@ command 'vgs -o+systemid'
|
|||||||
A VG will not have a system_id if it was created before this feature was
|
A VG will not have a system_id if it was created before this feature was
|
||||||
added to lvm, or if it was created by a host that did not have a system_id
|
added to lvm, or if it was created by a host that did not have a system_id
|
||||||
defined. A system_id can be assigned to these VGs by using vgchange
|
defined. A system_id can be assigned to these VGs by using vgchange
|
||||||
--systemid (see below).
|
\-\-systemid (see below).
|
||||||
|
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
Two hosts should not be assigned the same system_id. Doing so defeats
|
Two hosts should not be assigned the same system_id. Doing so defeats
|
||||||
@ -239,7 +239,7 @@ local {
|
|||||||
In vgcreate, the host running the command assigns its own system_id to the
|
In vgcreate, the host running the command assigns its own system_id to the
|
||||||
new VG. To override this and set another system_id:
|
new VG. To override this and set another system_id:
|
||||||
|
|
||||||
.B vgcreate --systemid
|
.B vgcreate \-\-systemid
|
||||||
.I SystemID VG Devices
|
.I SystemID VG Devices
|
||||||
|
|
||||||
Overriding the system_id makes it possible for a host to create a VG that
|
Overriding the system_id makes it possible for a host to create a VG that
|
||||||
@ -247,7 +247,7 @@ it may not be able to use. Another host with a system_id matching the one
|
|||||||
specified may not recognize the new VG without manually rescanning
|
specified may not recognize the new VG without manually rescanning
|
||||||
devices.
|
devices.
|
||||||
|
|
||||||
If the --systemid argument is an empty string (""), the VG is created with
|
If the \-\-systemid argument is an empty string (""), the VG is created with
|
||||||
no system_id, making it accessible to other hosts (see warnings above.)
|
no system_id, making it accessible to other hosts (see warnings above.)
|
||||||
|
|
||||||
.SS report/display
|
.SS report/display
|
||||||
@ -255,11 +255,11 @@ no system_id, making it accessible to other hosts (see warnings above.)
|
|||||||
The system_id of a VG is displayed with the "systemid" reporting option.
|
The system_id of a VG is displayed with the "systemid" reporting option.
|
||||||
|
|
||||||
Report/display commands ignore foreign VGs by default. To report foreign
|
Report/display commands ignore foreign VGs by default. To report foreign
|
||||||
VGs, the --foreign option can be used. This causes the VGs to be read
|
VGs, the \-\-foreign option can be used. This causes the VGs to be read
|
||||||
from disk. Because lvmetad caching is not used, this option can cause
|
from disk. Because lvmetad caching is not used, this option can cause
|
||||||
poor performance.
|
poor performance.
|
||||||
|
|
||||||
.B vgs --foreign -o+systemid
|
.B vgs \-\-foreign -o+systemid
|
||||||
|
|
||||||
When a host with no system_id sees foreign VGs, it warns about them as
|
When a host with no system_id sees foreign VGs, it warns about them as
|
||||||
they are skipped. The host should be assigned a system_id, after which
|
they are skipped. The host should be assigned a system_id, after which
|
||||||
@ -271,7 +271,7 @@ vgexport clears the system_id.
|
|||||||
|
|
||||||
Other hosts will continue to see a newly exported VG as foreign because of
|
Other hosts will continue to see a newly exported VG as foreign because of
|
||||||
local caching (when lvmetad is used). Manually updating the local lvmetad
|
local caching (when lvmetad is used). Manually updating the local lvmetad
|
||||||
cache with pvscan --cache will allow a host to recognize the newly
|
cache with pvscan \-\-cache will allow a host to recognize the newly
|
||||||
exported VG.
|
exported VG.
|
||||||
|
|
||||||
vgimport sets the VG system_id to the local system_id as determined by
|
vgimport sets the VG system_id to the local system_id as determined by
|
||||||
@ -280,7 +280,7 @@ newly exported VGs.
|
|||||||
|
|
||||||
After vgimport, the exporting host will continue to see the VG as
|
After vgimport, the exporting host will continue to see the VG as
|
||||||
exported, and not owned by the new host. Manually updating the local
|
exported, and not owned by the new host. Manually updating the local
|
||||||
cache with pvscan --cache will allow a host to recognize the newly
|
cache with pvscan \-\-cache will allow a host to recognize the newly
|
||||||
imported VG as foreign.
|
imported VG as foreign.
|
||||||
|
|
||||||
.SS vgchange
|
.SS vgchange
|
||||||
@ -288,7 +288,7 @@ imported VG as foreign.
|
|||||||
A host can change the system_id of its own VGs, but the command requires
|
A host can change the system_id of its own VGs, but the command requires
|
||||||
confirmation because the host may lose access to the VG being changed:
|
confirmation because the host may lose access to the VG being changed:
|
||||||
|
|
||||||
.B vgchange --systemid
|
.B vgchange \-\-systemid
|
||||||
.I SystemID VG
|
.I SystemID VG
|
||||||
|
|
||||||
The system_id can be removed from a VG by specifying an empty string ("")
|
The system_id can be removed from a VG by specifying an empty string ("")
|
||||||
@ -340,7 +340,7 @@ orphan. Nothing would automatically prevent the other hosts from using
|
|||||||
the newly allocated PV and corrupting it. If the other hosts run a
|
the newly allocated PV and corrupting it. If the other hosts run a
|
||||||
command to rescan devices, and update lvmetad, they would then recognize
|
command to rescan devices, and update lvmetad, they would then recognize
|
||||||
that the PV has been used by another host. A command that rescans devices
|
that the PV has been used by another host. A command that rescans devices
|
||||||
could be pvscan --cache, or vgs --foreign.
|
could be pvscan \-\-cache, or vgs \-\-foreign.
|
||||||
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR vgcreate (8),
|
.BR vgcreate (8),
|
||||||
|
@ -117,8 +117,8 @@ Create an LV that will hold thin pool metadata.
|
|||||||
|
|
||||||
# lvs
|
# lvs
|
||||||
LV VG Attr LSize
|
LV VG Attr LSize
|
||||||
pool0 vg -wi-a----- 10.00g
|
pool0 vg -wi-a\-\-\-\-- 10.00g
|
||||||
pool0meta vg -wi-a----- 1.00g
|
pool0meta vg -wi-a\-\-\-\-- 1.00g
|
||||||
|
|
||||||
.SS 3. create ThinPoolLV
|
.SS 3. create ThinPoolLV
|
||||||
|
|
||||||
@ -137,13 +137,13 @@ The new ThinPoolLV takes the previous name of ThinDataLV.
|
|||||||
|
|
||||||
# lvs vg/pool0
|
# lvs vg/pool0
|
||||||
LV VG Attr LSize Pool Origin Data% Meta%
|
LV VG Attr LSize Pool Origin Data% Meta%
|
||||||
pool0 vg twi-a-tz-- 10.00g 0.00 0.00
|
pool0 vg twi-a-tz\-\- 10.00g 0.00 0.00
|
||||||
|
|
||||||
# lvs \-a
|
# lvs \-a
|
||||||
LV VG Attr LSize
|
LV VG Attr LSize
|
||||||
pool0 vg twi-a-tz-- 10.00g
|
pool0 vg twi-a-tz\-\- 10.00g
|
||||||
[pool0_tdata] vg Twi-ao---- 10.00g
|
[pool0_tdata] vg Twi-ao\-\-\-\- 10.00g
|
||||||
[pool0_tmeta] vg ewi-ao---- 1.00g
|
[pool0_tmeta] vg ewi-ao\-\-\-\- 1.00g
|
||||||
|
|
||||||
.SS 4. create ThinLV
|
.SS 4. create ThinLV
|
||||||
|
|
||||||
@ -152,8 +152,8 @@ Create a new thin LV from the thin pool LV.
|
|||||||
The thin LV is created with a virtual size.
|
The thin LV is created with a virtual size.
|
||||||
Multiple new thin LVs may be created in the thin pool.
|
Multiple new thin LVs may be created in the thin pool.
|
||||||
Thin LV names must be unique in the VG.
|
Thin LV names must be unique in the VG.
|
||||||
The '--type thin' option is inferred from the virtual size option.
|
The '\-\-type thin' option is inferred from the virtual size option.
|
||||||
The --thinpool argument specifies which thin pool will
|
The \-\-thinpool argument specifies which thin pool will
|
||||||
contain the ThinLV.
|
contain the ThinLV.
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
@ -171,8 +171,8 @@ Create another thin LV in the same thin pool:
|
|||||||
|
|
||||||
# lvs vg/thin1 vg/thin2
|
# lvs vg/thin1 vg/thin2
|
||||||
LV VG Attr LSize Pool Origin Data%
|
LV VG Attr LSize Pool Origin Data%
|
||||||
thin1 vg Vwi-a-tz-- 1.00t pool0 0.00
|
thin1 vg Vwi-a-tz\-\- 1.00t pool0 0.00
|
||||||
thin2 vg Vwi-a-tz-- 1.00t pool0 0.00
|
thin2 vg Vwi-a-tz\-\- 1.00t pool0 0.00
|
||||||
|
|
||||||
.SS 5. create SnapLV
|
.SS 5. create SnapLV
|
||||||
|
|
||||||
@ -204,9 +204,9 @@ Create a snapshot of the first snapshot:
|
|||||||
|
|
||||||
# lvs vg/thin1s1 vg/thin1s2 vg/thin1s1s1
|
# lvs vg/thin1s1 vg/thin1s2 vg/thin1s1s1
|
||||||
LV VG Attr LSize Pool Origin
|
LV VG Attr LSize Pool Origin
|
||||||
thin1s1 vg Vwi---tz-k 1.00t pool0 thin1
|
thin1s1 vg Vwi\-\--tz-k 1.00t pool0 thin1
|
||||||
thin1s2 vg Vwi---tz-k 1.00t pool0 thin1
|
thin1s2 vg Vwi\-\--tz-k 1.00t pool0 thin1
|
||||||
thin1s1s1 vg Vwi---tz-k 1.00t pool0 thin1s1
|
thin1s1s1 vg Vwi\-\--tz-k 1.00t pool0 thin1s1
|
||||||
|
|
||||||
.SS 6. activate SnapLV
|
.SS 6. activate SnapLV
|
||||||
|
|
||||||
@ -297,9 +297,9 @@ same VG.
|
|||||||
# lvconvert \-\-type thin\-pool vg/pool0
|
# lvconvert \-\-type thin\-pool vg/pool0
|
||||||
|
|
||||||
# lvs \-a
|
# lvs \-a
|
||||||
pool0 vg twi-a-tz-- 10.00g
|
pool0 vg twi-a-tz\-\- 10.00g
|
||||||
[pool0_tdata] vg Twi-ao---- 10.00g
|
[pool0_tdata] vg Twi-ao\-\-\-\- 10.00g
|
||||||
[pool0_tmeta] vg ewi-ao---- 16.00m
|
[pool0_tmeta] vg ewi-ao\-\-\-\- 16.00m
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
|
|
||||||
@ -381,10 +381,10 @@ explicitly.
|
|||||||
# lvconvert \-\-type thin\-pool \-\-poolmetadata vg/pool0meta vg/pool0
|
# lvconvert \-\-type thin\-pool \-\-poolmetadata vg/pool0meta vg/pool0
|
||||||
|
|
||||||
# lvs \-a
|
# lvs \-a
|
||||||
[lvol0_pmspare] vg ewi-------
|
[lvol0_pmspare] vg ewi\-\-\-\-\-\--
|
||||||
pool0 vg twi---tz--
|
pool0 vg twi\-\--tz\-\-
|
||||||
[pool0_tdata] vg Twi-------
|
[pool0_tdata] vg Twi\-\-\-\-\-\--
|
||||||
[pool0_tmeta] vg ewi-------
|
[pool0_tmeta] vg ewi\-\-\-\-\-\--
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
The "Metadata check and repair" section describes the use of
|
The "Metadata check and repair" section describes the use of
|
||||||
@ -466,7 +466,7 @@ displayed by lvs:
|
|||||||
.nf
|
.nf
|
||||||
# lvs vg/thin1s1
|
# lvs vg/thin1s1
|
||||||
LV VG Attr LSize Pool Origin
|
LV VG Attr LSize Pool Origin
|
||||||
thin1s1 vg Vwi---tz-k 1.00t pool0 thin1
|
thin1s1 vg Vwi\-\--tz-k 1.00t pool0 thin1
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
This flag causes the snapshot LV to be skipped, i.e. not activated,
|
This flag causes the snapshot LV to be skipped, i.e. not activated,
|
||||||
@ -539,7 +539,7 @@ Command to extend thin pool data space:
|
|||||||
1. A thin pool LV is using 26.96% of its data blocks.
|
1. A thin pool LV is using 26.96% of its data blocks.
|
||||||
# lvs
|
# lvs
|
||||||
LV VG Attr LSize Pool Origin Data%
|
LV VG Attr LSize Pool Origin Data%
|
||||||
pool0 vg twi-a-tz-- 10.00g 26.96
|
pool0 vg twi-a-tz\-\- 10.00g 26.96
|
||||||
|
|
||||||
2. Double the amount of physical space in the thin pool LV.
|
2. Double the amount of physical space in the thin pool LV.
|
||||||
# lvextend \-L+10G vg/pool0
|
# lvextend \-L+10G vg/pool0
|
||||||
@ -547,7 +547,7 @@ Command to extend thin pool data space:
|
|||||||
3. The percentage of used data blocks is half the previous value.
|
3. The percentage of used data blocks is half the previous value.
|
||||||
# lvs
|
# lvs
|
||||||
LV VG Attr LSize Pool Origin Data%
|
LV VG Attr LSize Pool Origin Data%
|
||||||
pool0 vg twi-a-tz-- 20.00g 13.48
|
pool0 vg twi-a-tz\-\- 20.00g 13.48
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
Other methods of increasing free data space in a thin pool LV
|
Other methods of increasing free data space in a thin pool LV
|
||||||
@ -579,9 +579,9 @@ Command to extend thin pool metadata space:
|
|||||||
.nf
|
.nf
|
||||||
# lvs \-a \-oname,attr,size vg
|
# lvs \-a \-oname,attr,size vg
|
||||||
LV Attr LSize
|
LV Attr LSize
|
||||||
pool0 twi-a-tz-- 20.00g
|
pool0 twi-a-tz\-\- 20.00g
|
||||||
[pool0_tdata] Twi-ao---- 20.00g
|
[pool0_tdata] Twi-ao\-\-\-\- 20.00g
|
||||||
[pool0_tmeta] ewi-ao---- 12.00m
|
[pool0_tmeta] ewi-ao\-\-\-\- 12.00m
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
3. Double the amount of physical space in the thin metadata LV.
|
3. Double the amount of physical space in the thin metadata LV.
|
||||||
@ -621,8 +621,8 @@ thin pool. The fstrim command restores the physical space to the thin pool.
|
|||||||
.nf
|
.nf
|
||||||
# lvs \-a \-oname,attr,size,pool_lv,origin,data_percent,metadata_percent vg
|
# lvs \-a \-oname,attr,size,pool_lv,origin,data_percent,metadata_percent vg
|
||||||
LV Attr LSize Pool Origin Data% Meta%
|
LV Attr LSize Pool Origin Data% Meta%
|
||||||
pool0 twi-a-tz-- 10.00g 47.01 21.03
|
pool0 twi-a-tz\-\- 10.00g 47.01 21.03
|
||||||
thin1 Vwi-aotz-- 100.00g pool0 2.70
|
thin1 Vwi-aotz\-\- 100.00g pool0 2.70
|
||||||
|
|
||||||
# df \-h /mnt/X
|
# df \-h /mnt/X
|
||||||
Filesystem Size Used Avail Use% Mounted on
|
Filesystem Size Used Avail Use% Mounted on
|
||||||
@ -631,8 +631,8 @@ Filesystem Size Used Avail Use% Mounted on
|
|||||||
# dd if=/dev/zero of=/mnt/X/1Gfile bs=4096 count=262144; sync
|
# dd if=/dev/zero of=/mnt/X/1Gfile bs=4096 count=262144; sync
|
||||||
|
|
||||||
# lvs
|
# lvs
|
||||||
pool0 vg twi-a-tz-- 10.00g 57.01 25.26
|
pool0 vg twi-a-tz\-\- 10.00g 57.01 25.26
|
||||||
thin1 vg Vwi-aotz-- 100.00g pool0 3.70
|
thin1 vg Vwi-aotz\-\- 100.00g pool0 3.70
|
||||||
|
|
||||||
# df \-h /mnt/X
|
# df \-h /mnt/X
|
||||||
/dev/mapper/vg-thin1 99G 2.1G 92G 3% /mnt/X
|
/dev/mapper/vg-thin1 99G 2.1G 92G 3% /mnt/X
|
||||||
@ -640,8 +640,8 @@ thin1 vg Vwi-aotz-- 100.00g pool0 3.70
|
|||||||
# rm /mnt/X/1Gfile
|
# rm /mnt/X/1Gfile
|
||||||
|
|
||||||
# lvs
|
# lvs
|
||||||
pool0 vg twi-a-tz-- 10.00g 57.01 25.26
|
pool0 vg twi-a-tz\-\- 10.00g 57.01 25.26
|
||||||
thin1 vg Vwi-aotz-- 100.00g pool0 3.70
|
thin1 vg Vwi-aotz\-\- 100.00g pool0 3.70
|
||||||
|
|
||||||
# df \-h /mnt/X
|
# df \-h /mnt/X
|
||||||
/dev/mapper/vg-thin1 99G 1.1G 93G 2% /mnt/X
|
/dev/mapper/vg-thin1 99G 1.1G 93G 2% /mnt/X
|
||||||
@ -649,8 +649,8 @@ thin1 vg Vwi-aotz-- 100.00g pool0 3.70
|
|||||||
# fstrim \-v /mnt/X
|
# fstrim \-v /mnt/X
|
||||||
|
|
||||||
# lvs
|
# lvs
|
||||||
pool0 vg twi-a-tz-- 10.00g 47.01 21.03
|
pool0 vg twi-a-tz\-\- 10.00g 47.01 21.03
|
||||||
thin1 vg Vwi-aotz-- 100.00g pool0 2.70
|
thin1 vg Vwi-aotz\-\- 100.00g pool0 2.70
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
The "Discard" section covers an option for automatically freeing data
|
The "Discard" section covers an option for automatically freeing data
|
||||||
@ -714,7 +714,7 @@ lvm.conf monitoring setting.
|
|||||||
|
|
||||||
.IP \[bu]
|
.IP \[bu]
|
||||||
To activate or create a thin pool LV without interacting with dmeventd,
|
To activate or create a thin pool LV without interacting with dmeventd,
|
||||||
the --ignoremonitoring option can be used. With this option, the command
|
the \-\-ignoremonitoring option can be used. With this option, the command
|
||||||
will not ask dmeventd to monitor the thin pool LV.
|
will not ask dmeventd to monitor the thin pool LV.
|
||||||
|
|
||||||
.IP \[bu]
|
.IP \[bu]
|
||||||
@ -740,14 +740,14 @@ is all used (see the section "Automatically extend thin pool LV"). If
|
|||||||
thin pool data space is already exhausted, it can still be extended (see
|
thin pool data space is already exhausted, it can still be extended (see
|
||||||
the section "Manually manage free data space of thin pool LV".)
|
the section "Manually manage free data space of thin pool LV".)
|
||||||
|
|
||||||
The behavior of a full thin pool is configurable with the --errorwhenfull
|
The behavior of a full thin pool is configurable with the \-\-errorwhenfull
|
||||||
y|n option to lvcreate or lvchange. The errorwhenfull setting applies
|
y|n option to lvcreate or lvchange. The errorwhenfull setting applies
|
||||||
only to writes; reading thin LVs can continue even when data space is
|
only to writes; reading thin LVs can continue even when data space is
|
||||||
exhausted.
|
exhausted.
|
||||||
|
|
||||||
Command to change the handling of a full thin pool:
|
Command to change the handling of a full thin pool:
|
||||||
.br
|
.br
|
||||||
.B lvchange --errorwhenfull {y|n} VG/ThinPoolLV
|
.B lvchange \-\-errorwhenfull {y|n} VG/ThinPoolLV
|
||||||
|
|
||||||
.BR lvm.conf (5)
|
.BR lvm.conf (5)
|
||||||
.B error_when_full
|
.B error_when_full
|
||||||
@ -799,7 +799,7 @@ the thin pool LV:
|
|||||||
.nf
|
.nf
|
||||||
# lvs vg/pool0
|
# lvs vg/pool0
|
||||||
LV VG Attr LSize Pool Origin Data%
|
LV VG Attr LSize Pool Origin Data%
|
||||||
pool0 vg twi-a-tz-- 512.00m 100.00
|
pool0 vg twi-a-tz\-\- 512.00m 100.00
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
.I causes
|
.I causes
|
||||||
@ -940,9 +940,9 @@ activation {
|
|||||||
thin_pool_autoextend_percent=10
|
thin_pool_autoextend_percent=10
|
||||||
}
|
}
|
||||||
|
|
||||||
# lvchange --metadataprofile pool0extend vg/pool0
|
# lvchange \-\-metadataprofile pool0extend vg/pool0
|
||||||
|
|
||||||
# lvextend --use-policies vg/pool0
|
# lvextend \-\-use-policies vg/pool0
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
.I Notes
|
.I Notes
|
||||||
@ -962,7 +962,7 @@ An LV without a profile of its own will inherit the VG profile.
|
|||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
Remove a profile from an LV using the command:
|
Remove a profile from an LV using the command:
|
||||||
.br
|
.br
|
||||||
.B lvchange --detachprofile VG/ThinPoolLV.
|
.B lvchange \-\-detachprofile VG/ThinPoolLV.
|
||||||
|
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
Commands can also have profiles applied to them. The settings that can be
|
Commands can also have profiles applied to them. The settings that can be
|
||||||
@ -1130,8 +1130,8 @@ to read unwritten parts of the thin snapshot.
|
|||||||
|
|
||||||
# lvs vg/lve vg/snaplve
|
# lvs vg/lve vg/snaplve
|
||||||
LV VG Attr LSize Pool Origin Data%
|
LV VG Attr LSize Pool Origin Data%
|
||||||
lve vg ori------- 10.00g
|
lve vg ori\-\-\-\-\-\-- 10.00g
|
||||||
snaplve vg Vwi-a-tz-- 10.00g pool0 lve 0.00
|
snaplve vg Vwi-a-tz\-\- 10.00g pool0 lve 0.00
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
|
|
||||||
@ -1163,15 +1163,15 @@ name of ExampleLV.
|
|||||||
# lvcreate \-n lv_example \-L 10G vg
|
# lvcreate \-n lv_example \-L 10G vg
|
||||||
|
|
||||||
# lvs
|
# lvs
|
||||||
lv_example vg -wi-a----- 10.00g
|
lv_example vg -wi-a\-\-\-\-- 10.00g
|
||||||
|
|
||||||
# lvconvert \-\-type thin \-\-thinpool vg/pool0
|
# lvconvert \-\-type thin \-\-thinpool vg/pool0
|
||||||
\-\-originname lv_external \-\-thin vg/lv_example
|
\-\-originname lv_external \-\-thin vg/lv_example
|
||||||
|
|
||||||
# lvs
|
# lvs
|
||||||
LV VG Attr LSize Pool Origin
|
LV VG Attr LSize Pool Origin
|
||||||
lv_example vg Vwi-a-tz-- 10.00g pool0 lv_external
|
lv_example vg Vwi-a-tz\-\- 10.00g pool0 lv_external
|
||||||
lv_external vg ori------- 10.00g
|
lv_external vg ori\-\-\-\-\-\-- 10.00g
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
|
|
||||||
@ -1193,12 +1193,12 @@ and combines the two into a thin pool LV.
|
|||||||
|
|
||||||
# lvs vg/pool0
|
# lvs vg/pool0
|
||||||
LV VG Attr LSize Pool Origin Data%
|
LV VG Attr LSize Pool Origin Data%
|
||||||
pool0 vg twi-a-tz-- 8.00m 0.00
|
pool0 vg twi-a-tz\-\- 8.00m 0.00
|
||||||
|
|
||||||
# lvs \-a
|
# lvs \-a
|
||||||
pool0 vg twi-a-tz-- 8.00m
|
pool0 vg twi-a-tz\-\- 8.00m
|
||||||
[pool0_tdata] vg Twi-ao---- 8.00m
|
[pool0_tdata] vg Twi-ao\-\-\-\- 8.00m
|
||||||
[pool0_tmeta] vg ewi-ao---- 8.00m
|
[pool0_tmeta] vg ewi-ao\-\-\-\- 8.00m
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
|
|
||||||
@ -1232,10 +1232,10 @@ Equivalent to:
|
|||||||
# lvcreate \-L8M \-V2G \-n thin1 \-\-thinpool vg/pool0
|
# lvcreate \-L8M \-V2G \-n thin1 \-\-thinpool vg/pool0
|
||||||
|
|
||||||
# lvs \-a
|
# lvs \-a
|
||||||
pool0 vg twi-a-tz-- 8.00m
|
pool0 vg twi-a-tz\-\- 8.00m
|
||||||
[pool0_tdata] vg Twi-ao---- 8.00m
|
[pool0_tdata] vg Twi-ao\-\-\-\- 8.00m
|
||||||
[pool0_tmeta] vg ewi-ao---- 8.00m
|
[pool0_tmeta] vg ewi-ao\-\-\-\- 8.00m
|
||||||
thin1 vg Vwi-a-tz-- 2.00g pool0
|
thin1 vg Vwi-a-tz\-\- 2.00g pool0
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
|
|
||||||
@ -1260,16 +1260,16 @@ activated.
|
|||||||
.nf
|
.nf
|
||||||
# lvs vg
|
# lvs vg
|
||||||
LV VG Attr LSize Pool Origin
|
LV VG Attr LSize Pool Origin
|
||||||
pool0 vg twi-a-tz-- 10.00g
|
pool0 vg twi-a-tz\-\- 10.00g
|
||||||
thin1 vg Vwi-a-tz-- 100.00g pool0
|
thin1 vg Vwi-a-tz\-\- 100.00g pool0
|
||||||
thin1s1 vg Vwi-a-tz-k 100.00g pool0 thin1
|
thin1s1 vg Vwi-a-tz-k 100.00g pool0 thin1
|
||||||
|
|
||||||
# lvconvert \-\-merge vg/thin1s1
|
# lvconvert \-\-merge vg/thin1s1
|
||||||
|
|
||||||
# lvs vg
|
# lvs vg
|
||||||
LV VG Attr LSize Pool Origin
|
LV VG Attr LSize Pool Origin
|
||||||
pool0 vg twi-a-tz-- 10.00g
|
pool0 vg twi-a-tz\-\- 10.00g
|
||||||
thin1 vg Vwi-a-tz-- 100.00g pool0
|
thin1 vg Vwi-a-tz\-\- 100.00g pool0
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
.I Example
|
.I Example
|
||||||
@ -1279,8 +1279,8 @@ Delayed merging of open LVs.
|
|||||||
|
|
||||||
# lvs vg
|
# lvs vg
|
||||||
LV VG Attr LSize Pool Origin
|
LV VG Attr LSize Pool Origin
|
||||||
pool0 vg twi-a-tz-- 10.00g
|
pool0 vg twi-a-tz\-\- 10.00g
|
||||||
thin1 vg Vwi-aotz-- 100.00g pool0
|
thin1 vg Vwi-aotz\-\- 100.00g pool0
|
||||||
thin1s1 vg Vwi-aotz-k 100.00g pool0 thin1
|
thin1s1 vg Vwi-aotz-k 100.00g pool0 thin1
|
||||||
|
|
||||||
# df
|
# df
|
||||||
@ -1302,10 +1302,10 @@ Merging of thin snapshot thin1s1 will occur on next activation.
|
|||||||
|
|
||||||
# lvs \-a vg
|
# lvs \-a vg
|
||||||
LV VG Attr LSize Pool Origin
|
LV VG Attr LSize Pool Origin
|
||||||
pool0 vg twi-a-tz-- 10.00g
|
pool0 vg twi-a-tz\-\- 10.00g
|
||||||
[pool0_tdata] vg Twi-ao---- 10.00g
|
[pool0_tdata] vg Twi-ao\-\-\-\- 10.00g
|
||||||
[pool0_tmeta] vg ewi-ao---- 1.00g
|
[pool0_tmeta] vg ewi-ao\-\-\-\- 1.00g
|
||||||
thin1 vg Owi-a-tz-- 100.00g pool0
|
thin1 vg Owi-a-tz\-\- 100.00g pool0
|
||||||
[thin1s1] vg Swi-a-tz-k 100.00g pool0 thin1
|
[thin1s1] vg Swi-a-tz-k 100.00g pool0 thin1
|
||||||
|
|
||||||
# lvchange \-an vg/thin1
|
# lvchange \-an vg/thin1
|
||||||
|
@ -13,6 +13,6 @@ Sizes will be rounded if necessary. For example, the LV size must be an
|
|||||||
exact number of extents, and the size of a striped segment must be a
|
exact number of extents, and the size of a striped segment must be a
|
||||||
multiple of the number of stripes.
|
multiple of the number of stripes.
|
||||||
|
|
||||||
In the usage section below, \fB--size\fP \fISize\fP can be replaced
|
In the usage section below, \fB\-\-size\fP \fISize\fP can be replaced
|
||||||
with \fB--extents\fP \fINumber\fP. See both descriptions
|
with \fB\-\-extents\fP \fINumber\fP. See both descriptions
|
||||||
the options section.
|
the options section.
|
||||||
|
@ -23,39 +23,39 @@ Sizes will be rounded if necessary. For example, the LV size must be an
|
|||||||
exact number of extents, and the size of a striped segment must be a
|
exact number of extents, and the size of a striped segment must be a
|
||||||
multiple of the number of stripes.
|
multiple of the number of stripes.
|
||||||
|
|
||||||
In the usage section below, \fB--size\fP \fISize\fP can be replaced
|
In the usage section below, \fB\-\-size\fP \fISize\fP can be replaced
|
||||||
with \fB--extents\fP \fINumber\fP. See both descriptions
|
with \fB\-\-extents\fP \fINumber\fP. See both descriptions
|
||||||
the options section.
|
the options section.
|
||||||
.SH USAGE
|
.SH USAGE
|
||||||
\fBlvreduce\fP \fB-L\fP|\fB--size\fP [\fB-\fP]\fISize\fP[m|UNIT] \fILV\fP
|
\fBlvreduce\fP \fB-L\fP|\fB\-\-size\fP [\fB-\fP]\fISize\fP[m|UNIT] \fILV\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.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] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP ]
|
[ \fB-A\fP|\fB\-\-autobackup\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-f\fP|\fB--force\fP ]
|
[ \fB-f\fP|\fB\-\-force\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-n\fP|\fB--nofsck\fP ]
|
[ \fB-n\fP|\fB\-\-nofsck\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-r\fP|\fB--resizefs\fP ]
|
[ \fB-r\fP|\fB\-\-resizefs\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--noudevsync\fP ]
|
[ \fB\-\-noudevsync\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -66,71 +66,71 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.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
|
||||||
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 vgcfgbackup(8) for more information.
|
Enabling this is strongly advised! See vgcfgbackup(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -139,24 +139,24 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Specifies the new size of the LV in logical extents.
|
Specifies the new size of the LV in logical extents.
|
||||||
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.
|
||||||
An alternate syntax allows the size to be determined indirectly
|
An alternate syntax allows the size to be determined indirectly
|
||||||
@ -176,34 +176,34 @@ from the current size.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB\-\-force\fP ...
|
||||||
.br
|
.br
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-n\fP|\fB--nofsck\fP
|
\fB-n\fP|\fB\-\-nofsck\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB\-\-noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
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
|
||||||
@ -212,21 +212,21 @@ ignore the devices LVM creates.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -237,16 +237,16 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-r\fP|\fB--resizefs\fP
|
\fB-r\fP|\fB\-\-resizefs\fP
|
||||||
.br
|
.br
|
||||||
Resize underlying filesystem together with the LV using fsadm(8).
|
Resize underlying filesystem together with the LV using fsadm(8).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Specifies the new size of the LV.
|
Specifies the new size of the 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.
|
||||||
When the plus \fB+\fP or minus \fB-\fP prefix is used,
|
When the plus \fB+\fP or minus \fB-\fP prefix is used,
|
||||||
@ -255,7 +255,7 @@ from the current size.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -265,20 +265,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -305,7 +305,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -39,27 +39,27 @@ former LV completely.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP ]
|
[ \fB-A\fP|\fB\-\-autobackup\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-f\fP|\fB--force\fP ]
|
[ \fB-f\fP|\fB\-\-force\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-S\fP|\fB--select\fP \fIString\fP ]
|
[ \fB-S\fP|\fB\-\-select\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--nohistory\fP ]
|
[ \fB\-\-nohistory\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--noudevsync\fP ]
|
[ \fB\-\-noudevsync\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -70,71 +70,71 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.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
|
||||||
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 vgcfgbackup(8) for more information.
|
Enabling this is strongly advised! See vgcfgbackup(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -143,40 +143,40 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB\-\-force\fP ...
|
||||||
.br
|
.br
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nohistory\fP
|
\fB\-\-nohistory\fP
|
||||||
.br
|
.br
|
||||||
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
|
||||||
@ -184,7 +184,7 @@ metadata/record_lvs_history is enabled.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB\-\-noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
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
|
||||||
@ -193,21 +193,21 @@ ignore the devices LVM creates.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -218,12 +218,12 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB\-\-select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Select objects for processing and reporting based on specified criteria.
|
Select objects for processing and reporting based on specified criteria.
|
||||||
The criteria syntax is described by \fB--select help\fP and \fBlvmreport\fP(7).
|
The criteria syntax is described by \fB\-\-select help\fP and \fBlvmreport\fP(7).
|
||||||
For reporting commands, one row is displayed for each object matching the criteria.
|
For reporting commands, one row is displayed for each object matching the criteria.
|
||||||
See \fB--options help\fP for selectable object fields.
|
See \fB\-\-options help\fP for selectable object fields.
|
||||||
Rows can be displayed with an additional "selected" field (-o selected)
|
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
|
||||||
@ -231,7 +231,7 @@ used to choose items to process.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -241,20 +241,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -279,7 +279,7 @@ in place of a VG, LV or PV.
|
|||||||
\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.
|
||||||
.HP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
@ -296,7 +296,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -29,15 +29,15 @@ Common options for command:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP ]
|
[ \fB-A\fP|\fB\-\-autobackup\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--noudevsync\fP ]
|
[ \fB\-\-noudevsync\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@ -45,71 +45,71 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.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
|
||||||
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 vgcfgbackup(8) for more information.
|
Enabling this is strongly advised! See vgcfgbackup(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -118,33 +118,33 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB\-\-noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
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
|
||||||
@ -153,21 +153,21 @@ ignore the devices LVM creates.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -178,7 +178,7 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -188,20 +188,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -232,7 +232,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
lvresize resizes an LV in the same way as lvextend and lvreduce. See
|
lvresize resizes an LV in the same way as lvextend and lvreduce. See
|
||||||
\fBlvextend\fP(8) and \fBlvreduce\fP(8) for more information.
|
\fBlvextend\fP(8) and \fBlvreduce\fP(8) for more information.
|
||||||
|
|
||||||
In the usage section below, \fB--size\fP \fISize\fP can be replaced
|
In the usage section below, \fB\-\-size\fP \fISize\fP can be replaced
|
||||||
with \fB--extents\fP \fINumber\fP. See both descriptions
|
with \fB\-\-extents\fP \fINumber\fP. See both descriptions
|
||||||
the options section.
|
the options section.
|
||||||
|
@ -11,132 +11,132 @@ lvresize \- Resize a logical volume
|
|||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
.ad l
|
.ad l
|
||||||
\fB--alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP
|
\fB\-\-alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB\-\-autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP
|
\fB-d\fP|\fB\-\-debug\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.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]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP
|
\fB-f\fP|\fB\-\-force\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-n\fP|\fB--nofsck\fP
|
\fB-n\fP|\fB\-\-nofsck\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosync\fP
|
\fB\-\-nosync\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB\-\-noudevsync\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--poolmetadatasize\fP [\fB+\fP]\fISize\fP[m|UNIT]
|
\fB\-\-poolmetadatasize\fP [\fB+\fP]\fISize\fP[m|UNIT]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP
|
\fB-q\fP|\fB\-\-quiet\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-r\fP|\fB--resizefs\fP
|
\fB-r\fP|\fB\-\-resizefs\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.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]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-i\fP|\fB--stripes\fP \fINumber\fP
|
\fB-i\fP|\fB\-\-stripes\fP \fINumber\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-I\fP|\fB--stripesize\fP \fISize\fP[k|UNIT]
|
\fB-I\fP|\fB\-\-stripesize\fP \fISize\fP[k|UNIT]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--type\fP \fBlinear\fP|\fBstriped\fP|\fBsnapshot\fP|\fBmirror\fP|\fBraid\fP|\fBthin\fP|\fBcache\fP|\fBthin-pool\fP|\fBcache-pool\fP
|
\fB\-\-type\fP \fBlinear\fP|\fBstriped\fP|\fBsnapshot\fP|\fBmirror\fP|\fBraid\fP|\fBthin\fP|\fBcache\fP|\fBthin-pool\fP|\fBcache-pool\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP
|
\fB-v\fP|\fB\-\-verbose\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.ad b
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
lvresize resizes an LV in the same way as lvextend and lvreduce. See
|
lvresize resizes an LV in the same way as lvextend and lvreduce. See
|
||||||
\fBlvextend\fP(8) and \fBlvreduce\fP(8) for more information.
|
\fBlvextend\fP(8) and \fBlvreduce\fP(8) for more information.
|
||||||
|
|
||||||
In the usage section below, \fB--size\fP \fISize\fP can be replaced
|
In the usage section below, \fB\-\-size\fP \fISize\fP can be replaced
|
||||||
with \fB--extents\fP \fINumber\fP. See both descriptions
|
with \fB\-\-extents\fP \fINumber\fP. See both descriptions
|
||||||
the options section.
|
the options section.
|
||||||
.SH USAGE
|
.SH USAGE
|
||||||
Resize an LV by a specified size.
|
Resize an LV by a specified size.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBlvresize\fP \fB-L\fP|\fB--size\fP [\fB+\fP|\fB-\fP]\fISize\fP[m|UNIT] \fILV\fP
|
\fBlvresize\fP \fB-L\fP|\fB\-\-size\fP [\fB+\fP|\fB-\fP]\fISize\fP[m|UNIT] \fILV\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.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] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-r\fP|\fB--resizefs\fP ]
|
[ \fB-r\fP|\fB\-\-resizefs\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--poolmetadatasize\fP [\fB+\fP]\fISize\fP[m|UNIT] ]
|
[ \fB\-\-poolmetadatasize\fP [\fB+\fP]\fISize\fP[m|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -154,7 +154,7 @@ Resize an LV by specified PV extents.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-r\fP|\fB--resizefs\fP ]
|
[ \fB-r\fP|\fB\-\-resizefs\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -165,7 +165,7 @@ Resize an LV by specified PV extents.
|
|||||||
Resize a pool metadata SubLV by a specified size.
|
Resize a pool metadata SubLV by a specified size.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBlvresize\fP \fB--poolmetadatasize\fP [\fB+\fP]\fISize\fP[m|UNIT] \fILV\fP\fI_thinpool\fP
|
\fBlvresize\fP \fB\-\-poolmetadatasize\fP [\fB+\fP]\fISize\fP[m|UNIT] \fILV\fP\fI_thinpool\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -180,43 +180,43 @@ Common options for command:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP ]
|
[ \fB-A\fP|\fB\-\-autobackup\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-f\fP|\fB--force\fP ]
|
[ \fB-f\fP|\fB\-\-force\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-n\fP|\fB--nofsck\fP ]
|
[ \fB-n\fP|\fB\-\-nofsck\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-i\fP|\fB--stripes\fP \fINumber\fP ]
|
[ \fB-i\fP|\fB\-\-stripes\fP \fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-I\fP|\fB--stripesize\fP \fISize\fP[k|UNIT] ]
|
[ \fB-I\fP|\fB\-\-stripesize\fP \fISize\fP[k|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP ]
|
[ \fB\-\-alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--nosync\fP ]
|
[ \fB\-\-nosync\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--noudevsync\fP ]
|
[ \fB\-\-noudevsync\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--type\fP \fBlinear\fP|\fBstriped\fP|\fBsnapshot\fP|\fBmirror\fP|\fBraid\fP|\fBthin\fP|\fBcache\fP|\fBthin-pool\fP|\fBcache-pool\fP ]
|
[ \fB\-\-type\fP \fBlinear\fP|\fBstriped\fP|\fBsnapshot\fP|\fBmirror\fP|\fBraid\fP|\fBthin\fP|\fBcache\fP|\fBthin-pool\fP|\fBcache-pool\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@ -224,57 +224,57 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP
|
\fB\-\-alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP
|
||||||
.br
|
.br
|
||||||
Determines the allocation policy when a command needs to allocate
|
Determines the allocation policy when a command needs to allocate
|
||||||
Physical Extents (PEs) from the VG. Each VG and LV has an allocation policy
|
Physical Extents (PEs) from the VG. Each VG and LV has an allocation policy
|
||||||
@ -295,21 +295,21 @@ See \fBlvm\fP(8) for more information about allocation.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
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 vgcfgbackup(8) for more information.
|
Enabling this is strongly advised! See vgcfgbackup(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -318,24 +318,24 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Specifies the new size of the LV in logical extents.
|
Specifies the new size of the LV in logical extents.
|
||||||
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.
|
||||||
An alternate syntax allows the size to be determined indirectly
|
An alternate syntax allows the size to be determined indirectly
|
||||||
@ -355,34 +355,34 @@ from the current size.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB\-\-force\fP ...
|
||||||
.br
|
.br
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-n\fP|\fB--nofsck\fP
|
\fB-n\fP|\fB\-\-nofsck\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosync\fP
|
\fB\-\-nosync\fP
|
||||||
.br
|
.br
|
||||||
Causes the creation of mirror, raid1, raid4, raid5 and raid10 to skip the
|
Causes the creation of mirror, raid1, raid4, raid5 and raid10 to skip the
|
||||||
initial synchronization. In case of mirror, raid1 and raid10, any data
|
initial synchronization. In case of mirror, raid1 and raid10, any data
|
||||||
@ -399,7 +399,7 @@ and thus do not support initial synchronization.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB\-\-noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
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
|
||||||
@ -408,7 +408,7 @@ ignore the devices LVM creates.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
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
|
||||||
@ -416,21 +416,21 @@ the value is added to the current size.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -441,16 +441,16 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-r\fP|\fB--resizefs\fP
|
\fB-r\fP|\fB\-\-resizefs\fP
|
||||||
.br
|
.br
|
||||||
Resize underlying filesystem together with the LV using fsadm(8).
|
Resize underlying filesystem together with the LV using fsadm(8).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Specifies the new size of the LV.
|
Specifies the new size of the 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.
|
||||||
When the plus \fB+\fP or minus \fB-\fP prefix is used,
|
When the plus \fB+\fP or minus \fB-\fP prefix is used,
|
||||||
@ -459,12 +459,12 @@ from the current size.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-i\fP|\fB--stripes\fP \fINumber\fP
|
\fB-i\fP|\fB\-\-stripes\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
Specifies the number of stripes in a striped LV. This is the number of
|
Specifies the number of stripes in a striped LV. This is the number of
|
||||||
PVs (devices) that a striped LV is spread across. Data that
|
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 change existing
|
the stripe size (see \-\-stripesize). This does not change existing
|
||||||
allocated space, but only applies to space being allocated by the command.
|
allocated space, but only applies to space being allocated by the command.
|
||||||
When creating a RAID 4/5/6 LV, this number does not include the extra
|
When creating a RAID 4/5/6 LV, this number does not include the extra
|
||||||
devices that are required for parity. The largest number depends on
|
devices that are required for parity. The largest number depends on
|
||||||
@ -476,14 +476,14 @@ see lvm.conf allocation/raid_stripe_all_devices.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -493,7 +493,7 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--type\fP \fBlinear\fP|\fBstriped\fP|\fBsnapshot\fP|\fBmirror\fP|\fBraid\fP|\fBthin\fP|\fBcache\fP|\fBthin-pool\fP|\fBcache-pool\fP
|
\fB\-\-type\fP \fBlinear\fP|\fBstriped\fP|\fBsnapshot\fP|\fBmirror\fP|\fBraid\fP|\fBthin\fP|\fBcache\fP|\fBthin-pool\fP|\fBcache-pool\fP
|
||||||
.br
|
.br
|
||||||
The LV type, also known as "segment type" or "segtype".
|
The LV type, also known as "segment type" or "segtype".
|
||||||
See usage descriptions for the specific ways to use these types.
|
See usage descriptions for the specific ways to use these types.
|
||||||
@ -503,25 +503,25 @@ For performance caching (\fBcache\fP, \fBcache-pool\fP) see \fBlvmcache\fP(7).
|
|||||||
For copy-on-write snapshots (\fBsnapshot\fP) see usage definitions.
|
For copy-on-write snapshots (\fBsnapshot\fP) see usage definitions.
|
||||||
Several commands omit an explicit type option because the type
|
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).
|
(e.g. \-\-stripes, \-\-mirrors, \-\-snapshot, \-\-virtualsize, \-\-thin, \-\-cache).
|
||||||
Use inferred types with care because it can lead to unexpected results.
|
Use inferred types with care because it can lead to unexpected results.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -560,7 +560,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
176
man/lvs.8_pregen
176
man/lvs.8_pregen
@ -16,111 +16,111 @@ lvs produces formatted output about LVs.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-H\fP|\fB--history\fP ]
|
[ \fB-H\fP|\fB\-\-history\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-a\fP|\fB--all\fP ]
|
[ \fB-a\fP|\fB\-\-all\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-o\fP|\fB--options\fP \fIString\fP ]
|
[ \fB-o\fP|\fB\-\-options\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-P\fP|\fB--partial\fP ]
|
[ \fB-P\fP|\fB\-\-partial\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-S\fP|\fB--select\fP \fIString\fP ]
|
[ \fB-S\fP|\fB\-\-select\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-O\fP|\fB--sort\fP \fIString\fP ]
|
[ \fB-O\fP|\fB\-\-sort\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--segments\fP ]
|
[ \fB\-\-segments\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--aligned\fP ]
|
[ \fB\-\-aligned\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--binary\fP ]
|
[ \fB\-\-binary\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.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 ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--foreign\fP ]
|
[ \fB\-\-foreign\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignorelockingfailure\fP ]
|
[ \fB\-\-ignorelockingfailure\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignoreskippedcluster\fP ]
|
[ \fB\-\-ignoreskippedcluster\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--logonly\fP ]
|
[ \fB\-\-logonly\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--nameprefixes\fP ]
|
[ \fB\-\-nameprefixes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--noheadings\fP ]
|
[ \fB\-\-noheadings\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--nolocking\fP ]
|
[ \fB\-\-nolocking\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--nosuffix\fP ]
|
[ \fB\-\-nosuffix\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--readonly\fP ]
|
[ \fB\-\-readonly\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--rows\fP ]
|
[ \fB\-\-rows\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--separator\fP \fIString\fP ]
|
[ \fB\-\-separator\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--shared\fP ]
|
[ \fB\-\-shared\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--trustcache\fP ]
|
[ \fB\-\-trustcache\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--unbuffered\fP ]
|
[ \fB\-\-unbuffered\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.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 ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--unquoted\fP ]
|
[ \fB\-\-unquoted\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -134,63 +134,63 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--aligned\fP
|
\fB\-\-aligned\fP
|
||||||
.br
|
.br
|
||||||
Use with --separator to align the output columns
|
Use with \-\-separator to align the output columns
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB\-\-all\fP
|
||||||
.br
|
.br
|
||||||
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,
|
||||||
@ -198,7 +198,7 @@ which are not independently accessible, e.g. not mountable.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--binary\fP
|
\fB\-\-binary\fP
|
||||||
.br
|
.br
|
||||||
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
|
||||||
@ -206,14 +206,14 @@ the "unknown" value which denotes that the value could not be determined).
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -222,40 +222,40 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
See lvmreport(7).
|
See lvmreport(7).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--foreign\fP
|
\fB\-\-foreign\fP
|
||||||
.br
|
.br
|
||||||
Report/display foreign VGs that would otherwise be skipped.
|
Report/display foreign VGs that would otherwise be skipped.
|
||||||
See lvmsystemid(7) for more information about foreign VGs.
|
See lvmsystemid(7) for more information about foreign VGs.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-H\fP|\fB--history\fP
|
\fB-H\fP|\fB\-\-history\fP
|
||||||
.br
|
.br
|
||||||
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
|
||||||
@ -263,61 +263,61 @@ lvm.conf metadata/record_lvs_history was enabled.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB\-\-ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoreskippedcluster\fP
|
\fB\-\-ignoreskippedcluster\fP
|
||||||
.br
|
.br
|
||||||
Use to avoid exiting with an non-zero status code if the command is run
|
Use to avoid exiting with an non-zero status code if the command is run
|
||||||
without clustered locking and clustered VGs are skipped.
|
without clustered locking and clustered VGs are skipped.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--logonly\fP
|
\fB\-\-logonly\fP
|
||||||
.br
|
.br
|
||||||
Suppress command report and display only log report.
|
Suppress command report and display only log report.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nameprefixes\fP
|
\fB\-\-nameprefixes\fP
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noheadings\fP
|
\fB\-\-noheadings\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB\-\-nolocking\fP
|
||||||
.br
|
.br
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosuffix\fP
|
\fB\-\-nosuffix\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-o\fP|\fB--options\fP \fIString\fP
|
\fB-o\fP|\fB\-\-options\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Comma-separated, ordered list of fields to display in columns.
|
Comma-separated, ordered list of fields to display in columns.
|
||||||
String arg syntax is: [+|-|#]Field1[,Field2 ...]
|
String arg syntax is: [+|-|#]Field1[,Field2 ...]
|
||||||
@ -339,7 +339,7 @@ See lvmreport(7) for more information about reporting.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-P\fP|\fB--partial\fP
|
\fB-P\fP|\fB\-\-partial\fP
|
||||||
.br
|
.br
|
||||||
When set, the tools will do their best to provide access to VGs
|
When set, the tools will do their best to provide access to VGs
|
||||||
that are only partially available (one or more PVs belonging
|
that are only partially available (one or more PVs belonging
|
||||||
@ -348,21 +348,21 @@ changed with this option.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB\-\-readonly\fP
|
||||||
.br
|
.br
|
||||||
Run the command in a special read-only mode which will read on-disk
|
Run the command in a special read-only mode which will read on-disk
|
||||||
metadata without needing to take any locks. This can be used to peek
|
metadata without needing to take any locks. This can be used to peek
|
||||||
@ -376,7 +376,7 @@ actually in use.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -387,24 +387,24 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--rows\fP
|
\fB\-\-rows\fP
|
||||||
.br
|
.br
|
||||||
Output columns as rows.
|
Output columns as rows.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--segments\fP
|
\fB\-\-segments\fP
|
||||||
.br
|
.br
|
||||||
Use default columns that emphasize segment information.
|
Use default columns that emphasize segment information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB\-\-select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Select objects for processing and reporting based on specified criteria.
|
Select objects for processing and reporting based on specified criteria.
|
||||||
The criteria syntax is described by \fB--select help\fP and \fBlvmreport\fP(7).
|
The criteria syntax is described by \fB\-\-select help\fP and \fBlvmreport\fP(7).
|
||||||
For reporting commands, one row is displayed for each object matching the criteria.
|
For reporting commands, one row is displayed for each object matching the criteria.
|
||||||
See \fB--options help\fP for selectable object fields.
|
See \fB\-\-options help\fP for selectable object fields.
|
||||||
Rows can be displayed with an additional "selected" field (-o selected)
|
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
|
||||||
@ -412,13 +412,13 @@ used to choose items to process.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--separator\fP \fIString\fP
|
\fB\-\-separator\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
String to use to separate each column. Useful if grepping the output.
|
String to use to separate each column. Useful if grepping the output.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--shared\fP
|
\fB\-\-shared\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -426,14 +426,14 @@ See lvmlockd(8) for more information about shared VGs.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-O\fP|\fB--sort\fP \fIString\fP
|
\fB-O\fP|\fB\-\-sort\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -443,50 +443,50 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--trustcache\fP
|
\fB\-\-trustcache\fP
|
||||||
.br
|
.br
|
||||||
Avoids certain device scanning during command processing. Do not use.
|
Avoids certain device scanning during command processing. Do not use.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unbuffered\fP
|
\fB\-\-unbuffered\fP
|
||||||
.br
|
.br
|
||||||
Produce output immediately without sorting or aligning the columns properly.
|
Produce output immediately without sorting or aligning the columns properly.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
All sizes are output in these units:
|
All sizes are output in these units:
|
||||||
human-(r)eadable with '<' rounding indicator,
|
human-(r)eadable with '<' rounding indicator,
|
||||||
(h)uman-readable, (b)ytes, (s)ectors, (k)ilobytes, (m)egabytes,
|
(h)uman-readable, (b)ytes, (s)ectors, (k)ilobytes, (m)egabytes,
|
||||||
(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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unquoted\fP
|
\fB\-\-unquoted\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -522,7 +522,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -20,14 +20,14 @@ comprehensive information about LVs.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-a\fP|\fB--all\fP ]
|
[ \fB-a\fP|\fB\-\-all\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
.RE
|
.RE
|
||||||
.br
|
.br
|
||||||
|
|
||||||
\fBlvscan\fP \fB--cache\fP
|
\fBlvscan\fP \fB\-\-cache\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -41,23 +41,23 @@ Common options for command:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-b\fP|\fB--blockdevice\fP ]
|
[ \fB-b\fP|\fB\-\-blockdevice\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-P\fP|\fB--partial\fP ]
|
[ \fB-P\fP|\fB\-\-partial\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignorelockingfailure\fP ]
|
[ \fB\-\-ignorelockingfailure\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--readonly\fP ]
|
[ \fB\-\-readonly\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@ -65,57 +65,57 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB\-\-all\fP
|
||||||
.br
|
.br
|
||||||
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,
|
||||||
@ -123,26 +123,26 @@ which are not independently accessible, e.g. not mountable.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-b\fP|\fB--blockdevice\fP
|
\fB-b\fP|\fB\-\-blockdevice\fP
|
||||||
.br
|
.br
|
||||||
No longer used.
|
No longer used.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cache\fP
|
\fB\-\-cache\fP
|
||||||
.br
|
.br
|
||||||
Scan the devices used by an LV and send the metadata to lvmetad.
|
Scan the devices used by an LV and send the metadata to lvmetad.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -151,40 +151,40 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB\-\-ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-P\fP|\fB--partial\fP
|
\fB-P\fP|\fB\-\-partial\fP
|
||||||
.br
|
.br
|
||||||
When set, the tools will do their best to provide access to VGs
|
When set, the tools will do their best to provide access to VGs
|
||||||
that are only partially available (one or more PVs belonging
|
that are only partially available (one or more PVs belonging
|
||||||
@ -193,21 +193,21 @@ changed with this option.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB\-\-readonly\fP
|
||||||
.br
|
.br
|
||||||
Run the command in a special read-only mode which will read on-disk
|
Run the command in a special read-only mode which will read on-disk
|
||||||
metadata without needing to take any locks. This can be used to peek
|
metadata without needing to take any locks. This can be used to peek
|
||||||
@ -221,7 +221,7 @@ actually in use.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -232,7 +232,7 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -242,20 +242,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -282,7 +282,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -15,27 +15,27 @@ Change properties of all PVs.
|
|||||||
.P
|
.P
|
||||||
\fBpvchange\fP
|
\fBpvchange\fP
|
||||||
.RS 4
|
.RS 4
|
||||||
( \fB-x\fP|\fB--allocatable\fP \fBy\fP|\fBn\fP,
|
( \fB-x\fP|\fB\-\-allocatable\fP \fBy\fP|\fBn\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-u\fP|\fB--uuid\fP,
|
\fB-u\fP|\fB\-\-uuid\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP,
|
\fB-a\fP|\fB\-\-all\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--addtag\fP \fITag\fP,
|
\fB\-\-addtag\fP \fITag\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--deltag\fP \fITag\fP,
|
\fB\-\-deltag\fP \fITag\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataignore\fP \fBy\fP|\fBn\fP )
|
\fB\-\-metadataignore\fP \fBy\fP|\fBn\fP )
|
||||||
.RE
|
.RE
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
@ -48,23 +48,23 @@ Change properties of specified PVs.
|
|||||||
.P
|
.P
|
||||||
\fBpvchange\fP
|
\fBpvchange\fP
|
||||||
.RS 4
|
.RS 4
|
||||||
( \fB-x\fP|\fB--allocatable\fP \fBy\fP|\fBn\fP,
|
( \fB-x\fP|\fB\-\-allocatable\fP \fBy\fP|\fBn\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-u\fP|\fB--uuid\fP,
|
\fB-u\fP|\fB\-\-uuid\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--addtag\fP \fITag\fP,
|
\fB\-\-addtag\fP \fITag\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--deltag\fP \fITag\fP,
|
\fB\-\-deltag\fP \fITag\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataignore\fP \fBy\fP|\fBn\fP )
|
\fB\-\-metadataignore\fP \fBy\fP|\fBn\fP )
|
||||||
.RE
|
.RE
|
||||||
.RS 4
|
.RS 4
|
||||||
\fIPV\fP|\fISelect\fP ...
|
\fIPV\fP|\fISelect\fP ...
|
||||||
@ -72,7 +72,7 @@ Change properties of specified PVs.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-S\fP|\fB--select\fP \fIString\fP ]
|
[ \fB-S\fP|\fB\-\-select\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -83,23 +83,23 @@ Common options for command:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP ]
|
[ \fB-A\fP|\fB\-\-autobackup\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-f\fP|\fB--force\fP ]
|
[ \fB-f\fP|\fB\-\-force\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-u\fP|\fB--uuid\fP ]
|
[ \fB-u\fP|\fB\-\-uuid\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignoreskippedcluster\fP ]
|
[ \fB\-\-ignoreskippedcluster\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@ -107,89 +107,89 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--addtag\fP \fITag\fP
|
\fB\-\-addtag\fP \fITag\fP
|
||||||
.br
|
.br
|
||||||
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 lvm(8) for information about tags.
|
multiple tags at once. See lvm(8) for information about tags.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB\-\-all\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Enable or disable allocation of physical extents on this PV.
|
Enable or disable allocation of physical extents on this PV.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
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 vgcfgbackup(8) for more information.
|
Enabling this is strongly advised! See vgcfgbackup(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -198,54 +198,54 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--deltag\fP \fITag\fP
|
\fB\-\-deltag\fP \fITag\fP
|
||||||
.br
|
.br
|
||||||
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 lvm(8) for information about tags.
|
multiple tags at once. See lvm(8) for information about tags.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB\-\-force\fP ...
|
||||||
.br
|
.br
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoreskippedcluster\fP
|
\fB\-\-ignoreskippedcluster\fP
|
||||||
.br
|
.br
|
||||||
Use to avoid exiting with an non-zero status code if the command is run
|
Use to avoid exiting with an non-zero status code if the command is run
|
||||||
without clustered locking and clustered VGs are skipped.
|
without clustered locking and clustered VGs are skipped.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataignore\fP \fBy\fP|\fBn\fP
|
\fB\-\-metadataignore\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
Specifies the metadataignore property of a PV.
|
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
|
||||||
@ -254,21 +254,21 @@ If no, lvm will store metadata on the PV.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -279,12 +279,12 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB\-\-select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Select objects for processing and reporting based on specified criteria.
|
Select objects for processing and reporting based on specified criteria.
|
||||||
The criteria syntax is described by \fB--select help\fP and \fBlvmreport\fP(7).
|
The criteria syntax is described by \fB\-\-select help\fP and \fBlvmreport\fP(7).
|
||||||
For reporting commands, one row is displayed for each object matching the criteria.
|
For reporting commands, one row is displayed for each object matching the criteria.
|
||||||
See \fB--options help\fP for selectable object fields.
|
See \fB\-\-options help\fP for selectable object fields.
|
||||||
Rows can be displayed with an additional "selected" field (-o selected)
|
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
|
||||||
@ -292,7 +292,7 @@ used to choose items to process.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -302,26 +302,26 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-u\fP|\fB--uuid\fP
|
\fB-u\fP|\fB\-\-uuid\fP
|
||||||
.br
|
.br
|
||||||
Generate new random UUID for specified PVs.
|
Generate new random UUID for specified PVs.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -342,7 +342,7 @@ Start and length range (counting from 0): \fIPV\fP[\fB:\fP\fIPE\fP\fB+\fP\fIPE\f
|
|||||||
\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.
|
||||||
.HP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
@ -359,7 +359,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -14,7 +14,7 @@ pvck checks the LVM metadata for consistency on PVs.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--labelsector\fP \fINumber\fP ]
|
[ \fB\-\-labelsector\fP \fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -25,64 +25,64 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -91,27 +91,27 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--labelsector\fP \fINumber\fP
|
\fB\-\-labelsector\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
By default the PV is labelled with an LVM2 identifier in its second
|
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
|
||||||
@ -120,27 +120,27 @@ in the source). Use with care.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -150,20 +150,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -195,7 +195,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -34,63 +34,63 @@ normally prevent it, e.g. if the PV is already in a VG.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-f\fP|\fB--force\fP ]
|
[ \fB-f\fP|\fB\-\-force\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP ]
|
[ \fB-M\fP|\fB\-\-metadatatype\fP \fBlvm2\fP|\fBlvm1\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-u\fP|\fB--uuid\fP \fIString\fP ]
|
[ \fB-u\fP|\fB\-\-uuid\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-Z\fP|\fB--zero\fP \fBy\fP|\fBn\fP ]
|
[ \fB-Z\fP|\fB\-\-zero\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--dataalignment\fP \fISize\fP[k|UNIT] ]
|
[ \fB\-\-dataalignment\fP \fISize\fP[k|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--dataalignmentoffset\fP \fISize\fP[k|UNIT] ]
|
[ \fB\-\-dataalignmentoffset\fP \fISize\fP[k|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--bootloaderareasize\fP \fISize\fP[m|UNIT] ]
|
[ \fB\-\-bootloaderareasize\fP \fISize\fP[m|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--labelsector\fP \fINumber\fP ]
|
[ \fB\-\-labelsector\fP \fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--[pv]metadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP ]
|
[ \fB\-\-[pv]metadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--metadatasize\fP \fISize\fP[m|UNIT] ]
|
[ \fB\-\-metadatasize\fP \fISize\fP[m|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--metadataignore\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-metadataignore\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--norestorefile\fP ]
|
[ \fB\-\-norestorefile\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--setphysicalvolumesize\fP \fISize\fP[m|UNIT] ]
|
[ \fB\-\-setphysicalvolumesize\fP \fISize\fP[m|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--restorefile\fP \fIString\fP ]
|
[ \fB\-\-restorefile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -101,78 +101,78 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--bootloaderareasize\fP \fISize\fP[m|UNIT]
|
\fB\-\-bootloaderareasize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
Create a separate bootloader area of specified size besides PV's data
|
Create a separate bootloader area of specified size besides PV's data
|
||||||
area. The bootloader area is an area of reserved space on the PV from
|
area. The bootloader area is an area of reserved space on the PV from
|
||||||
which LVM will not allocate any extents and it's kept untouched. This is
|
which LVM will not allocate any extents and it's kept untouched. This is
|
||||||
primarily aimed for use with bootloaders to embed their own data or metadata.
|
primarily aimed for use with bootloaders to embed their own data or metadata.
|
||||||
The start of the bootloader area is always aligned, see also --dataalignment
|
The start of the bootloader area is always aligned, see also \-\-dataalignment
|
||||||
and --dataalignmentoffset. The bootloader area size may eventually
|
and \-\-dataalignmentoffset. The bootloader area size may eventually
|
||||||
end up increased due to the alignment, but it's never less than the
|
end up increased due to the alignment, but it's never less than the
|
||||||
size that is requested. To see the bootloader area start and size of
|
size that is requested. 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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -181,50 +181,50 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--dataalignment\fP \fISize\fP[k|UNIT]
|
\fB\-\-dataalignment\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
Align the start of the data to a multiple of this number.
|
Align the start of the data to a multiple of this number.
|
||||||
Also specify an appropriate Physical Extent size when creating a VG.
|
Also specify an appropriate Physical Extent size when creating a VG.
|
||||||
To see the location of the first Physical Extent of an existing PV,
|
To see the location of the first Physical Extent 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 lvm.conf/data_alignment_offset_detection and --dataalignmentoffset.
|
See lvm.conf/data_alignment_offset_detection and \-\-dataalignmentoffset.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--dataalignmentoffset\fP \fISize\fP[k|UNIT]
|
\fB\-\-dataalignmentoffset\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
Shift the start of the data area by this additional offset.
|
Shift the start of the data area by this additional offset.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB\-\-force\fP ...
|
||||||
.br
|
.br
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--labelsector\fP \fINumber\fP
|
\fB\-\-labelsector\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
By default the PV is labelled with an LVM2 identifier in its second
|
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
|
||||||
@ -233,13 +233,13 @@ in the source). Use with care.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataignore\fP \fBy\fP|\fBn\fP
|
\fB\-\-metadataignore\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
Specifies the metadataignore property of a PV.
|
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
|
||||||
@ -248,14 +248,14 @@ If no, lvm will store metadata on the PV.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadatasize\fP \fISize\fP[m|UNIT]
|
\fB\-\-metadatasize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
|
\fB-M\fP|\fB\-\-metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -264,21 +264,21 @@ can be used for accessing old data.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--norestorefile\fP
|
\fB\-\-norestorefile\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
The number of metadata areas to set aside on a PV for storing VG metadata.
|
The number of metadata areas to set aside on a PV for storing VG metadata.
|
||||||
When 2, one copy of the VG metadata is stored at the front of the PV
|
When 2, one copy of the VG metadata is stored at the front of the PV
|
||||||
@ -291,14 +291,14 @@ on the ability to use vgsplit later.)
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -309,9 +309,9 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--restorefile\fP \fIString\fP
|
\fB\-\-restorefile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
In conjunction with --uuid, this reads the file (produced by
|
In conjunction with \-\-uuid, this reads the file (produced by
|
||||||
vgcfgbackup), extracts the location and size of the data on the PV,
|
vgcfgbackup), extracts the location and size of the data on the PV,
|
||||||
and ensures that the metadata produced by the program is consistent
|
and ensures that the metadata produced by the program is consistent
|
||||||
with the contents of the file, i.e. the physical extents will be in
|
with the contents of the file, i.e. the physical extents will be in
|
||||||
@ -321,14 +321,14 @@ areas. Use with care.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--setphysicalvolumesize\fP \fISize\fP[m|UNIT]
|
\fB\-\-setphysicalvolumesize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -338,33 +338,33 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-u\fP|\fB--uuid\fP \fIString\fP
|
\fB-u\fP|\fB\-\-uuid\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Specify a UUID for the device.
|
Specify a UUID for the device.
|
||||||
Without this option, a random UUID is generated.
|
Without this option, a random UUID is generated.
|
||||||
This option is needed before restoring a backup of LVM metadata
|
This option is needed before restoring a backup of LVM metadata
|
||||||
onto a replacement device; see vgcfgrestore(8). As such, use of
|
onto a replacement device; see vgcfgrestore(8). As such, use of
|
||||||
--restorefile is compulsory unless the --norestorefile is used.
|
\-\-restorefile is compulsory unless the \-\-norestorefile is used.
|
||||||
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 vgimportclone(8) for more information.
|
See vgimportclone(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -372,11 +372,11 @@ answer yes. Use with extreme caution.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Controls if the first 4 sectors (2048 bytes) of the device are wiped.
|
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.
|
||||||
.ad b
|
.ad b
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.HP
|
.HP
|
||||||
@ -404,7 +404,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -20,95 +20,95 @@ and more, using a more compact and configurable output format.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-a\fP|\fB--all\fP ]
|
[ \fB-a\fP|\fB\-\-all\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-c\fP|\fB--colon\fP ]
|
[ \fB-c\fP|\fB\-\-colon\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-C\fP|\fB--columns\fP ]
|
[ \fB-C\fP|\fB\-\-columns\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-m\fP|\fB--maps\fP ]
|
[ \fB-m\fP|\fB\-\-maps\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-o\fP|\fB--options\fP \fIString\fP ]
|
[ \fB-o\fP|\fB\-\-options\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-S\fP|\fB--select\fP \fIString\fP ]
|
[ \fB-S\fP|\fB\-\-select\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-s\fP|\fB--short\fP ]
|
[ \fB-s\fP|\fB\-\-short\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-O\fP|\fB--sort\fP \fIString\fP ]
|
[ \fB-O\fP|\fB\-\-sort\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--aligned\fP ]
|
[ \fB\-\-aligned\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--binary\fP ]
|
[ \fB\-\-binary\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.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 ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--foreign\fP ]
|
[ \fB\-\-foreign\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignorelockingfailure\fP ]
|
[ \fB\-\-ignorelockingfailure\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignoreskippedcluster\fP ]
|
[ \fB\-\-ignoreskippedcluster\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--logonly\fP ]
|
[ \fB\-\-logonly\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--noheadings\fP ]
|
[ \fB\-\-noheadings\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--nosuffix\fP ]
|
[ \fB\-\-nosuffix\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--readonly\fP ]
|
[ \fB\-\-readonly\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--separator\fP \fIString\fP ]
|
[ \fB\-\-separator\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--shared\fP ]
|
[ \fB\-\-shared\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--unbuffered\fP ]
|
[ \fB\-\-unbuffered\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.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 ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -122,70 +122,70 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--aligned\fP
|
\fB\-\-aligned\fP
|
||||||
.br
|
.br
|
||||||
Use with --separator to align the output columns
|
Use with \-\-separator to align the output columns
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB\-\-all\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--binary\fP
|
\fB\-\-binary\fP
|
||||||
.br
|
.br
|
||||||
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
|
||||||
@ -193,28 +193,28 @@ the "unknown" value which denotes that the value could not be determined).
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-c\fP|\fB--colon\fP
|
\fB-c\fP|\fB\-\-colon\fP
|
||||||
.br
|
.br
|
||||||
Generate colon separated output for easier parsing in scripts or programs.
|
Generate colon separated output for easier parsing in scripts or programs.
|
||||||
Also see vgs(8) which provides considerably more control over the output.
|
Also see vgs(8) which provides considerably more control over the output.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-C\fP|\fB--columns\fP
|
\fB-C\fP|\fB\-\-columns\fP
|
||||||
.br
|
.br
|
||||||
Display output in columns, the equivalent of vgs(8).
|
Display output in columns, the equivalent of vgs(8).
|
||||||
Options listed are the same as options given in vgs(8).
|
Options listed are the same as options given in vgs(8).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -223,86 +223,86 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
See lvmreport(7).
|
See lvmreport(7).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--foreign\fP
|
\fB\-\-foreign\fP
|
||||||
.br
|
.br
|
||||||
Report/display foreign VGs that would otherwise be skipped.
|
Report/display foreign VGs that would otherwise be skipped.
|
||||||
See lvmsystemid(7) for more information about foreign VGs.
|
See lvmsystemid(7) for more information about foreign VGs.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB\-\-ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoreskippedcluster\fP
|
\fB\-\-ignoreskippedcluster\fP
|
||||||
.br
|
.br
|
||||||
Use to avoid exiting with an non-zero status code if the command is run
|
Use to avoid exiting with an non-zero status code if the command is run
|
||||||
without clustered locking and clustered VGs are skipped.
|
without clustered locking and clustered VGs are skipped.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--logonly\fP
|
\fB\-\-logonly\fP
|
||||||
.br
|
.br
|
||||||
Suppress command report and display only log report.
|
Suppress command report and display only log report.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-m\fP|\fB--maps\fP
|
\fB-m\fP|\fB\-\-maps\fP
|
||||||
.br
|
.br
|
||||||
Display the mapping of physical extents to LVs and logical extents.
|
Display the mapping of physical extents to LVs and logical extents.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noheadings\fP
|
\fB\-\-noheadings\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosuffix\fP
|
\fB\-\-nosuffix\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-o\fP|\fB--options\fP \fIString\fP
|
\fB-o\fP|\fB\-\-options\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Comma-separated, ordered list of fields to display in columns.
|
Comma-separated, ordered list of fields to display in columns.
|
||||||
String arg syntax is: [+|-|#]Field1[,Field2 ...]
|
String arg syntax is: [+|-|#]Field1[,Field2 ...]
|
||||||
@ -324,21 +324,21 @@ See lvmreport(7) for more information about reporting.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB\-\-readonly\fP
|
||||||
.br
|
.br
|
||||||
Run the command in a special read-only mode which will read on-disk
|
Run the command in a special read-only mode which will read on-disk
|
||||||
metadata without needing to take any locks. This can be used to peek
|
metadata without needing to take any locks. This can be used to peek
|
||||||
@ -352,7 +352,7 @@ actually in use.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -363,12 +363,12 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB\-\-select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Select objects for processing and reporting based on specified criteria.
|
Select objects for processing and reporting based on specified criteria.
|
||||||
The criteria syntax is described by \fB--select help\fP and \fBlvmreport\fP(7).
|
The criteria syntax is described by \fB\-\-select help\fP and \fBlvmreport\fP(7).
|
||||||
For reporting commands, one row is displayed for each object matching the criteria.
|
For reporting commands, one row is displayed for each object matching the criteria.
|
||||||
See \fB--options help\fP for selectable object fields.
|
See \fB\-\-options help\fP for selectable object fields.
|
||||||
Rows can be displayed with an additional "selected" field (-o selected)
|
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
|
||||||
@ -376,13 +376,13 @@ used to choose items to process.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--separator\fP \fIString\fP
|
\fB\-\-separator\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
String to use to separate each column. Useful if grepping the output.
|
String to use to separate each column. Useful if grepping the output.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--shared\fP
|
\fB\-\-shared\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -390,20 +390,20 @@ See lvmlockd(8) for more information about shared VGs.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-s\fP|\fB--short\fP
|
\fB-s\fP|\fB\-\-short\fP
|
||||||
.br
|
.br
|
||||||
Only display the size of the given PVs.
|
Only display the size of the given PVs.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-O\fP|\fB--sort\fP \fIString\fP
|
\fB-O\fP|\fB\-\-sort\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -413,37 +413,37 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unbuffered\fP
|
\fB\-\-unbuffered\fP
|
||||||
.br
|
.br
|
||||||
Produce output immediately without sorting or aligning the columns properly.
|
Produce output immediately without sorting or aligning the columns properly.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
All sizes are output in these units:
|
All sizes are output in these units:
|
||||||
human-(r)eadable with '<' rounding indicator,
|
human-(r)eadable with '<' rounding indicator,
|
||||||
(h)uman-readable, (b)ytes, (s)ectors, (k)ilobytes, (m)egabytes,
|
(h)uman-readable, (b)ytes, (s)ectors, (k)ilobytes, (m)egabytes,
|
||||||
(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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -480,7 +480,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -33,27 +33,27 @@ Move PV extents.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP ]
|
[ \fB-A\fP|\fB\-\-autobackup\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-n\fP|\fB--name\fP \fILV\fP ]
|
[ \fB-n\fP|\fB\-\-name\fP \fILV\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP ]
|
[ \fB\-\-alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--atomic\fP ]
|
[ \fB\-\-atomic\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--noudevsync\fP ]
|
[ \fB\-\-noudevsync\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -77,15 +77,15 @@ Common options for command:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-b\fP|\fB--background\fP ]
|
[ \fB-b\fP|\fB\-\-background\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-i\fP|\fB--interval\fP \fINumber\fP ]
|
[ \fB-i\fP|\fB\-\-interval\fP \fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--abort\fP ]
|
[ \fB\-\-abort\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@ -93,66 +93,66 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--abort\fP
|
\fB\-\-abort\fP
|
||||||
.br
|
.br
|
||||||
Abort any pvmove operations in progress. If a pvmove was started
|
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP
|
\fB\-\-alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP
|
||||||
.br
|
.br
|
||||||
Determines the allocation policy when a command needs to allocate
|
Determines the allocation policy when a command needs to allocate
|
||||||
Physical Extents (PEs) from the VG. Each VG and LV has an allocation policy
|
Physical Extents (PEs) from the VG. Each VG and LV has an allocation policy
|
||||||
@ -173,21 +173,21 @@ See \fBlvm\fP(8) for more information about allocation.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--atomic\fP
|
\fB\-\-atomic\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
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 vgcfgbackup(8) for more information.
|
Enabling this is strongly advised! See vgcfgbackup(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-b\fP|\fB--background\fP
|
\fB-b\fP|\fB\-\-background\fP
|
||||||
.br
|
.br
|
||||||
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
|
||||||
@ -195,14 +195,14 @@ background.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -211,45 +211,45 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-i\fP|\fB--interval\fP \fINumber\fP
|
\fB-i\fP|\fB\-\-interval\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
Report progress at regular intervals.
|
Report progress at regular intervals.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-n\fP|\fB--name\fP \fIString\fP
|
\fB-n\fP|\fB\-\-name\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Move only the extents belonging to the named LV.
|
Move only the extents belonging to the named LV.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB\-\-noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
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
|
||||||
@ -258,21 +258,21 @@ ignore the devices LVM creates.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -283,7 +283,7 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -293,20 +293,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -338,7 +338,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -20,11 +20,11 @@ an existing VG. Normally, \fBvgreduce\fP(8) should be used instead.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-f\fP|\fB--force\fP ]
|
[ \fB-f\fP|\fB\-\-force\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -35,64 +35,64 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -101,54 +101,54 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB\-\-force\fP ...
|
||||||
.br
|
.br
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -159,7 +159,7 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -169,20 +169,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -214,7 +214,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -15,11 +15,11 @@ LVs allocated on it.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--setphysicalvolumesize\fP \fISize\fP[m|UNIT] ]
|
[ \fB\-\-setphysicalvolumesize\fP \fISize\fP[m|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -30,64 +30,64 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -96,47 +96,47 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -147,14 +147,14 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--setphysicalvolumesize\fP \fISize\fP[m|UNIT]
|
\fB\-\-setphysicalvolumesize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -164,20 +164,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -209,7 +209,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
172
man/pvs.8_pregen
172
man/pvs.8_pregen
@ -16,107 +16,107 @@ pvs produces formatted output about PVs.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-a\fP|\fB--all\fP ]
|
[ \fB-a\fP|\fB\-\-all\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-o\fP|\fB--options\fP \fIString\fP ]
|
[ \fB-o\fP|\fB\-\-options\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-P\fP|\fB--partial\fP ]
|
[ \fB-P\fP|\fB\-\-partial\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-S\fP|\fB--select\fP \fIString\fP ]
|
[ \fB-S\fP|\fB\-\-select\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-O\fP|\fB--sort\fP \fIString\fP ]
|
[ \fB-O\fP|\fB\-\-sort\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--segments\fP ]
|
[ \fB\-\-segments\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--aligned\fP ]
|
[ \fB\-\-aligned\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--binary\fP ]
|
[ \fB\-\-binary\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.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 ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--foreign\fP ]
|
[ \fB\-\-foreign\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignorelockingfailure\fP ]
|
[ \fB\-\-ignorelockingfailure\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignoreskippedcluster\fP ]
|
[ \fB\-\-ignoreskippedcluster\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--logonly\fP ]
|
[ \fB\-\-logonly\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--nameprefixes\fP ]
|
[ \fB\-\-nameprefixes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--noheadings\fP ]
|
[ \fB\-\-noheadings\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--nolocking\fP ]
|
[ \fB\-\-nolocking\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--nosuffix\fP ]
|
[ \fB\-\-nosuffix\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--readonly\fP ]
|
[ \fB\-\-readonly\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--rows\fP ]
|
[ \fB\-\-rows\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--separator\fP \fIString\fP ]
|
[ \fB\-\-separator\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--shared\fP ]
|
[ \fB\-\-shared\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--trustcache\fP ]
|
[ \fB\-\-trustcache\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--unbuffered\fP ]
|
[ \fB\-\-unbuffered\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.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 ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--unquoted\fP ]
|
[ \fB\-\-unquoted\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -130,70 +130,70 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--aligned\fP
|
\fB\-\-aligned\fP
|
||||||
.br
|
.br
|
||||||
Use with --separator to align the output columns
|
Use with \-\-separator to align the output columns
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB\-\-all\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--binary\fP
|
\fB\-\-binary\fP
|
||||||
.br
|
.br
|
||||||
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
|
||||||
@ -201,14 +201,14 @@ the "unknown" value which denotes that the value could not be determined).
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -217,94 +217,94 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
See lvmreport(7).
|
See lvmreport(7).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--foreign\fP
|
\fB\-\-foreign\fP
|
||||||
.br
|
.br
|
||||||
Report/display foreign VGs that would otherwise be skipped.
|
Report/display foreign VGs that would otherwise be skipped.
|
||||||
See lvmsystemid(7) for more information about foreign VGs.
|
See lvmsystemid(7) for more information about foreign VGs.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB\-\-ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoreskippedcluster\fP
|
\fB\-\-ignoreskippedcluster\fP
|
||||||
.br
|
.br
|
||||||
Use to avoid exiting with an non-zero status code if the command is run
|
Use to avoid exiting with an non-zero status code if the command is run
|
||||||
without clustered locking and clustered VGs are skipped.
|
without clustered locking and clustered VGs are skipped.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--logonly\fP
|
\fB\-\-logonly\fP
|
||||||
.br
|
.br
|
||||||
Suppress command report and display only log report.
|
Suppress command report and display only log report.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nameprefixes\fP
|
\fB\-\-nameprefixes\fP
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noheadings\fP
|
\fB\-\-noheadings\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB\-\-nolocking\fP
|
||||||
.br
|
.br
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosuffix\fP
|
\fB\-\-nosuffix\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-o\fP|\fB--options\fP \fIString\fP
|
\fB-o\fP|\fB\-\-options\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Comma-separated, ordered list of fields to display in columns.
|
Comma-separated, ordered list of fields to display in columns.
|
||||||
String arg syntax is: [+|-|#]Field1[,Field2 ...]
|
String arg syntax is: [+|-|#]Field1[,Field2 ...]
|
||||||
@ -326,7 +326,7 @@ See lvmreport(7) for more information about reporting.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-P\fP|\fB--partial\fP
|
\fB-P\fP|\fB\-\-partial\fP
|
||||||
.br
|
.br
|
||||||
When set, the tools will do their best to provide access to VGs
|
When set, the tools will do their best to provide access to VGs
|
||||||
that are only partially available (one or more PVs belonging
|
that are only partially available (one or more PVs belonging
|
||||||
@ -335,21 +335,21 @@ changed with this option.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB\-\-readonly\fP
|
||||||
.br
|
.br
|
||||||
Run the command in a special read-only mode which will read on-disk
|
Run the command in a special read-only mode which will read on-disk
|
||||||
metadata without needing to take any locks. This can be used to peek
|
metadata without needing to take any locks. This can be used to peek
|
||||||
@ -363,7 +363,7 @@ actually in use.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -374,13 +374,13 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--rows\fP
|
\fB\-\-rows\fP
|
||||||
.br
|
.br
|
||||||
Output columns as rows.
|
Output columns as rows.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--segments\fP
|
\fB\-\-segments\fP
|
||||||
.br
|
.br
|
||||||
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
|
||||||
@ -388,12 +388,12 @@ physical extents.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB\-\-select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Select objects for processing and reporting based on specified criteria.
|
Select objects for processing and reporting based on specified criteria.
|
||||||
The criteria syntax is described by \fB--select help\fP and \fBlvmreport\fP(7).
|
The criteria syntax is described by \fB\-\-select help\fP and \fBlvmreport\fP(7).
|
||||||
For reporting commands, one row is displayed for each object matching the criteria.
|
For reporting commands, one row is displayed for each object matching the criteria.
|
||||||
See \fB--options help\fP for selectable object fields.
|
See \fB\-\-options help\fP for selectable object fields.
|
||||||
Rows can be displayed with an additional "selected" field (-o selected)
|
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
|
||||||
@ -401,13 +401,13 @@ used to choose items to process.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--separator\fP \fIString\fP
|
\fB\-\-separator\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
String to use to separate each column. Useful if grepping the output.
|
String to use to separate each column. Useful if grepping the output.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--shared\fP
|
\fB\-\-shared\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -415,14 +415,14 @@ See lvmlockd(8) for more information about shared VGs.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-O\fP|\fB--sort\fP \fIString\fP
|
\fB-O\fP|\fB\-\-sort\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -432,50 +432,50 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--trustcache\fP
|
\fB\-\-trustcache\fP
|
||||||
.br
|
.br
|
||||||
Avoids certain device scanning during command processing. Do not use.
|
Avoids certain device scanning during command processing. Do not use.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unbuffered\fP
|
\fB\-\-unbuffered\fP
|
||||||
.br
|
.br
|
||||||
Produce output immediately without sorting or aligning the columns properly.
|
Produce output immediately without sorting or aligning the columns properly.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
All sizes are output in these units:
|
All sizes are output in these units:
|
||||||
human-(r)eadable with '<' rounding indicator,
|
human-(r)eadable with '<' rounding indicator,
|
||||||
(h)uman-readable, (b)ytes, (s)ectors, (k)ilobytes, (m)egabytes,
|
(h)uman-readable, (b)ytes, (s)ectors, (k)ilobytes, (m)egabytes,
|
||||||
(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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unquoted\fP
|
\fB\-\-unquoted\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -512,7 +512,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -38,7 +38,7 @@ read the named devices.
|
|||||||
LVM udev rules and systemd services are used to initiate automatic device
|
LVM udev rules and systemd services are used to initiate automatic device
|
||||||
scanning.
|
scanning.
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
To prevent devices from being scanned by pvscan --cache, add them
|
To prevent devices from being scanned by pvscan \-\-cache, add them
|
||||||
to
|
to
|
||||||
.BR lvm.conf (5)
|
.BR lvm.conf (5)
|
||||||
.B devices/global_filter.
|
.B devices/global_filter.
|
||||||
@ -46,7 +46,7 @@ The devices/filter setting does not
|
|||||||
apply to system level scanning.
|
apply to system level scanning.
|
||||||
For more information, see:
|
For more information, see:
|
||||||
.br
|
.br
|
||||||
.B lvmconfig --withcomments devices/global_filter
|
.B lvmconfig \-\-withcomments devices/global_filter
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
If lvmetad is started or restarted after devices are visible, or
|
If lvmetad is started or restarted after devices are visible, or
|
||||||
if the global_filter has changed, then all devices must be rescanned
|
if the global_filter has changed, then all devices must be rescanned
|
||||||
@ -74,17 +74,17 @@ Auto-activation of VGs or LVs can be enabled/disabled using:
|
|||||||
|
|
||||||
For more information, see:
|
For more information, see:
|
||||||
.br
|
.br
|
||||||
.B lvmconfig --withcomments activation/auto_activation_volume_list
|
.B lvmconfig \-\-withcomments activation/auto_activation_volume_list
|
||||||
|
|
||||||
When this setting is undefined, all LVs are auto-activated (when lvm is
|
When this setting is undefined, all LVs are auto-activated (when lvm is
|
||||||
fully integrated with the event-driven system services.)
|
fully integrated with the event-driven system services.)
|
||||||
|
|
||||||
When a VG or LV is not auto-activated, traditional activation using
|
When a VG or LV is not auto-activated, traditional activation using
|
||||||
vgchange or lvchange -a|--activate is needed.
|
vgchange or lvchange -a|\-\-activate is needed.
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
pvscan auto-activation can be only done in combination with \-\-cache.
|
pvscan auto-activation can be only done in combination with \-\-cache.
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
Auto-activation is designated by the "a" argument in '-a|--activate ay'.
|
Auto-activation is designated by the "a" argument in '-a|\-\-activate ay'.
|
||||||
This is meant to distinguish system generated commands from explicit user
|
This is meant to distinguish system generated commands from explicit user
|
||||||
commands, although it can be used in any activation command. Whenever it
|
commands, although it can be used in any activation command. Whenever it
|
||||||
is used, the auto_activation_volume_list is applied.
|
is used, the auto_activation_volume_list is applied.
|
||||||
|
@ -50,7 +50,7 @@ read the named devices.
|
|||||||
LVM udev rules and systemd services are used to initiate automatic device
|
LVM udev rules and systemd services are used to initiate automatic device
|
||||||
scanning.
|
scanning.
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
To prevent devices from being scanned by pvscan --cache, add them
|
To prevent devices from being scanned by pvscan \-\-cache, add them
|
||||||
to
|
to
|
||||||
.BR lvm.conf (5)
|
.BR lvm.conf (5)
|
||||||
.B devices/global_filter.
|
.B devices/global_filter.
|
||||||
@ -58,7 +58,7 @@ The devices/filter setting does not
|
|||||||
apply to system level scanning.
|
apply to system level scanning.
|
||||||
For more information, see:
|
For more information, see:
|
||||||
.br
|
.br
|
||||||
.B lvmconfig --withcomments devices/global_filter
|
.B lvmconfig \-\-withcomments devices/global_filter
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
If lvmetad is started or restarted after devices are visible, or
|
If lvmetad is started or restarted after devices are visible, or
|
||||||
if the global_filter has changed, then all devices must be rescanned
|
if the global_filter has changed, then all devices must be rescanned
|
||||||
@ -86,17 +86,17 @@ Auto-activation of VGs or LVs can be enabled/disabled using:
|
|||||||
|
|
||||||
For more information, see:
|
For more information, see:
|
||||||
.br
|
.br
|
||||||
.B lvmconfig --withcomments activation/auto_activation_volume_list
|
.B lvmconfig \-\-withcomments activation/auto_activation_volume_list
|
||||||
|
|
||||||
When this setting is undefined, all LVs are auto-activated (when lvm is
|
When this setting is undefined, all LVs are auto-activated (when lvm is
|
||||||
fully integrated with the event-driven system services.)
|
fully integrated with the event-driven system services.)
|
||||||
|
|
||||||
When a VG or LV is not auto-activated, traditional activation using
|
When a VG or LV is not auto-activated, traditional activation using
|
||||||
vgchange or lvchange -a|--activate is needed.
|
vgchange or lvchange -a|\-\-activate is needed.
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
pvscan auto-activation can be only done in combination with \-\-cache.
|
pvscan auto-activation can be only done in combination with \-\-cache.
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
Auto-activation is designated by the "a" argument in '-a|--activate ay'.
|
Auto-activation is designated by the "a" argument in '-a|\-\-activate ay'.
|
||||||
This is meant to distinguish system generated commands from explicit user
|
This is meant to distinguish system generated commands from explicit user
|
||||||
commands, although it can be used in any activation command. Whenever it
|
commands, although it can be used in any activation command. Whenever it
|
||||||
is used, the auto_activation_volume_list is applied.
|
is used, the auto_activation_volume_list is applied.
|
||||||
@ -111,19 +111,19 @@ Display PV information.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-e\fP|\fB--exported\fP ]
|
[ \fB-e\fP|\fB\-\-exported\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-n\fP|\fB--novolumegroup\fP ]
|
[ \fB-n\fP|\fB\-\-novolumegroup\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-s\fP|\fB--short\fP ]
|
[ \fB-s\fP|\fB\-\-short\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-u\fP|\fB--uuid\fP ]
|
[ \fB-u\fP|\fB\-\-uuid\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -133,23 +133,23 @@ Display PV information.
|
|||||||
Populate the lvmetad cache by scanning PVs.
|
Populate the lvmetad cache by scanning PVs.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBpvscan\fP \fB--cache\fP
|
\fBpvscan\fP \fB\-\-cache\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-b\fP|\fB--background\fP ]
|
[ \fB-b\fP|\fB\-\-background\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.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 ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-j\fP|\fB--major\fP \fINumber\fP ]
|
[ \fB-j\fP|\fB\-\-major\fP \fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--minor\fP \fINumber\fP ]
|
[ \fB\-\-minor\fP \fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -163,11 +163,11 @@ Common options for command:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignorelockingfailure\fP ]
|
[ \fB\-\-ignorelockingfailure\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@ -175,62 +175,62 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.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
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-b\fP|\fB--background\fP
|
\fB-b\fP|\fB\-\-background\fP
|
||||||
.br
|
.br
|
||||||
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
|
||||||
@ -238,20 +238,20 @@ background.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cache\fP
|
\fB\-\-cache\fP
|
||||||
.br
|
.br
|
||||||
Scan one or more devices and send the metadata to lvmetad.
|
Scan one or more devices and send the metadata to lvmetad.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -260,78 +260,78 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-e\fP|\fB--exported\fP
|
\fB-e\fP|\fB\-\-exported\fP
|
||||||
.br
|
.br
|
||||||
Only show PVs belonging to exported VGs.
|
Only show PVs belonging to exported VGs.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB\-\-ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-j\fP|\fB--major\fP \fINumber\fP
|
\fB-j\fP|\fB\-\-major\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
The major number of a device.
|
The major number of a device.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--minor\fP \fINumber\fP
|
\fB\-\-minor\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
The minor number of a device.
|
The minor number of a device.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-n\fP|\fB--novolumegroup\fP
|
\fB-n\fP|\fB\-\-novolumegroup\fP
|
||||||
.br
|
.br
|
||||||
Only show PVs not belonging to any VG.
|
Only show PVs not belonging to any VG.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -342,13 +342,13 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-s\fP|\fB--short\fP
|
\fB-s\fP|\fB\-\-short\fP
|
||||||
.br
|
.br
|
||||||
Short listing format.
|
Short listing format.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -358,26 +358,26 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-u\fP|\fB--uuid\fP
|
\fB-u\fP|\fB\-\-uuid\fP
|
||||||
.br
|
.br
|
||||||
Show UUIDs in addition to device names.
|
Show UUIDs in addition to device names.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -409,7 +409,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -31,27 +31,27 @@ It may also be useful to regularly back up the files in
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-f\fP|\fB--file\fP \fIString\fP ]
|
[ \fB-f\fP|\fB\-\-file\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-P\fP|\fB--partial\fP ]
|
[ \fB-P\fP|\fB\-\-partial\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--foreign\fP ]
|
[ \fB\-\-foreign\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignorelockingfailure\fP ]
|
[ \fB\-\-ignorelockingfailure\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--readonly\fP ]
|
[ \fB\-\-readonly\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -65,64 +65,64 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -131,21 +131,21 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--file\fP \fIString\fP
|
\fB-f\fP|\fB\-\-file\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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
|
||||||
@ -153,33 +153,33 @@ treated as a template, and %s is replaced by the VG name.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--foreign\fP
|
\fB\-\-foreign\fP
|
||||||
.br
|
.br
|
||||||
Report/display foreign VGs that would otherwise be skipped.
|
Report/display foreign VGs that would otherwise be skipped.
|
||||||
See lvmsystemid(7) for more information about foreign VGs.
|
See lvmsystemid(7) for more information about foreign VGs.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB\-\-ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-P\fP|\fB--partial\fP
|
\fB-P\fP|\fB\-\-partial\fP
|
||||||
.br
|
.br
|
||||||
When set, the tools will do their best to provide access to VGs
|
When set, the tools will do their best to provide access to VGs
|
||||||
that are only partially available (one or more PVs belonging
|
that are only partially available (one or more PVs belonging
|
||||||
@ -188,21 +188,21 @@ changed with this option.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB\-\-readonly\fP
|
||||||
.br
|
.br
|
||||||
Run the command in a special read-only mode which will read on-disk
|
Run the command in a special read-only mode which will read on-disk
|
||||||
metadata without needing to take any locks. This can be used to peek
|
metadata without needing to take any locks. This can be used to peek
|
||||||
@ -216,7 +216,7 @@ actually in use.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -227,7 +227,7 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -237,20 +237,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -276,7 +276,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -11,67 +11,67 @@ vgcfgrestore \- Restore volume group configuration
|
|||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP
|
\fB-d\fP|\fB\-\-debug\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--file\fP \fIString\fP
|
\fB-f\fP|\fB\-\-file\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--force\fP
|
\fB\-\-force\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--list\fP
|
\fB-l\fP|\fB\-\-list\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
|
\fB-M\fP|\fB\-\-metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP
|
\fB-q\fP|\fB\-\-quiet\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP
|
\fB-v\fP|\fB\-\-verbose\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.ad b
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
vgcfgrestore restores the metadata of a VG from a text back up file
|
vgcfgrestore restores the metadata of a VG from a text back up file
|
||||||
@ -100,7 +100,7 @@ Restore VG metadata from last backup.
|
|||||||
Restore VG metadata from specified file.
|
Restore VG metadata from specified file.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBvgcfgrestore\fP \fB-f\fP|\fB--file\fP \fIString\fP \fIVG\fP
|
\fBvgcfgrestore\fP \fB-f\fP|\fB\-\-file\fP \fIString\fP \fIVG\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -111,7 +111,7 @@ Restore VG metadata from specified file.
|
|||||||
List all VG metadata backups.
|
List all VG metadata backups.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBvgcfgrestore\fP \fB-l\fP|\fB--list\fP \fIVG\fP
|
\fBvgcfgrestore\fP \fB-l\fP|\fB\-\-list\fP \fIVG\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -122,7 +122,7 @@ List all VG metadata backups.
|
|||||||
List one VG metadata backup file.
|
List one VG metadata backup file.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBvgcfgrestore\fP \fB-l\fP|\fB--list\fP \fB-f\fP|\fB--file\fP \fIString\fP
|
\fBvgcfgrestore\fP \fB-l\fP|\fB\-\-list\fP \fB-f\fP|\fB\-\-file\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -137,11 +137,11 @@ Common options for command:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP ]
|
[ \fB-M\fP|\fB\-\-metadatatype\fP \fBlvm2\fP|\fBlvm1\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--force\fP ]
|
[ \fB\-\-force\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@ -149,64 +149,64 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -215,28 +215,28 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--file\fP \fIString\fP
|
\fB-f\fP|\fB\-\-file\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--force\fP ...
|
\fB\-\-force\fP ...
|
||||||
.br
|
.br
|
||||||
Force metadata restore even with thin pool LVs.
|
Force metadata restore even with thin pool LVs.
|
||||||
Use with extreme caution. Most changes to thin metadata
|
Use with extreme caution. Most changes to thin metadata
|
||||||
@ -246,26 +246,26 @@ thin pool kernel metadata precisely.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--list\fP
|
\fB-l\fP|\fB\-\-list\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
|
\fB-M\fP|\fB\-\-metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -274,21 +274,21 @@ can be used for accessing old data.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -298,20 +298,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -337,7 +337,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -11,187 +11,187 @@ vgchange \- Change volume group attributes
|
|||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
.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
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--activationmode\fP \fBpartial\fP|\fBdegraded\fP|\fBcomplete\fP
|
\fB\-\-activationmode\fP \fBpartial\fP|\fBdegraded\fP|\fBcomplete\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--addtag\fP \fITag\fP
|
\fB\-\-addtag\fP \fITag\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP
|
\fB\-\-alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB\-\-autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-c\fP|\fB--clustered\fP \fBy\fP|\fBn\fP
|
\fB-c\fP|\fB\-\-clustered\fP \fBy\fP|\fBn\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP
|
\fB-d\fP|\fB\-\-debug\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--deltag\fP \fITag\fP
|
\fB\-\-deltag\fP \fITag\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--detachprofile\fP
|
\fB\-\-detachprofile\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP
|
\fB-f\fP|\fB\-\-force\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-K\fP|\fB--ignoreactivationskip\fP
|
\fB-K\fP|\fB\-\-ignoreactivationskip\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB\-\-ignorelockingfailure\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoremonitoring\fP
|
\fB\-\-ignoremonitoring\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoreskippedcluster\fP
|
\fB\-\-ignoreskippedcluster\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB\-\-lockopt\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockstart\fP
|
\fB\-\-lockstart\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockstop\fP
|
\fB\-\-lockstop\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--locktype\fP \fBsanlock\fP|\fBdlm\fP|\fBnone\fP
|
\fB\-\-locktype\fP \fBsanlock\fP|\fBdlm\fP|\fBnone\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--logicalvolume\fP \fINumber\fP
|
\fB-l\fP|\fB\-\-logicalvolume\fP \fINumber\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-p\fP|\fB--maxphysicalvolumes\fP \fINumber\fP
|
\fB-p\fP|\fB\-\-maxphysicalvolumes\fP \fINumber\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataprofile\fP \fIString\fP
|
\fB\-\-metadataprofile\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--monitor\fP \fBy\fP|\fBn\fP
|
\fB\-\-monitor\fP \fBy\fP|\fBn\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB\-\-noudevsync\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-P\fP|\fB--partial\fP
|
\fB-P\fP|\fB\-\-partial\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-s\fP|\fB--physicalextentsize\fP \fISize\fP[m|UNIT]
|
\fB-s\fP|\fB\-\-physicalextentsize\fP \fISize\fP[m|UNIT]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--poll\fP \fBy\fP|\fBn\fP
|
\fB\-\-poll\fP \fBy\fP|\fBn\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--pvmetadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP
|
\fB\-\-pvmetadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP
|
\fB-q\fP|\fB\-\-quiet\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--refresh\fP
|
\fB\-\-refresh\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-x\fP|\fB--resizeable\fP \fBy\fP|\fBn\fP
|
\fB-x\fP|\fB\-\-resizeable\fP \fBy\fP|\fBn\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB\-\-select\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--sysinit\fP
|
\fB\-\-sysinit\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--systemid\fP \fIString\fP
|
\fB\-\-systemid\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-u\fP|\fB--uuid\fP
|
\fB-u\fP|\fB\-\-uuid\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP
|
\fB-v\fP|\fB\-\-verbose\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--[vg]metadatacopies\fP \fBall\fP|\fBunmanaged\fP|\fINumber\fP
|
\fB\-\-[vg]metadatacopies\fP \fBall\fP|\fBunmanaged\fP|\fINumber\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.ad b
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
vgchange changes VG attributes, changes LV activation in the kernel, and
|
vgchange changes VG attributes, changes LV activation in the kernel, and
|
||||||
@ -206,67 +206,67 @@ required, after which the others are optional.
|
|||||||
.P
|
.P
|
||||||
\fBvgchange\fP
|
\fBvgchange\fP
|
||||||
.RS 4
|
.RS 4
|
||||||
( \fB-l\fP|\fB--logicalvolume\fP \fINumber\fP,
|
( \fB-l\fP|\fB\-\-logicalvolume\fP \fINumber\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-p\fP|\fB--maxphysicalvolumes\fP \fINumber\fP,
|
\fB-p\fP|\fB\-\-maxphysicalvolumes\fP \fINumber\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-u\fP|\fB--uuid\fP,
|
\fB-u\fP|\fB\-\-uuid\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-c\fP|\fB--clustered\fP \fBy\fP|\fBn\fP,
|
\fB-c\fP|\fB\-\-clustered\fP \fBy\fP|\fBn\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-s\fP|\fB--physicalextentsize\fP \fISize\fP[m|UNIT],
|
\fB-s\fP|\fB\-\-physicalextentsize\fP \fISize\fP[m|UNIT],
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-x\fP|\fB--resizeable\fP \fBy\fP|\fBn\fP,
|
\fB-x\fP|\fB\-\-resizeable\fP \fBy\fP|\fBn\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--addtag\fP \fITag\fP,
|
\fB\-\-addtag\fP \fITag\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--deltag\fP \fITag\fP,
|
\fB\-\-deltag\fP \fITag\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP,
|
\fB\-\-alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--pvmetadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP,
|
\fB\-\-pvmetadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--[vg]metadatacopies\fP \fBall\fP|\fBunmanaged\fP|\fINumber\fP,
|
\fB\-\-[vg]metadatacopies\fP \fBall\fP|\fBunmanaged\fP|\fINumber\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--systemid\fP \fIString\fP,
|
\fB\-\-systemid\fP \fIString\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--locktype\fP \fBsanlock\fP|\fBdlm\fP|\fBnone\fP,
|
\fB\-\-locktype\fP \fBsanlock\fP|\fBdlm\fP|\fBnone\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP,
|
\fB\-\-profile\fP \fIString\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--detachprofile\fP,
|
\fB\-\-detachprofile\fP,
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataprofile\fP \fIString\fP )
|
\fB\-\-metadataprofile\fP \fIString\fP )
|
||||||
.RE
|
.RE
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
@ -281,19 +281,19 @@ required, after which the others are optional.
|
|||||||
Start or stop monitoring LVs from dmeventd.
|
Start or stop monitoring LVs from dmeventd.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBvgchange\fP \fB--monitor\fP \fBy\fP|\fBn\fP
|
\fBvgchange\fP \fB\-\-monitor\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--sysinit\fP ]
|
[ \fB\-\-sysinit\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignorelockingfailure\fP ]
|
[ \fB\-\-ignorelockingfailure\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--poll\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-poll\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -307,11 +307,11 @@ Start or stop monitoring LVs from dmeventd.
|
|||||||
Start or stop processing LV conversions.
|
Start or stop processing LV conversions.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBvgchange\fP \fB--poll\fP \fBy\fP|\fBn\fP
|
\fBvgchange\fP \fB\-\-poll\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignorelockingfailure\fP ]
|
[ \fB\-\-ignorelockingfailure\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -325,35 +325,35 @@ Start or stop processing LV conversions.
|
|||||||
Activate or deactivate LVs.
|
Activate or deactivate LVs.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBvgchange\fP \fB-a\fP|\fB--activate\fP \fBy\fP|\fBn\fP|\fBay\fP
|
\fBvgchange\fP \fB-a\fP|\fB\-\-activate\fP \fBy\fP|\fBn\fP|\fBay\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-K\fP|\fB--ignoreactivationskip\fP ]
|
[ \fB-K\fP|\fB\-\-ignoreactivationskip\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-P\fP|\fB--partial\fP ]
|
[ \fB-P\fP|\fB\-\-partial\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--activationmode\fP \fBpartial\fP|\fBdegraded\fP|\fBcomplete\fP ]
|
[ \fB\-\-activationmode\fP \fBpartial\fP|\fBdegraded\fP|\fBcomplete\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--sysinit\fP ]
|
[ \fB\-\-sysinit\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignorelockingfailure\fP ]
|
[ \fB\-\-ignorelockingfailure\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--monitor\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-monitor\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--poll\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-poll\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -367,23 +367,23 @@ Activate or deactivate LVs.
|
|||||||
Reactivate LVs using the latest metadata.
|
Reactivate LVs using the latest metadata.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBvgchange\fP \fB--refresh\fP
|
\fBvgchange\fP \fB\-\-refresh\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--sysinit\fP ]
|
[ \fB\-\-sysinit\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignorelockingfailure\fP ]
|
[ \fB\-\-ignorelockingfailure\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--monitor\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-monitor\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--poll\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-poll\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -397,11 +397,11 @@ Reactivate LVs using the latest metadata.
|
|||||||
Start the lockspace of a shared VG in lvmlockd.
|
Start the lockspace of a shared VG in lvmlockd.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBvgchange\fP \fB--lockstart\fP
|
\fBvgchange\fP \fB\-\-lockstart\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--lockopt\fP \fIString\fP ]
|
[ \fB\-\-lockopt\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -415,11 +415,11 @@ Start the lockspace of a shared VG in lvmlockd.
|
|||||||
Stop the lockspace of a shared VG in lvmlockd.
|
Stop the lockspace of a shared VG in lvmlockd.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBvgchange\fP \fB--lockstop\fP
|
\fBvgchange\fP \fB\-\-lockstop\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--lockopt\fP \fIString\fP ]
|
[ \fB\-\-lockopt\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -434,31 +434,31 @@ Common options for command:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP ]
|
[ \fB-A\fP|\fB\-\-autobackup\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-f\fP|\fB--force\fP ]
|
[ \fB-f\fP|\fB\-\-force\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-S\fP|\fB--select\fP \fIString\fP ]
|
[ \fB-S\fP|\fB\-\-select\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignoremonitoring\fP ]
|
[ \fB\-\-ignoremonitoring\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignoreskippedcluster\fP ]
|
[ \fB\-\-ignoreskippedcluster\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--noudevsync\fP ]
|
[ \fB\-\-noudevsync\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@ -466,57 +466,57 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.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
|
||||||
Change the active state of LVs.
|
Change the active state of LVs.
|
||||||
An active LV can be used through a block device,
|
An active LV can be used through a block device,
|
||||||
@ -541,7 +541,7 @@ See clvmd(8) for more information about activation options \fBey\fP, \fBsy\fP, \
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Determines if LV activation is allowed when PVs are missing,
|
Determines if LV activation is allowed when PVs are missing,
|
||||||
e.g. because of a device failure.
|
e.g. because of a device failure.
|
||||||
@ -556,14 +556,14 @@ See \fBlvmraid\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--addtag\fP \fITag\fP
|
\fB\-\-addtag\fP \fITag\fP
|
||||||
.br
|
.br
|
||||||
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 lvm(8) for information about tags.
|
multiple tags at once. See lvm(8) for information about tags.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP
|
\fB\-\-alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP
|
||||||
.br
|
.br
|
||||||
Determines the allocation policy when a command needs to allocate
|
Determines the allocation policy when a command needs to allocate
|
||||||
Physical Extents (PEs) from the VG. Each VG and LV has an allocation policy
|
Physical Extents (PEs) from the VG. Each VG and LV has an allocation policy
|
||||||
@ -584,28 +584,28 @@ See \fBlvm\fP(8) for more information about allocation.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
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 vgcfgbackup(8) for more information.
|
Enabling this is strongly advised! See vgcfgbackup(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Change the clustered property of a VG using clvmd.
|
Change the clustered property of a VG using clvmd.
|
||||||
See clvmd(8) for more information about clustered VGs.
|
See clvmd(8) for more information about clustered VGs.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -614,83 +614,83 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--deltag\fP \fITag\fP
|
\fB\-\-deltag\fP \fITag\fP
|
||||||
.br
|
.br
|
||||||
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 lvm(8) for information about tags.
|
multiple tags at once. See lvm(8) for information about tags.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--detachprofile\fP
|
\fB\-\-detachprofile\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB\-\-force\fP ...
|
||||||
.br
|
.br
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-K\fP|\fB--ignoreactivationskip\fP
|
\fB-K\fP|\fB\-\-ignoreactivationskip\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB\-\-ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoremonitoring\fP
|
\fB\-\-ignoremonitoring\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoreskippedcluster\fP
|
\fB\-\-ignoreskippedcluster\fP
|
||||||
.br
|
.br
|
||||||
Use to avoid exiting with an non-zero status code if the command is run
|
Use to avoid exiting with an non-zero status code if the command is run
|
||||||
without clustered locking and clustered VGs are skipped.
|
without clustered locking and clustered VGs are skipped.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB\-\-lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See lvmlockd(8) for more information.
|
See lvmlockd(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockstart\fP
|
\fB\-\-lockstart\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -698,7 +698,7 @@ See lvmlockd(8) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockstop\fP
|
\fB\-\-lockstop\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -706,42 +706,42 @@ See lvmlockd(8) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
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 lvmlockd(8) for more information.
|
See lvmlockd(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--logicalvolume\fP \fINumber\fP
|
\fB-l\fP|\fB\-\-logicalvolume\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
Sets the maximum number of LVs allowed in a VG.
|
Sets the maximum number of LVs allowed in a VG.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-p\fP|\fB--maxphysicalvolumes\fP \fINumber\fP
|
\fB-p\fP|\fB\-\-maxphysicalvolumes\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
Sets the maximum number of PVs that can belong to the VG.
|
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataprofile\fP \fIString\fP
|
\fB\-\-metadataprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--monitor\fP \fBy\fP|\fBn\fP
|
\fB\-\-monitor\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
Start (yes) or stop (no) monitoring an LV with dmeventd.
|
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
|
||||||
@ -750,7 +750,7 @@ See dmeventd(8) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB\-\-noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
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
|
||||||
@ -759,7 +759,7 @@ ignore the devices LVM creates.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-P\fP|\fB--partial\fP
|
\fB-P\fP|\fB\-\-partial\fP
|
||||||
.br
|
.br
|
||||||
When set, the tools will do their best to provide access to VGs
|
When set, the tools will do their best to provide access to VGs
|
||||||
that are only partially available (one or more PVs belonging
|
that are only partially available (one or more PVs belonging
|
||||||
@ -768,7 +768,7 @@ changed with this option.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Sets the physical extent size of PVs in the VG.
|
Sets the physical extent size of PVs in the VG.
|
||||||
The value must be either a power of 2 of at least 1 sector
|
The value must be either a power of 2 of at least 1 sector
|
||||||
@ -782,26 +782,26 @@ contiguous range of extents used in a LV must start and end on an extent boundar
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--poll\fP \fBy\fP|\fBn\fP
|
\fB\-\-poll\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
When yes, start the background transformation of an LV.
|
When yes, start the background transformation of an LV.
|
||||||
An incomplete transformation, e.g. pvmove or lvconvert interrupted
|
An incomplete transformation, e.g. pvmove or lvconvert interrupted
|
||||||
by reboot or crash, can be restarted from the last checkpoint with --poll y.
|
by reboot or crash, can be restarted from the last checkpoint with \-\-poll y.
|
||||||
When no, background transformation of an LV will not occur, and the
|
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
The number of metadata areas to set aside on a PV for storing VG metadata.
|
The number of metadata areas to set aside on a PV for storing VG metadata.
|
||||||
When 2, one copy of the VG metadata is stored at the front of the PV
|
When 2, one copy of the VG metadata is stored at the front of the PV
|
||||||
@ -814,14 +814,14 @@ on the ability to use vgsplit later.)
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--refresh\fP
|
\fB\-\-refresh\fP
|
||||||
.br
|
.br
|
||||||
If the LV is active, reload its metadata.
|
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
|
||||||
@ -830,7 +830,7 @@ sharing is being used.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -841,19 +841,19 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB\-\-select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Select objects for processing and reporting based on specified criteria.
|
Select objects for processing and reporting based on specified criteria.
|
||||||
The criteria syntax is described by \fB--select help\fP and \fBlvmreport\fP(7).
|
The criteria syntax is described by \fB\-\-select help\fP and \fBlvmreport\fP(7).
|
||||||
For reporting commands, one row is displayed for each object matching the criteria.
|
For reporting commands, one row is displayed for each object matching the criteria.
|
||||||
See \fB--options help\fP for selectable object fields.
|
See \fB\-\-options help\fP for selectable object fields.
|
||||||
Rows can be displayed with an additional "selected" field (-o selected)
|
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
|
||||||
@ -861,20 +861,20 @@ used to choose items to process.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--sysinit\fP
|
\fB\-\-sysinit\fP
|
||||||
.br
|
.br
|
||||||
Indicates that vgchange/lvchange is being invoked from early system initialisation
|
Indicates that vgchange/lvchange is being invoked from early system initialisation
|
||||||
scripts (e.g. rc.sysinit or an initrd), before writable filesystems are
|
scripts (e.g. rc.sysinit or an initrd), before writable filesystems are
|
||||||
available. As such, some functionality needs to be disabled and this option
|
available. As such, some functionality needs to be disabled and this option
|
||||||
acts as a shortcut which selects an appropriate set of options. Currently,
|
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.
|
||||||
When used in conjunction with lvmetad enabled and running,
|
When used in conjunction with lvmetad enabled and running,
|
||||||
vgchange/lvchange skip autoactivation, and defer to pvscan autoactivation.
|
vgchange/lvchange skip autoactivation, and defer to pvscan autoactivation.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--systemid\fP \fIString\fP
|
\fB\-\-systemid\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Changes the system ID of the VG. Using this option requires caution
|
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,
|
||||||
@ -883,7 +883,7 @@ See lvmsystemid(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -893,26 +893,26 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-u\fP|\fB--uuid\fP
|
\fB-u\fP|\fB\-\-uuid\fP
|
||||||
.br
|
.br
|
||||||
Generate new random UUID for specified VGs.
|
Generate new random UUID for specified VGs.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Number of copies of the VG metadata that are kept.
|
Number of copies of the VG metadata that are kept.
|
||||||
VG metadata is kept in VG metadata areas on PVs in the VG,
|
VG metadata is kept in VG metadata areas on PVs in the VG,
|
||||||
@ -930,7 +930,7 @@ all PVs, and then to become unmanaged.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -950,7 +950,7 @@ in place of a VG, LV or PV.
|
|||||||
\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.
|
||||||
.HP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
@ -967,7 +967,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -16,7 +16,7 @@ vgck checks LVM metadata for consistency.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -30,64 +30,64 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -96,47 +96,47 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -147,7 +147,7 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -157,20 +157,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -201,7 +201,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -19,31 +19,31 @@ longer needed in general.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-f\fP|\fB--force\fP ]
|
[ \fB-f\fP|\fB\-\-force\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP ]
|
[ \fB-M\fP|\fB\-\-metadatatype\fP \fBlvm2\fP|\fBlvm1\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--labelsector\fP \fINumber\fP ]
|
[ \fB\-\-labelsector\fP \fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--bootloaderareasize\fP \fISize\fP[m|UNIT] ]
|
[ \fB\-\-bootloaderareasize\fP \fISize\fP[m|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--pvmetadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP ]
|
[ \fB\-\-pvmetadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--metadatasize\fP \fISize\fP[m|UNIT] ]
|
[ \fB\-\-metadatasize\fP \fISize\fP[m|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -54,78 +54,78 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--bootloaderareasize\fP \fISize\fP[m|UNIT]
|
\fB\-\-bootloaderareasize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
Create a separate bootloader area of specified size besides PV's data
|
Create a separate bootloader area of specified size besides PV's data
|
||||||
area. The bootloader area is an area of reserved space on the PV from
|
area. The bootloader area is an area of reserved space on the PV from
|
||||||
which LVM will not allocate any extents and it's kept untouched. This is
|
which LVM will not allocate any extents and it's kept untouched. This is
|
||||||
primarily aimed for use with bootloaders to embed their own data or metadata.
|
primarily aimed for use with bootloaders to embed their own data or metadata.
|
||||||
The start of the bootloader area is always aligned, see also --dataalignment
|
The start of the bootloader area is always aligned, see also \-\-dataalignment
|
||||||
and --dataalignmentoffset. The bootloader area size may eventually
|
and \-\-dataalignmentoffset. The bootloader area size may eventually
|
||||||
end up increased due to the alignment, but it's never less than the
|
end up increased due to the alignment, but it's never less than the
|
||||||
size that is requested. To see the bootloader area start and size of
|
size that is requested. 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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -134,34 +134,34 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB\-\-force\fP ...
|
||||||
.br
|
.br
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--labelsector\fP \fINumber\fP
|
\fB\-\-labelsector\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
By default the PV is labelled with an LVM2 identifier in its second
|
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
|
||||||
@ -170,20 +170,20 @@ in the source). Use with care.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadatasize\fP \fISize\fP[m|UNIT]
|
\fB\-\-metadatasize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
|
\fB-M\fP|\fB\-\-metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -192,14 +192,14 @@ can be used for accessing old data.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
The number of metadata areas to set aside on a PV for storing VG metadata.
|
The number of metadata areas to set aside on a PV for storing VG metadata.
|
||||||
When 2, one copy of the VG metadata is stored at the front of the PV
|
When 2, one copy of the VG metadata is stored at the front of the PV
|
||||||
@ -212,14 +212,14 @@ on the ability to use vgsplit later.)
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -230,7 +230,7 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -240,20 +240,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -279,7 +279,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -17,91 +17,91 @@ devices are also available with vgcreate.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP ]
|
[ \fB-A\fP|\fB\-\-autobackup\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-c\fP|\fB--clustered\fP \fBy\fP|\fBn\fP ]
|
[ \fB-c\fP|\fB\-\-clustered\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-l\fP|\fB--maxlogicalvolumes\fP \fINumber\fP ]
|
[ \fB-l\fP|\fB\-\-maxlogicalvolumes\fP \fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-p\fP|\fB--maxphysicalvolumes\fP \fINumber\fP ]
|
[ \fB-p\fP|\fB\-\-maxphysicalvolumes\fP \fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP ]
|
[ \fB-M\fP|\fB\-\-metadatatype\fP \fBlvm2\fP|\fBlvm1\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-s\fP|\fB--physicalextentsize\fP \fISize\fP[m|UNIT] ]
|
[ \fB-s\fP|\fB\-\-physicalextentsize\fP \fISize\fP[m|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-f\fP|\fB--force\fP ]
|
[ \fB-f\fP|\fB\-\-force\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-Z\fP|\fB--zero\fP \fBy\fP|\fBn\fP ]
|
[ \fB-Z\fP|\fB\-\-zero\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--addtag\fP \fITag\fP ]
|
[ \fB\-\-addtag\fP \fITag\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP ]
|
[ \fB\-\-alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--metadataprofile\fP \fIString\fP ]
|
[ \fB\-\-metadataprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--labelsector\fP \fINumber\fP ]
|
[ \fB\-\-labelsector\fP \fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--metadatasize\fP \fISize\fP[m|UNIT] ]
|
[ \fB\-\-metadatasize\fP \fISize\fP[m|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--pvmetadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP ]
|
[ \fB\-\-pvmetadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--[vg]metadatacopies\fP \fBall\fP|\fBunmanaged\fP|\fINumber\fP ]
|
[ \fB\-\-[vg]metadatacopies\fP \fBall\fP|\fBunmanaged\fP|\fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--dataalignment\fP \fISize\fP[k|UNIT] ]
|
[ \fB\-\-dataalignment\fP \fISize\fP[k|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--dataalignmentoffset\fP \fISize\fP[k|UNIT] ]
|
[ \fB\-\-dataalignmentoffset\fP \fISize\fP[k|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--shared\fP ]
|
[ \fB\-\-shared\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--systemid\fP \fIString\fP ]
|
[ \fB\-\-systemid\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--locktype\fP \fBsanlock\fP|\fBdlm\fP|\fBnone\fP ]
|
[ \fB\-\-locktype\fP \fBsanlock\fP|\fBdlm\fP|\fBnone\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--lockopt\fP \fIString\fP ]
|
[ \fB\-\-lockopt\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -112,64 +112,64 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--addtag\fP \fITag\fP
|
\fB\-\-addtag\fP \fITag\fP
|
||||||
.br
|
.br
|
||||||
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 lvm(8) for information about tags.
|
multiple tags at once. See lvm(8) for information about tags.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP
|
\fB\-\-alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP
|
||||||
.br
|
.br
|
||||||
Determines the allocation policy when a command needs to allocate
|
Determines the allocation policy when a command needs to allocate
|
||||||
Physical Extents (PEs) from the VG. Each VG and LV has an allocation policy
|
Physical Extents (PEs) from the VG. Each VG and LV has an allocation policy
|
||||||
@ -190,14 +190,14 @@ See \fBlvm\fP(8) for more information about allocation.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
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 vgcfgbackup(8) for more information.
|
Enabling this is strongly advised! See vgcfgbackup(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Create a clustered VG using clvmd if LVM is compiled with cluster support.
|
Create a clustered VG using clvmd if LVM is compiled with cluster support.
|
||||||
This allows multiple hosts to share a VG on shared devices.
|
This allows multiple hosts to share a VG on shared devices.
|
||||||
@ -207,14 +207,14 @@ See clvmd(8) for more information about clustered VGs.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -223,50 +223,50 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--dataalignment\fP \fISize\fP[k|UNIT]
|
\fB\-\-dataalignment\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
Align the start of the data to a multiple of this number.
|
Align the start of the data to a multiple of this number.
|
||||||
Also specify an appropriate Physical Extent size when creating a VG.
|
Also specify an appropriate Physical Extent size when creating a VG.
|
||||||
To see the location of the first Physical Extent of an existing PV,
|
To see the location of the first Physical Extent 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 lvm.conf/data_alignment_offset_detection and --dataalignmentoffset.
|
See lvm.conf/data_alignment_offset_detection and \-\-dataalignmentoffset.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--dataalignmentoffset\fP \fISize\fP[k|UNIT]
|
\fB\-\-dataalignmentoffset\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
Shift the start of the data area by this additional offset.
|
Shift the start of the data area by this additional offset.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB\-\-force\fP ...
|
||||||
.br
|
.br
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--labelsector\fP \fINumber\fP
|
\fB\-\-labelsector\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
By default the PV is labelled with an LVM2 identifier in its second
|
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
|
||||||
@ -275,56 +275,56 @@ in the source). Use with care.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--lockopt\fP \fIString\fP
|
\fB\-\-lockopt\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Used to pass options for special cases to lvmlockd.
|
Used to pass options for special cases to lvmlockd.
|
||||||
See lvmlockd(8) for more information.
|
See lvmlockd(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Specify the VG lock type directly in place of using --shared.
|
Specify the VG lock type directly in place of using \-\-shared.
|
||||||
See lvmlockd(8) for more information.
|
See lvmlockd(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--maxlogicalvolumes\fP \fINumber\fP
|
\fB-l\fP|\fB\-\-maxlogicalvolumes\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
Sets the maximum number of LVs allowed in a VG.
|
Sets the maximum number of LVs allowed in a VG.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-p\fP|\fB--maxphysicalvolumes\fP \fINumber\fP
|
\fB-p\fP|\fB\-\-maxphysicalvolumes\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
Sets the maximum number of PVs that can belong to the VG.
|
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataprofile\fP \fIString\fP
|
\fB\-\-metadataprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadatasize\fP \fISize\fP[m|UNIT]
|
\fB\-\-metadatasize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
|
\fB-M\fP|\fB\-\-metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -333,7 +333,7 @@ can be used for accessing old data.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Sets the physical extent size of PVs in the VG.
|
Sets the physical extent size of PVs in the VG.
|
||||||
The value must be either a power of 2 of at least 1 sector
|
The value must be either a power of 2 of at least 1 sector
|
||||||
@ -344,14 +344,14 @@ without recreating the VG, unless no extents need moving.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
The number of metadata areas to set aside on a PV for storing VG metadata.
|
The number of metadata areas to set aside on a PV for storing VG metadata.
|
||||||
When 2, one copy of the VG metadata is stored at the front of the PV
|
When 2, one copy of the VG metadata is stored at the front of the PV
|
||||||
@ -364,14 +364,14 @@ on the ability to use vgsplit later.)
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -382,7 +382,7 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--shared\fP
|
\fB\-\-shared\fP
|
||||||
.br
|
.br
|
||||||
Create a shared VG using lvmlockd if LVM is compiled with lockd support.
|
Create a shared VG using lvmlockd if LVM is compiled with lockd support.
|
||||||
lvmlockd will select lock type sanlock or dlm depending on which lock
|
lvmlockd will select lock type sanlock or dlm depending on which lock
|
||||||
@ -393,7 +393,7 @@ See lvmlockd(8) for more information about shared VGs.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--systemid\fP \fIString\fP
|
\fB\-\-systemid\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Specifies the system ID that will be given to the new VG, overriding the
|
Specifies the system ID that will be given to the new VG, overriding the
|
||||||
system ID of the host running the command. A VG is normally created
|
system ID of the host running the command. A VG is normally created
|
||||||
@ -405,7 +405,7 @@ See lvmsystemid(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -415,20 +415,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Number of copies of the VG metadata that are kept.
|
Number of copies of the VG metadata that are kept.
|
||||||
VG metadata is kept in VG metadata areas on PVs in the VG,
|
VG metadata is kept in VG metadata areas on PVs in the VG,
|
||||||
@ -446,7 +446,7 @@ all PVs, and then to become unmanaged.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -454,11 +454,11 @@ answer yes. Use with extreme caution.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Controls if the first 4 sectors (2048 bytes) of the device are wiped.
|
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.
|
||||||
.ad b
|
.ad b
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.HP
|
.HP
|
||||||
@ -490,7 +490,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -19,95 +19,95 @@ and more, using a more compact and configurable output format.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-A\fP|\fB--activevolumegroups\fP ]
|
[ \fB-A\fP|\fB\-\-activevolumegroups\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-c\fP|\fB--colon\fP ]
|
[ \fB-c\fP|\fB\-\-colon\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-C\fP|\fB--columns\fP ]
|
[ \fB-C\fP|\fB\-\-columns\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-o\fP|\fB--options\fP \fIString\fP ]
|
[ \fB-o\fP|\fB\-\-options\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-P\fP|\fB--partial\fP ]
|
[ \fB-P\fP|\fB\-\-partial\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-S\fP|\fB--select\fP \fIString\fP ]
|
[ \fB-S\fP|\fB\-\-select\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-s\fP|\fB--short\fP ]
|
[ \fB-s\fP|\fB\-\-short\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-O\fP|\fB--sort\fP \fIString\fP ]
|
[ \fB-O\fP|\fB\-\-sort\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--aligned\fP ]
|
[ \fB\-\-aligned\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--binary\fP ]
|
[ \fB\-\-binary\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.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 ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--foreign\fP ]
|
[ \fB\-\-foreign\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignorelockingfailure\fP ]
|
[ \fB\-\-ignorelockingfailure\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignoreskippedcluster\fP ]
|
[ \fB\-\-ignoreskippedcluster\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--logonly\fP ]
|
[ \fB\-\-logonly\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--noheadings\fP ]
|
[ \fB\-\-noheadings\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--nosuffix\fP ]
|
[ \fB\-\-nosuffix\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--readonly\fP ]
|
[ \fB\-\-readonly\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--shared\fP ]
|
[ \fB\-\-shared\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--separator\fP \fIString\fP ]
|
[ \fB\-\-separator\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--unbuffered\fP ]
|
[ \fB\-\-unbuffered\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.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 ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -121,70 +121,70 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--activevolumegroups\fP
|
\fB-A\fP|\fB\-\-activevolumegroups\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--aligned\fP
|
\fB\-\-aligned\fP
|
||||||
.br
|
.br
|
||||||
Use with --separator to align the output columns
|
Use with \-\-separator to align the output columns
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--binary\fP
|
\fB\-\-binary\fP
|
||||||
.br
|
.br
|
||||||
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
|
||||||
@ -192,28 +192,28 @@ the "unknown" value which denotes that the value could not be determined).
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-c\fP|\fB--colon\fP
|
\fB-c\fP|\fB\-\-colon\fP
|
||||||
.br
|
.br
|
||||||
Generate colon separated output for easier parsing in scripts or programs.
|
Generate colon separated output for easier parsing in scripts or programs.
|
||||||
Also see vgs(8) which provides considerably more control over the output.
|
Also see vgs(8) which provides considerably more control over the output.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-C\fP|\fB--columns\fP
|
\fB-C\fP|\fB\-\-columns\fP
|
||||||
.br
|
.br
|
||||||
Display output in columns, the equivalent of vgs(8).
|
Display output in columns, the equivalent of vgs(8).
|
||||||
Options listed are the same as options given in vgs(8).
|
Options listed are the same as options given in vgs(8).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -222,80 +222,80 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
See lvmreport(7).
|
See lvmreport(7).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--foreign\fP
|
\fB\-\-foreign\fP
|
||||||
.br
|
.br
|
||||||
Report/display foreign VGs that would otherwise be skipped.
|
Report/display foreign VGs that would otherwise be skipped.
|
||||||
See lvmsystemid(7) for more information about foreign VGs.
|
See lvmsystemid(7) for more information about foreign VGs.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB\-\-ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoreskippedcluster\fP
|
\fB\-\-ignoreskippedcluster\fP
|
||||||
.br
|
.br
|
||||||
Use to avoid exiting with an non-zero status code if the command is run
|
Use to avoid exiting with an non-zero status code if the command is run
|
||||||
without clustered locking and clustered VGs are skipped.
|
without clustered locking and clustered VGs are skipped.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--logonly\fP
|
\fB\-\-logonly\fP
|
||||||
.br
|
.br
|
||||||
Suppress command report and display only log report.
|
Suppress command report and display only log report.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noheadings\fP
|
\fB\-\-noheadings\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosuffix\fP
|
\fB\-\-nosuffix\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-o\fP|\fB--options\fP \fIString\fP
|
\fB-o\fP|\fB\-\-options\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Comma-separated, ordered list of fields to display in columns.
|
Comma-separated, ordered list of fields to display in columns.
|
||||||
String arg syntax is: [+|-|#]Field1[,Field2 ...]
|
String arg syntax is: [+|-|#]Field1[,Field2 ...]
|
||||||
@ -317,7 +317,7 @@ See lvmreport(7) for more information about reporting.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-P\fP|\fB--partial\fP
|
\fB-P\fP|\fB\-\-partial\fP
|
||||||
.br
|
.br
|
||||||
When set, the tools will do their best to provide access to VGs
|
When set, the tools will do their best to provide access to VGs
|
||||||
that are only partially available (one or more PVs belonging
|
that are only partially available (one or more PVs belonging
|
||||||
@ -326,21 +326,21 @@ changed with this option.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB\-\-readonly\fP
|
||||||
.br
|
.br
|
||||||
Run the command in a special read-only mode which will read on-disk
|
Run the command in a special read-only mode which will read on-disk
|
||||||
metadata without needing to take any locks. This can be used to peek
|
metadata without needing to take any locks. This can be used to peek
|
||||||
@ -354,7 +354,7 @@ actually in use.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -365,12 +365,12 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB\-\-select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Select objects for processing and reporting based on specified criteria.
|
Select objects for processing and reporting based on specified criteria.
|
||||||
The criteria syntax is described by \fB--select help\fP and \fBlvmreport\fP(7).
|
The criteria syntax is described by \fB\-\-select help\fP and \fBlvmreport\fP(7).
|
||||||
For reporting commands, one row is displayed for each object matching the criteria.
|
For reporting commands, one row is displayed for each object matching the criteria.
|
||||||
See \fB--options help\fP for selectable object fields.
|
See \fB\-\-options help\fP for selectable object fields.
|
||||||
Rows can be displayed with an additional "selected" field (-o selected)
|
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
|
||||||
@ -378,13 +378,13 @@ used to choose items to process.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--separator\fP \fIString\fP
|
\fB\-\-separator\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
String to use to separate each column. Useful if grepping the output.
|
String to use to separate each column. Useful if grepping the output.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--shared\fP
|
\fB\-\-shared\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -392,20 +392,20 @@ See lvmlockd(8) for more information about shared VGs.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-s\fP|\fB--short\fP
|
\fB-s\fP|\fB\-\-short\fP
|
||||||
.br
|
.br
|
||||||
Give a short listing showing the existence of VGs.
|
Give a short listing showing the existence of VGs.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-O\fP|\fB--sort\fP \fIString\fP
|
\fB-O\fP|\fB\-\-sort\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -415,37 +415,37 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unbuffered\fP
|
\fB\-\-unbuffered\fP
|
||||||
.br
|
.br
|
||||||
Produce output immediately without sorting or aligning the columns properly.
|
Produce output immediately without sorting or aligning the columns properly.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
All sizes are output in these units:
|
All sizes are output in these units:
|
||||||
human-(r)eadable with '<' rounding indicator,
|
human-(r)eadable with '<' rounding indicator,
|
||||||
(h)uman-readable, (b)ytes, (s)ectors, (k)ilobytes, (m)egabytes,
|
(h)uman-readable, (b)ytes, (s)ectors, (k)ilobytes, (m)egabytes,
|
||||||
(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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -476,7 +476,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -24,7 +24,7 @@ Export specified VGs.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-S\fP|\fB--select\fP \fIString\fP ]
|
[ \fB-S\fP|\fB\-\-select\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -34,7 +34,7 @@ Export specified VGs.
|
|||||||
Export all VGs.
|
Export all VGs.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBvgexport\fP \fB-a\fP|\fB--all\fP
|
\fBvgexport\fP \fB-a\fP|\fB\-\-all\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -45,7 +45,7 @@ Common options for command:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@ -53,69 +53,69 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB\-\-all\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -124,47 +124,47 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -175,12 +175,12 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB\-\-select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Select objects for processing and reporting based on specified criteria.
|
Select objects for processing and reporting based on specified criteria.
|
||||||
The criteria syntax is described by \fB--select help\fP and \fBlvmreport\fP(7).
|
The criteria syntax is described by \fB\-\-select help\fP and \fBlvmreport\fP(7).
|
||||||
For reporting commands, one row is displayed for each object matching the criteria.
|
For reporting commands, one row is displayed for each object matching the criteria.
|
||||||
See \fB--options help\fP for selectable object fields.
|
See \fB\-\-options help\fP for selectable object fields.
|
||||||
Rows can be displayed with an additional "selected" field (-o selected)
|
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
|
||||||
@ -188,7 +188,7 @@ used to choose items to process.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -198,20 +198,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -231,7 +231,7 @@ in place of a VG, LV or PV.
|
|||||||
\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.
|
||||||
.HP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
@ -248,7 +248,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -24,51 +24,51 @@ will initialize them. In this case pvcreate options can be used, e.g.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP ]
|
[ \fB-A\fP|\fB\-\-autobackup\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-f\fP|\fB--force\fP ]
|
[ \fB-f\fP|\fB\-\-force\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-Z\fP|\fB--zero\fP \fBy\fP|\fBn\fP ]
|
[ \fB-Z\fP|\fB\-\-zero\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP ]
|
[ \fB-M\fP|\fB\-\-metadatatype\fP \fBlvm2\fP|\fBlvm1\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--labelsector\fP \fINumber\fP ]
|
[ \fB\-\-labelsector\fP \fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--metadatasize\fP \fISize\fP[m|UNIT] ]
|
[ \fB\-\-metadatasize\fP \fISize\fP[m|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--pvmetadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP ]
|
[ \fB\-\-pvmetadatacopies\fP \fB0\fP|\fB1\fP|\fB2\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--metadataignore\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-metadataignore\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--dataalignment\fP \fISize\fP[k|UNIT] ]
|
[ \fB\-\-dataalignment\fP \fISize\fP[k|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--dataalignmentoffset\fP \fISize\fP[k|UNIT] ]
|
[ \fB\-\-dataalignmentoffset\fP \fISize\fP[k|UNIT] ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--restoremissing\fP ]
|
[ \fB\-\-restoremissing\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -79,71 +79,71 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.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
|
||||||
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 vgcfgbackup(8) for more information.
|
Enabling this is strongly advised! See vgcfgbackup(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -152,50 +152,50 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--dataalignment\fP \fISize\fP[k|UNIT]
|
\fB\-\-dataalignment\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
Align the start of the data to a multiple of this number.
|
Align the start of the data to a multiple of this number.
|
||||||
Also specify an appropriate Physical Extent size when creating a VG.
|
Also specify an appropriate Physical Extent size when creating a VG.
|
||||||
To see the location of the first Physical Extent of an existing PV,
|
To see the location of the first Physical Extent 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 lvm.conf/data_alignment_offset_detection and --dataalignmentoffset.
|
See lvm.conf/data_alignment_offset_detection and \-\-dataalignmentoffset.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--dataalignmentoffset\fP \fISize\fP[k|UNIT]
|
\fB\-\-dataalignmentoffset\fP \fISize\fP[k|UNIT]
|
||||||
.br
|
.br
|
||||||
Shift the start of the data area by this additional offset.
|
Shift the start of the data area by this additional offset.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB\-\-force\fP ...
|
||||||
.br
|
.br
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--labelsector\fP \fINumber\fP
|
\fB\-\-labelsector\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
By default the PV is labelled with an LVM2 identifier in its second
|
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
|
||||||
@ -204,13 +204,13 @@ in the source). Use with care.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadataignore\fP \fBy\fP|\fBn\fP
|
\fB\-\-metadataignore\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
Specifies the metadataignore property of a PV.
|
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
|
||||||
@ -219,14 +219,14 @@ If no, lvm will store metadata on the PV.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--metadatasize\fP \fISize\fP[m|UNIT]
|
\fB\-\-metadatasize\fP \fISize\fP[m|UNIT]
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
|
\fB-M\fP|\fB\-\-metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -235,14 +235,14 @@ can be used for accessing old data.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
The number of metadata areas to set aside on a PV for storing VG metadata.
|
The number of metadata areas to set aside on a PV for storing VG metadata.
|
||||||
When 2, one copy of the VG metadata is stored at the front of the PV
|
When 2, one copy of the VG metadata is stored at the front of the PV
|
||||||
@ -255,14 +255,14 @@ on the ability to use vgsplit later.)
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -273,14 +273,14 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--restoremissing\fP
|
\fB\-\-restoremissing\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -290,20 +290,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -311,11 +311,11 @@ answer yes. Use with extreme caution.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Controls if the first 4 sectors (2048 bytes) of the device are wiped.
|
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.
|
||||||
.ad b
|
.ad b
|
||||||
.SH VARIABLES
|
.SH VARIABLES
|
||||||
.HP
|
.HP
|
||||||
@ -347,7 +347,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -21,7 +21,7 @@ Import specified VGs.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-S\fP|\fB--select\fP \fIString\fP ]
|
[ \fB-S\fP|\fB\-\-select\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -31,7 +31,7 @@ Import specified VGs.
|
|||||||
Import all VGs.
|
Import all VGs.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBvgimport\fP \fB-a\fP|\fB--all\fP
|
\fBvgimport\fP \fB-a\fP|\fB\-\-all\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -42,11 +42,11 @@ Common options for command:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-f\fP|\fB--force\fP ]
|
[ \fB-f\fP|\fB\-\-force\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@ -54,69 +54,69 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB\-\-all\fP
|
||||||
.br
|
.br
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -125,54 +125,54 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB\-\-force\fP ...
|
||||||
.br
|
.br
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -183,12 +183,12 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB\-\-select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Select objects for processing and reporting based on specified criteria.
|
Select objects for processing and reporting based on specified criteria.
|
||||||
The criteria syntax is described by \fB--select help\fP and \fBlvmreport\fP(7).
|
The criteria syntax is described by \fB\-\-select help\fP and \fBlvmreport\fP(7).
|
||||||
For reporting commands, one row is displayed for each object matching the criteria.
|
For reporting commands, one row is displayed for each object matching the criteria.
|
||||||
See \fB--options help\fP for selectable object fields.
|
See \fB\-\-options help\fP for selectable object fields.
|
||||||
Rows can be displayed with an additional "selected" field (-o selected)
|
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
|
||||||
@ -196,7 +196,7 @@ used to choose items to process.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -206,20 +206,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -239,7 +239,7 @@ in place of a VG, LV or PV.
|
|||||||
\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.
|
||||||
.HP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
@ -256,7 +256,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -19,11 +19,11 @@ changes the associated VG and PV UUIDs.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-n\fP|\fB--basevgname\fP \fIVG\fP ]
|
[ \fB-n\fP|\fB\-\-basevgname\fP \fIVG\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-i\fP|\fB--import\fP ]
|
[ \fB-i\fP|\fB\-\-import\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -34,57 +34,57 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-n\fP|\fB--basevgname\fP \fIString\fP
|
\fB-n\fP|\fB\-\-basevgname\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
By default the snapshot VG will be renamed to the original name plus a
|
By default the snapshot VG will be renamed to the original name plus a
|
||||||
numeric suffix to avoid duplicate naming (e.g. 'test_vg' would be renamed
|
numeric suffix to avoid duplicate naming (e.g. 'test_vg' would be renamed
|
||||||
@ -94,14 +94,14 @@ a numeric suffix will be added (like the previous example) to make it unique.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -110,54 +110,54 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-i\fP|\fB--import\fP
|
\fB-i\fP|\fB\-\-import\fP
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -167,20 +167,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -212,7 +212,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -16,11 +16,11 @@ of both VGs fit into the destination VG's limits.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP ]
|
[ \fB-A\fP|\fB\-\-autobackup\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-l\fP|\fB--list\fP ]
|
[ \fB-l\fP|\fB\-\-list\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -31,71 +31,71 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.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
|
||||||
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 vgcfgbackup(8) for more information.
|
Enabling this is strongly advised! See vgcfgbackup(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -104,53 +104,53 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--list\fP
|
\fB-l\fP|\fB\-\-list\fP
|
||||||
.br
|
.br
|
||||||
Display merged destination VG like vgdisplay -v.
|
Display merged destination VG like vgdisplay -v.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -160,20 +160,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -199,7 +199,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -20,15 +20,15 @@ interoperating correctly.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignorelockingfailure\fP ]
|
[ \fB\-\-ignorelockingfailure\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--refresh\fP ]
|
[ \fB\-\-refresh\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -42,64 +42,64 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -108,54 +108,54 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB\-\-ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--refresh\fP
|
\fB\-\-refresh\fP
|
||||||
.br
|
.br
|
||||||
If the LV is active, reload its metadata.
|
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
|
||||||
@ -164,7 +164,7 @@ sharing is being used.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -175,7 +175,7 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -185,20 +185,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -234,7 +234,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -9,75 +9,75 @@ vgreduce \- Remove physical volume(s) from a volume group
|
|||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB\-\-all\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP
|
\fB-A\fP|\fB\-\-autobackup\fP \fBy\fP|\fBn\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP
|
\fB-d\fP|\fB\-\-debug\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP
|
\fB-f\fP|\fB\-\-force\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--mirrorsonly\fP
|
\fB\-\-mirrorsonly\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP
|
\fB-q\fP|\fB\-\-quiet\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--removemissing\fP
|
\fB\-\-removemissing\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP
|
\fB-v\fP|\fB\-\-verbose\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.ad b
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
vgreduce removes one or more unused PVs from a VG.
|
vgreduce removes one or more unused PVs from a VG.
|
||||||
@ -96,7 +96,7 @@ Remove a PV from a VG.
|
|||||||
Remove all unused PVs from a VG.
|
Remove all unused PVs from a VG.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBvgreduce\fP \fB-a\fP|\fB--all\fP \fIVG\fP
|
\fBvgreduce\fP \fB-a\fP|\fB\-\-all\fP \fIVG\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -107,11 +107,11 @@ Remove all unused PVs from a VG.
|
|||||||
Remove all missing PVs from a VG.
|
Remove all missing PVs from a VG.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBvgreduce\fP \fB--removemissing\fP \fIVG\fP
|
\fBvgreduce\fP \fB\-\-removemissing\fP \fIVG\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--mirrorsonly\fP ]
|
[ \fB\-\-mirrorsonly\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -123,15 +123,15 @@ Common options for command:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP ]
|
[ \fB-A\fP|\fB\-\-autobackup\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-f\fP|\fB--force\fP ]
|
[ \fB-f\fP|\fB\-\-force\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@ -139,77 +139,77 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB\-\-all\fP
|
||||||
.br
|
.br
|
||||||
Removes all empty PVs if none are named on the command line.
|
Removes all empty PVs if none are named on the command line.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
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 vgcfgbackup(8) for more information.
|
Enabling this is strongly advised! See vgcfgbackup(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -218,66 +218,66 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB\-\-force\fP ...
|
||||||
.br
|
.br
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--mirrorsonly\fP
|
\fB\-\-mirrorsonly\fP
|
||||||
.br
|
.br
|
||||||
Only remove missing PVs from mirror LVs.
|
Only remove missing PVs from mirror LVs.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--removemissing\fP
|
\fB\-\-removemissing\fP
|
||||||
.br
|
.br
|
||||||
Removes all missing PVs from the VG, if there are no LVs allocated
|
Removes all missing PVs from the VG, if there are no LVs allocated
|
||||||
on them. This resumes normal operation of the VG (new LVs may again
|
on them. This resumes normal operation of the VG (new LVs may again
|
||||||
be created, changed and so on).
|
be created, changed and so on).
|
||||||
If this is not possible because LVs are referencing the missing PVs,
|
If this is not possible because LVs are referencing the missing PVs,
|
||||||
this option can be combined with --force to have the command remove
|
this option can be combined with \-\-force to have the command remove
|
||||||
any partial LVs. In this case, any LVs and dependent snapshots that
|
any partial LVs. In this case, any LVs and dependent snapshots that
|
||||||
were partly on the missing disks are removed completely, including
|
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.
|
||||||
@ -286,7 +286,7 @@ some data first may be possible by activating LVs in partial mode.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -297,7 +297,7 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -307,20 +307,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -356,7 +356,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -22,19 +22,19 @@ without confirmation.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-f\fP|\fB--force\fP ]
|
[ \fB-f\fP|\fB\-\-force\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-S\fP|\fB--select\fP \fIString\fP ]
|
[ \fB-S\fP|\fB\-\-select\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--noudevsync\fP ]
|
[ \fB\-\-noudevsync\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -45,64 +45,64 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -111,40 +111,40 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB\-\-force\fP ...
|
||||||
.br
|
.br
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noudevsync\fP
|
\fB\-\-noudevsync\fP
|
||||||
.br
|
.br
|
||||||
Disables udev synchronisation. The process will not wait for notification
|
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
|
||||||
@ -153,21 +153,21 @@ ignore the devices LVM creates.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -178,12 +178,12 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB\-\-select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Select objects for processing and reporting based on specified criteria.
|
Select objects for processing and reporting based on specified criteria.
|
||||||
The criteria syntax is described by \fB--select help\fP and \fBlvmreport\fP(7).
|
The criteria syntax is described by \fB\-\-select help\fP and \fBlvmreport\fP(7).
|
||||||
For reporting commands, one row is displayed for each object matching the criteria.
|
For reporting commands, one row is displayed for each object matching the criteria.
|
||||||
See \fB--options help\fP for selectable object fields.
|
See \fB\-\-options help\fP for selectable object fields.
|
||||||
Rows can be displayed with an additional "selected" field (-o selected)
|
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
|
||||||
@ -191,7 +191,7 @@ used to choose items to process.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -201,20 +201,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -234,7 +234,7 @@ in place of a VG, LV or PV.
|
|||||||
\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.
|
||||||
.HP
|
.HP
|
||||||
\fIString\fP
|
\fIString\fP
|
||||||
@ -251,7 +251,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -42,15 +42,15 @@ Common options for command:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP ]
|
[ \fB-A\fP|\fB\-\-autobackup\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-f\fP|\fB--force\fP ]
|
[ \fB-f\fP|\fB\-\-force\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@ -58,71 +58,71 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.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
|
||||||
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 vgcfgbackup(8) for more information.
|
Enabling this is strongly advised! See vgcfgbackup(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -131,54 +131,54 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-f\fP|\fB--force\fP ...
|
\fB-f\fP|\fB\-\-force\fP ...
|
||||||
.br
|
.br
|
||||||
Override various checks, confirmations and protections.
|
Override various checks, confirmations and protections.
|
||||||
Use with extreme caution.
|
Use with extreme caution.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -189,7 +189,7 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -199,20 +199,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -238,7 +238,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
168
man/vgs.8_pregen
168
man/vgs.8_pregen
@ -16,103 +16,103 @@ vgs produces formatted output about VGs.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-a\fP|\fB--all\fP ]
|
[ \fB-a\fP|\fB\-\-all\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-o\fP|\fB--options\fP \fIString\fP ]
|
[ \fB-o\fP|\fB\-\-options\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-P\fP|\fB--partial\fP ]
|
[ \fB-P\fP|\fB\-\-partial\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-S\fP|\fB--select\fP \fIString\fP ]
|
[ \fB-S\fP|\fB\-\-select\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-O\fP|\fB--sort\fP \fIString\fP ]
|
[ \fB-O\fP|\fB\-\-sort\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--aligned\fP ]
|
[ \fB\-\-aligned\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--binary\fP ]
|
[ \fB\-\-binary\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.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 ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--foreign\fP ]
|
[ \fB\-\-foreign\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignorelockingfailure\fP ]
|
[ \fB\-\-ignorelockingfailure\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignoreskippedcluster\fP ]
|
[ \fB\-\-ignoreskippedcluster\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--logonly\fP ]
|
[ \fB\-\-logonly\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--nameprefixes\fP ]
|
[ \fB\-\-nameprefixes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--noheadings\fP ]
|
[ \fB\-\-noheadings\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--nolocking\fP ]
|
[ \fB\-\-nolocking\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--nosuffix\fP ]
|
[ \fB\-\-nosuffix\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--readonly\fP ]
|
[ \fB\-\-readonly\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--rows\fP ]
|
[ \fB\-\-rows\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--separator\fP \fIString\fP ]
|
[ \fB\-\-separator\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--shared\fP ]
|
[ \fB\-\-shared\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--trustcache\fP ]
|
[ \fB\-\-trustcache\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--unbuffered\fP ]
|
[ \fB\-\-unbuffered\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.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 ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--unquoted\fP ]
|
[ \fB\-\-unquoted\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -126,69 +126,69 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--aligned\fP
|
\fB\-\-aligned\fP
|
||||||
.br
|
.br
|
||||||
Use with --separator to align the output columns
|
Use with \-\-separator to align the output columns
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-a\fP|\fB--all\fP
|
\fB-a\fP|\fB\-\-all\fP
|
||||||
.br
|
.br
|
||||||
List all VGs. Equivalent to not specifying any VGs.
|
List all VGs. Equivalent to not specifying any VGs.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--binary\fP
|
\fB\-\-binary\fP
|
||||||
.br
|
.br
|
||||||
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
|
||||||
@ -196,14 +196,14 @@ the "unknown" value which denotes that the value could not be determined).
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -212,94 +212,94 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
See lvmreport(7).
|
See lvmreport(7).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--foreign\fP
|
\fB\-\-foreign\fP
|
||||||
.br
|
.br
|
||||||
Report/display foreign VGs that would otherwise be skipped.
|
Report/display foreign VGs that would otherwise be skipped.
|
||||||
See lvmsystemid(7) for more information about foreign VGs.
|
See lvmsystemid(7) for more information about foreign VGs.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB\-\-ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignoreskippedcluster\fP
|
\fB\-\-ignoreskippedcluster\fP
|
||||||
.br
|
.br
|
||||||
Use to avoid exiting with an non-zero status code if the command is run
|
Use to avoid exiting with an non-zero status code if the command is run
|
||||||
without clustered locking and clustered VGs are skipped.
|
without clustered locking and clustered VGs are skipped.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--logonly\fP
|
\fB\-\-logonly\fP
|
||||||
.br
|
.br
|
||||||
Suppress command report and display only log report.
|
Suppress command report and display only log report.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nameprefixes\fP
|
\fB\-\-nameprefixes\fP
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--noheadings\fP
|
\fB\-\-noheadings\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nolocking\fP
|
\fB\-\-nolocking\fP
|
||||||
.br
|
.br
|
||||||
Disable locking.
|
Disable locking.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--nosuffix\fP
|
\fB\-\-nosuffix\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-o\fP|\fB--options\fP \fIString\fP
|
\fB-o\fP|\fB\-\-options\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Comma-separated, ordered list of fields to display in columns.
|
Comma-separated, ordered list of fields to display in columns.
|
||||||
String arg syntax is: [+|-|#]Field1[,Field2 ...]
|
String arg syntax is: [+|-|#]Field1[,Field2 ...]
|
||||||
@ -321,7 +321,7 @@ See lvmreport(7) for more information about reporting.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-P\fP|\fB--partial\fP
|
\fB-P\fP|\fB\-\-partial\fP
|
||||||
.br
|
.br
|
||||||
When set, the tools will do their best to provide access to VGs
|
When set, the tools will do their best to provide access to VGs
|
||||||
that are only partially available (one or more PVs belonging
|
that are only partially available (one or more PVs belonging
|
||||||
@ -330,21 +330,21 @@ changed with this option.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--readonly\fP
|
\fB\-\-readonly\fP
|
||||||
.br
|
.br
|
||||||
Run the command in a special read-only mode which will read on-disk
|
Run the command in a special read-only mode which will read on-disk
|
||||||
metadata without needing to take any locks. This can be used to peek
|
metadata without needing to take any locks. This can be used to peek
|
||||||
@ -358,7 +358,7 @@ actually in use.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -369,18 +369,18 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--rows\fP
|
\fB\-\-rows\fP
|
||||||
.br
|
.br
|
||||||
Output columns as rows.
|
Output columns as rows.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-S\fP|\fB--select\fP \fIString\fP
|
\fB-S\fP|\fB\-\-select\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Select objects for processing and reporting based on specified criteria.
|
Select objects for processing and reporting based on specified criteria.
|
||||||
The criteria syntax is described by \fB--select help\fP and \fBlvmreport\fP(7).
|
The criteria syntax is described by \fB\-\-select help\fP and \fBlvmreport\fP(7).
|
||||||
For reporting commands, one row is displayed for each object matching the criteria.
|
For reporting commands, one row is displayed for each object matching the criteria.
|
||||||
See \fB--options help\fP for selectable object fields.
|
See \fB\-\-options help\fP for selectable object fields.
|
||||||
Rows can be displayed with an additional "selected" field (-o selected)
|
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
|
||||||
@ -388,13 +388,13 @@ used to choose items to process.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--separator\fP \fIString\fP
|
\fB\-\-separator\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
String to use to separate each column. Useful if grepping the output.
|
String to use to separate each column. Useful if grepping the output.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--shared\fP
|
\fB\-\-shared\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -402,14 +402,14 @@ See lvmlockd(8) for more information about shared VGs.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-O\fP|\fB--sort\fP \fIString\fP
|
\fB-O\fP|\fB\-\-sort\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -419,50 +419,50 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--trustcache\fP
|
\fB\-\-trustcache\fP
|
||||||
.br
|
.br
|
||||||
Avoids certain device scanning during command processing. Do not use.
|
Avoids certain device scanning during command processing. Do not use.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unbuffered\fP
|
\fB\-\-unbuffered\fP
|
||||||
.br
|
.br
|
||||||
Produce output immediately without sorting or aligning the columns properly.
|
Produce output immediately without sorting or aligning the columns properly.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
All sizes are output in these units:
|
All sizes are output in these units:
|
||||||
human-(r)eadable with '<' rounding indicator,
|
human-(r)eadable with '<' rounding indicator,
|
||||||
(h)uman-readable, (b)ytes, (s)ectors, (k)ilobytes, (m)egabytes,
|
(h)uman-readable, (b)ytes, (s)ectors, (k)ilobytes, (m)egabytes,
|
||||||
(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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--unquoted\fP
|
\fB\-\-unquoted\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -493,7 +493,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -14,27 +14,27 @@ vgscan scans all supported LVM block devices in the system for VGs.
|
|||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-P\fP|\fB--partial\fP ]
|
[ \fB-P\fP|\fB\-\-partial\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--cache\fP ]
|
[ \fB\-\-cache\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--ignorelockingfailure\fP ]
|
[ \fB\-\-ignorelockingfailure\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--mknodes\fP ]
|
[ \fB\-\-mknodes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--notifydbus\fP ]
|
[ \fB\-\-notifydbus\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
[ \fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -45,70 +45,70 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--cache\fP
|
\fB\-\-cache\fP
|
||||||
.br
|
.br
|
||||||
Scan all devices and send the metadata to lvmetad.
|
Scan all devices and send the metadata to lvmetad.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -117,47 +117,47 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--ignorelockingfailure\fP
|
\fB\-\-ignorelockingfailure\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--mknodes\fP
|
\fB\-\-mknodes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--notifydbus\fP
|
\fB\-\-notifydbus\fP
|
||||||
.br
|
.br
|
||||||
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
|
||||||
@ -165,7 +165,7 @@ notify_dbus config setting is disabled.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-P\fP|\fB--partial\fP
|
\fB-P\fP|\fB\-\-partial\fP
|
||||||
.br
|
.br
|
||||||
When set, the tools will do their best to provide access to VGs
|
When set, the tools will do their best to provide access to VGs
|
||||||
that are only partially available (one or more PVs belonging
|
that are only partially available (one or more PVs belonging
|
||||||
@ -174,21 +174,21 @@ changed with this option.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--reportformat\fP \fBbasic\fP|\fBjson\fP
|
\fB\-\-reportformat\fP \fBbasic\fP|\fBjson\fP
|
||||||
.br
|
.br
|
||||||
Overrides current output format for reports which is defined globally by
|
Overrides current output format for reports which is defined globally by
|
||||||
the report/output_format setting in lvm.conf.
|
the report/output_format setting in lvm.conf.
|
||||||
@ -199,7 +199,7 @@ output in JSON format. See \fBlvmreport\fP(7) for more information.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -209,20 +209,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -244,7 +244,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
@ -35,7 +35,7 @@ Split a VG by specified PVs.
|
|||||||
Split a VG by PVs in a specified LV.
|
Split a VG by PVs in a specified LV.
|
||||||
.br
|
.br
|
||||||
.P
|
.P
|
||||||
\fBvgsplit\fP \fB-n\fP|\fB--name\fP \fILV\fP \fIVG\fP \fIVG\fP
|
\fBvgsplit\fP \fB-n\fP|\fB\-\-name\fP \fILV\fP \fIVG\fP \fIVG\fP
|
||||||
.br
|
.br
|
||||||
.RS 4
|
.RS 4
|
||||||
[ COMMON_OPTIONS ]
|
[ COMMON_OPTIONS ]
|
||||||
@ -46,31 +46,31 @@ Common options for command:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-A\fP|\fB--autobackup\fP \fBy\fP|\fBn\fP ]
|
[ \fB-A\fP|\fB\-\-autobackup\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-c\fP|\fB--clustered\fP \fBy\fP|\fBn\fP ]
|
[ \fB-c\fP|\fB\-\-clustered\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-l\fP|\fB--maxlogicalvolumes\fP \fINumber\fP ]
|
[ \fB-l\fP|\fB\-\-maxlogicalvolumes\fP \fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-p\fP|\fB--maxphysicalvolumes\fP \fINumber\fP ]
|
[ \fB-p\fP|\fB\-\-maxphysicalvolumes\fP \fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP ]
|
[ \fB-M\fP|\fB\-\-metadatatype\fP \fBlvm2\fP|\fBlvm1\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP ]
|
[ \fB\-\-alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--[vg]metadatacopies\fP \fBall\fP|\fBunmanaged\fP|\fINumber\fP ]
|
[ \fB\-\-[vg]metadatacopies\fP \fBall\fP|\fBunmanaged\fP|\fINumber\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@ -78,57 +78,57 @@ Common options for lvm:
|
|||||||
.
|
.
|
||||||
.RS 4
|
.RS 4
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-d\fP|\fB--debug\fP ]
|
[ \fB-d\fP|\fB\-\-debug\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-h\fP|\fB--help\fP ]
|
[ \fB-h\fP|\fB\-\-help\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-q\fP|\fB--quiet\fP ]
|
[ \fB-q\fP|\fB\-\-quiet\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-t\fP|\fB--test\fP ]
|
[ \fB-t\fP|\fB\-\-test\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-v\fP|\fB--verbose\fP ]
|
[ \fB-v\fP|\fB\-\-verbose\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB-y\fP|\fB--yes\fP ]
|
[ \fB-y\fP|\fB\-\-yes\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--commandprofile\fP \fIString\fP ]
|
[ \fB\-\-commandprofile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--config\fP \fIString\fP ]
|
[ \fB\-\-config\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--driverloaded\fP \fBy\fP|\fBn\fP ]
|
[ \fB\-\-driverloaded\fP \fBy\fP|\fBn\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--longhelp\fP ]
|
[ \fB\-\-longhelp\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--profile\fP \fIString\fP ]
|
[ \fB\-\-profile\fP \fIString\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.br
|
.br
|
||||||
.ad l
|
.ad l
|
||||||
[ \fB--version\fP ]
|
[ \fB\-\-version\fP ]
|
||||||
.ad b
|
.ad b
|
||||||
.RE
|
.RE
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP
|
\fB\-\-alloc\fP \fBcontiguous\fP|\fBcling\fP|\fBcling_by_tags\fP|\fBnormal\fP|\fBanywhere\fP|\fBinherit\fP
|
||||||
.br
|
.br
|
||||||
Determines the allocation policy when a command needs to allocate
|
Determines the allocation policy when a command needs to allocate
|
||||||
Physical Extents (PEs) from the VG. Each VG and LV has an allocation policy
|
Physical Extents (PEs) from the VG. Each VG and LV has an allocation policy
|
||||||
@ -149,27 +149,27 @@ See \fBlvm\fP(8) for more information about allocation.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
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 vgcfgbackup(8) for more information.
|
Enabling this is strongly advised! See vgcfgbackup(8) for more information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Specifies the clustered property of the new VG.
|
Specifies the clustered property of the new VG.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--commandprofile\fP \fIString\fP
|
\fB\-\-commandprofile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--config\fP \fIString\fP
|
\fB\-\-config\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Config settings for the command. These override lvm.conf settings.
|
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,
|
||||||
@ -178,48 +178,48 @@ See \fBlvm.conf\fP(5) for more information about config.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-d\fP|\fB--debug\fP ...
|
\fB-d\fP|\fB\-\-debug\fP ...
|
||||||
.br
|
.br
|
||||||
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).
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--driverloaded\fP \fBy\fP|\fBn\fP
|
\fB\-\-driverloaded\fP \fBy\fP|\fBn\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-h\fP|\fB--help\fP
|
\fB-h\fP|\fB\-\-help\fP
|
||||||
.br
|
.br
|
||||||
Display help text.
|
Display help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--longhelp\fP
|
\fB\-\-longhelp\fP
|
||||||
.br
|
.br
|
||||||
Display long help text.
|
Display long help text.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-l\fP|\fB--maxlogicalvolumes\fP \fINumber\fP
|
\fB-l\fP|\fB\-\-maxlogicalvolumes\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
Sets the maximum number of LVs allowed in a VG.
|
Sets the maximum number of LVs allowed in a VG.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-p\fP|\fB--maxphysicalvolumes\fP \fINumber\fP
|
\fB-p\fP|\fB\-\-maxphysicalvolumes\fP \fINumber\fP
|
||||||
.br
|
.br
|
||||||
Sets the maximum number of PVs that can belong to the VG.
|
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-M\fP|\fB--metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
|
\fB-M\fP|\fB\-\-metadatatype\fP \fBlvm2\fP|\fBlvm1\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -228,27 +228,27 @@ can be used for accessing old data.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-n\fP|\fB--name\fP \fIString\fP
|
\fB-n\fP|\fB\-\-name\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
Move only PVs used by the named LV.
|
Move only PVs used by the named LV.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--profile\fP \fIString\fP
|
\fB\-\-profile\fP \fIString\fP
|
||||||
.br
|
.br
|
||||||
An alias for --commandprofile or --metadataprofile, depending
|
An alias for \-\-commandprofile or \-\-metadataprofile, depending
|
||||||
on the command.
|
on the command.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-q\fP|\fB--quiet\fP ...
|
\fB-q\fP|\fB\-\-quiet\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-t\fP|\fB--test\fP
|
\fB-t\fP|\fB\-\-test\fP
|
||||||
.br
|
.br
|
||||||
Run in test mode. Commands will not update metadata.
|
Run in test mode. Commands will not update metadata.
|
||||||
This is implemented by disabling all metadata writing but nevertheless
|
This is implemented by disabling all metadata writing but nevertheless
|
||||||
@ -258,20 +258,20 @@ back metadata it believes has changed but hasn't.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-v\fP|\fB--verbose\fP ...
|
\fB-v\fP|\fB\-\-verbose\fP ...
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB--version\fP
|
\fB\-\-version\fP
|
||||||
.br
|
.br
|
||||||
Display version information.
|
Display version information.
|
||||||
.ad b
|
.ad b
|
||||||
.HP
|
.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
|
||||||
Number of copies of the VG metadata that are kept.
|
Number of copies of the VG metadata that are kept.
|
||||||
VG metadata is kept in VG metadata areas on PVs in the VG,
|
VG metadata is kept in VG metadata areas on PVs in the VG,
|
||||||
@ -289,7 +289,7 @@ all PVs, and then to become unmanaged.
|
|||||||
.ad b
|
.ad b
|
||||||
.HP
|
.HP
|
||||||
.ad l
|
.ad l
|
||||||
\fB-y\fP|\fB--yes\fP
|
\fB-y\fP|\fB\-\-yes\fP
|
||||||
.br
|
.br
|
||||||
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.
|
||||||
@ -325,7 +325,7 @@ UNIT represents other possible input units: \fBbBsSkKmMgGtTpPeE\fP.
|
|||||||
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,
|
||||||
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
m|M is megabytes, g|G is gigabytes, t|T is terabytes,
|
||||||
p|P is petabytes, e|E is exabytes.
|
p|P is petabytes, e|E is exabytes.
|
||||||
(This should not be confused with the output control --units, where
|
(This should not be confused with the output control \-\-units, where
|
||||||
capital letters mean multiple of 1000.)
|
capital letters mean multiple of 1000.)
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
See \fBlvm\fP(8) for information about environment variables used by lvm.
|
||||||
|
Loading…
Reference in New Issue
Block a user