mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-04 09:18:36 +03:00
man: update
Improve lvconvert. Put ENV section downward in lvm.8.
This commit is contained in:
parent
74e6135c4f
commit
d184e8d0ba
@ -119,21 +119,21 @@ lvconvert \(em convert a logical volume from linear to mirror or snapshot
|
|||||||
.RI [ PhysicalVolume [ Path ]...]
|
.RI [ PhysicalVolume [ Path ]...]
|
||||||
.sp
|
.sp
|
||||||
.B lvconvert
|
.B lvconvert
|
||||||
.RB [{ \-\-type
|
.B \-\-type
|
||||||
.BR \fIthin [ \fI\-pool ]| \-T | \-\-thin }
|
.BR \fIthin [ \fI\-pool ]| \-T | \-\-thin
|
||||||
.RB [ \-\-originname
|
.RB [ \-\-originname
|
||||||
.IR NewExternalOriginVolumeName ]]
|
.IR NewExternalOriginVolumeName ]
|
||||||
.RB [ \-\-thinpool
|
.RB [ \-\-thinpool
|
||||||
.IR ThinPoolLogicalVolume { Name | Path }
|
.IR ThinPoolLogicalVolume { Name | Path }
|
||||||
.RB [ \-c | \-\-chunksize
|
.RB [ \-c | \-\-chunksize
|
||||||
.IR ChunkSize [ bBsSkKmMgG ]]
|
.IR ChunkSize [ bBsSkKmMgG ]]
|
||||||
.RB [ \-\-discards
|
.RB [ \-\-discards
|
||||||
.RI { ignore | nopassdown | passdown }]
|
.RI { ignore | nopassdown | passdown }]
|
||||||
.RB [{ \-\-poolmetadata
|
.RB [ \-\-poolmetadata
|
||||||
.IR ThinPoolMetadataLogicalVolume { Name | Path }
|
.IR ThinPoolMetadataLogicalVolume { Name | Path }
|
||||||
|
|
|
|
||||||
.B \-\-poolmetadatasize
|
.B \-\-poolmetadatasize
|
||||||
.IR ThinPoolMetadataSize [ bBsSkKmMgG ]}]
|
.IR ThinPoolMetadataSize [ bBsSkKmMgG ]]
|
||||||
.RB [ \-r | \-\-readahead
|
.RB [ \-r | \-\-readahead
|
||||||
.RI { ReadAheadSectors | auto | none }]
|
.RI { ReadAheadSectors | auto | none }]
|
||||||
.RB [ \-\-stripes \ \fIStripes
|
.RB [ \-\-stripes \ \fIStripes
|
||||||
@ -148,25 +148,25 @@ lvconvert \(em convert a logical volume from linear to mirror or snapshot
|
|||||||
.RB [ \-\-version ]
|
.RB [ \-\-version ]
|
||||||
.RI [[ ExternalOrigin | ThinPool ] LogicalVolume { Name | Path }]
|
.RI [[ ExternalOrigin | ThinPool ] LogicalVolume { Name | Path }]
|
||||||
.RI [ PhysicalVolume [ Path ][ :PE
|
.RI [ PhysicalVolume [ Path ][ :PE
|
||||||
.RI [ \-PE ]]...]
|
.RI [ \-PE ]]\ \.\|\.\|\.
|
||||||
.sp
|
.sp
|
||||||
.B lvconvert
|
.B lvconvert
|
||||||
.RB [ \-\-type
|
.B \-\-type
|
||||||
.BR \fIcache [ \fI\-pool ]| \-H | \-\-cache ]
|
.BR \fIcache [ \fI\-pool ]| \-H | \-\-cache
|
||||||
.RB [{ \-\-cachepool
|
.RB [ \-\-cachepool
|
||||||
.IR CachePoolLogicalVolume { Name | Path }]
|
.IR CachePoolLogicalVolume { Name | Path }
|
||||||
|
|
|
|
||||||
.B \-\-pooldatasize
|
.B \-\-pooldatasize
|
||||||
.IR CachePoolMetadataSize [ bBsSkKmMgGtTpPeE ]}]
|
.IR CachePoolMetadataSize [ bBsSkKmMgGtTpPeE ]]
|
||||||
.RB [ \-c | \-\-chunksize
|
.RB [ \-c | \-\-chunksize
|
||||||
.IR ChunkSize [ bBsSkKmMgG ]]
|
.IR ChunkSize [ bBsSkKmMgG ]]
|
||||||
.RB [ \-\-cachemode
|
.RB [ \-\-cachemode
|
||||||
.RI { writeback | writethrough }]
|
.RI { writeback | writethrough }]
|
||||||
.RB [{ \-\-poolmetadata
|
.RB [ \-\-poolmetadata
|
||||||
.IR CachePoolMetadataLogicalVolume { Name | Path }
|
.IR CachePoolMetadataLogicalVolume { Name | Path }
|
||||||
|
|
|
|
||||||
.B \-\-poolmetadatasize
|
.B \-\-poolmetadatasize
|
||||||
.IR CachePoolMetadataSize [ bBsSkKmMgG ]}]
|
.IR CachePoolMetadataSize [ bBsSkKmMgG ]]
|
||||||
.RB [ \-\-poolmetadataspare
|
.RB [ \-\-poolmetadataspare
|
||||||
.RI { y | n }]
|
.RI { y | n }]
|
||||||
.RB [ \-\-commandprofile
|
.RB [ \-\-commandprofile
|
||||||
|
50
man/lvm.8.in
50
man/lvm.8.in
@ -308,36 +308,12 @@ A short form of \fB\-\-metadataprofile\fP for \fBvgcreate\fP, \fBlvcreate\fP,
|
|||||||
for any other command (with the exception of \fBdumpconfig\fP command where the
|
for any other command (with the exception of \fBdumpconfig\fP command where the
|
||||||
\-\-profile has special meaning, see \fBlvm dumpconfig\fP(8) for more information).
|
\-\-profile has special meaning, see \fBlvm dumpconfig\fP(8) for more information).
|
||||||
.TP
|
.TP
|
||||||
.IR \fB\-\-config \ ConfigurationString
|
.IR \fB\-\-config " " \fIConfigurationString
|
||||||
Uses the ConfigurationString as direct string representation of the configuration
|
Uses the ConfigurationString as direct string representation of the configuration
|
||||||
to override the existing configuration. The ConfigurationString is of exactly
|
to override the existing configuration. The ConfigurationString is of exactly
|
||||||
the same format as used in any LVM configuration file. See \fBlvm.conf\fP(5)
|
the same format as used in any LVM configuration file. See \fBlvm.conf\fP(5)
|
||||||
for more information about \fBdirect config override on command line\fP and the
|
for more information about \fBdirect config override on command line\fP and the
|
||||||
way it fits with other LVM configuration methods.
|
way it fits with other LVM configuration methods.
|
||||||
.SH ENVIRONMENT VARIABLES
|
|
||||||
.TP
|
|
||||||
.B HOME
|
|
||||||
Directory containing \fI.lvm_history\fP if the internal readline
|
|
||||||
shell is invoked.
|
|
||||||
.TP
|
|
||||||
.B LVM_SYSTEM_DIR
|
|
||||||
Directory containing \fBlvm.conf\fP(5) and other LVM system files.
|
|
||||||
Defaults to "#DEFAULT_SYS_DIR#".
|
|
||||||
.TP
|
|
||||||
.B LVM_SUPPRESS_FD_WARNINGS
|
|
||||||
Suppress warnings about openned file descriptors, when lvm command
|
|
||||||
is executed.
|
|
||||||
.TP
|
|
||||||
.B LVM_VG_NAME
|
|
||||||
The Volume Group name that is assumed for
|
|
||||||
any reference to a Logical Volume that doesn't specify a path.
|
|
||||||
Not set by default.
|
|
||||||
.TP
|
|
||||||
.B LVM_LVMETAD_PIDFILE
|
|
||||||
Path for the lvmetad pid file.
|
|
||||||
.TP
|
|
||||||
.B LVM_LVMETAD_SOCKET
|
|
||||||
Path for the lvmetad socket file.
|
|
||||||
.SH VALID NAMES
|
.SH VALID NAMES
|
||||||
The valid characters for VG and LV names are:
|
The valid characters for VG and LV names are:
|
||||||
.B a-z A-Z 0-9 + _ . -
|
.B a-z A-Z 0-9 + _ . -
|
||||||
@ -498,6 +474,30 @@ For scalar types: number (integer), size (floating point number with size unit s
|
|||||||
|
|
||||||
.SH DIAGNOSTICS
|
.SH DIAGNOSTICS
|
||||||
All tools return a status code of zero on success or non-zero on failure.
|
All tools return a status code of zero on success or non-zero on failure.
|
||||||
|
.SH ENVIRONMENT VARIABLES
|
||||||
|
.TP
|
||||||
|
.B HOME
|
||||||
|
Directory containing \fI.lvm_history\fP if the internal readline
|
||||||
|
shell is invoked.
|
||||||
|
.TP
|
||||||
|
.B LVM_SYSTEM_DIR
|
||||||
|
Directory containing \fBlvm.conf\fP(5) and other LVM system files.
|
||||||
|
Defaults to "#DEFAULT_SYS_DIR#".
|
||||||
|
.TP
|
||||||
|
.B LVM_SUPPRESS_FD_WARNINGS
|
||||||
|
Suppress warnings about openned file descriptors, when lvm command
|
||||||
|
is executed.
|
||||||
|
.TP
|
||||||
|
.B LVM_VG_NAME
|
||||||
|
The Volume Group name that is assumed for
|
||||||
|
any reference to a Logical Volume that doesn't specify a path.
|
||||||
|
Not set by default.
|
||||||
|
.TP
|
||||||
|
.B LVM_LVMETAD_PIDFILE
|
||||||
|
Path for the lvmetad pid file.
|
||||||
|
.TP
|
||||||
|
.B LVM_LVMETAD_SOCKET
|
||||||
|
Path for the lvmetad socket file.
|
||||||
.SH FILES
|
.SH FILES
|
||||||
.I #DEFAULT_SYS_DIR#/lvm.conf
|
.I #DEFAULT_SYS_DIR#/lvm.conf
|
||||||
.br
|
.br
|
||||||
|
Loading…
Reference in New Issue
Block a user