1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

man: lvmthin show the lvcreate -n option for pools

lvcreate of thin pools can now use '-n lv vg' like other lv types,
or it can name the new thin pool in the free arg as 'vg/lv', which
is not allowed with other lv types.
This commit is contained in:
David Teigland 2014-10-06 13:29:18 -05:00
parent 1115a9ea51
commit 902192abdc

View File

@ -989,16 +989,12 @@ rather than using lvconvert on existing LVs.
This one command creates a thin data LV, a thin metadata LV, This one command creates a thin data LV, a thin metadata LV,
and combines the two into a thin pool LV. and combines the two into a thin pool LV.
.B lvcreate \-\-type thin\-pool \-L LargeSize VG/ThinPoolLV .B lvcreate \-\-type thin\-pool \-L LargeSize \-n ThinPoolLV VG
./" FIXME: make this work
./" or using standard form of lvcreate:
./" .B lvcreate \-\-type thin\-pool \-L LargeSize \-n ThinPoolLV VG
.I Example .I Example
.br .br
.nf .nf
# lvcreate \-\-type thin\-pool \-L8M vg/pool0 # lvcreate \-\-type thin\-pool \-L8M -n pool0 vg
# lvs vg/pool0 # lvs vg/pool0
LV VG Attr LSize Pool Origin Data% LV VG Attr LSize Pool Origin Data%