1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-10-09 23:33:17 +03:00

man: lvmthin updates

Some minor changes to some of the command syntaxes
to use more standard forms.
This commit is contained in:
David Teigland
2017-01-16 16:26:14 -06:00
parent 4bafe21f2a
commit c062fb0c11

View File

@@ -157,17 +157,17 @@ The --thinpool argument specifies which thin pool will
contain the ThinLV. contain the ThinLV.
.fi .fi
.B lvcreate \-n ThinLV \-V VirtualSize \-\-thinpool VG/ThinPoolLV .B lvcreate \-n ThinLV \-V VirtualSize \-\-thinpool ThinPoolLV VG
.I Example .I Example
.br .br
Create a thin LV in a thin pool: Create a thin LV in a thin pool:
.br .br
# lvcreate \-n thin1 \-V 1T \-\-thinpool vg/pool0 # lvcreate \-n thin1 \-V 1T \-\-thinpool pool0 vg
Create another thin LV in the same thin pool: Create another thin LV in the same thin pool:
.br .br
# lvcreate \-n thin2 \-V 1T \-\-thinpool vg/pool0 # lvcreate \-n thin2 \-V 1T \-\-thinpool pool0 vg
# lvs vg/thin1 vg/thin2 # lvs vg/thin1 vg/thin2
LV VG Attr LSize Pool Origin Data% LV VG Attr LSize Pool Origin Data%
@@ -184,9 +184,9 @@ when creating a thin snapshot.
.br .br
A size argument will cause an old COW snapshot to be created. A size argument will cause an old COW snapshot to be created.
.B lvcreate \-n SnapLV \-s VG/ThinLV .B lvcreate \-n SnapLV \-\-snapshot VG/ThinLV
.br .br
.B lvcreate \-n SnapLV \-s VG/PrevSnapLV .B lvcreate \-n SnapLV \-\-snapshot VG/PrevSnapLV
.I Example .I Example
.br .br
@@ -286,15 +286,12 @@ The fully specified syntax for creating a thin pool LV shown above is:
.B lvconvert \-\-type thin-pool \-\-poolmetadata VG/ThinMetaLV VG/ThinDataLV .B lvconvert \-\-type thin-pool \-\-poolmetadata VG/ThinMetaLV VG/ThinDataLV
An existing LV is converted to a thin pool by changing its type to An alternate syntax may be used for the same operation:
thin-pool. An alternate syntax may be used for the same operation:
.B lvconvert \-\-thinpool VG/ThinDataLV \-\-poolmetadata VG/ThinMetaLV .B lvconvert \-\-thinpool VG/ThinDataLV \-\-poolmetadata VG/ThinMetaLV
The thin-pool type is inferred by lvm; the --thinpool option is not an The thin-pool type is inferred by lvm; the \-\-thinpool option is not an
alias for --type thin-pool. The use of the --thinpool option here is alias for \-\-type thin\-pool.
different from the use of the --thinpool option when creating a thin LV,
where it specifies the pool in which the thin LV is created.
.SS Automatic pool metadata LV .SS Automatic pool metadata LV
@@ -1234,7 +1231,7 @@ and creates a thin LV in the new pool.
.br .br
\-V VirtualSize specifies the virtual size of the thin LV. \-V VirtualSize specifies the virtual size of the thin LV.
.B lvcreate \-V VirtualSize \-L LargeSize .B lvcreate \-\-type thin \-V VirtualSize \-L LargeSize
.RS .RS
.B \-n ThinLV \-\-thinpool VG/ThinPoolLV .B \-n ThinLV \-\-thinpool VG/ThinPoolLV
.RE .RE