Skip to contentSkip to conversation

master - man: lvmthin show the lvcreate -n option for pools

PATCH David Teigland 1 participant 1 message Oct 6, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=902192abdc3bc8cf17c89b14db4496476e7fa73c
Commit:        902192abdc3bc8cf17c89b14db4496476e7fa73c
Parent:        1115a9ea51a3302ede188073f94a42f4b38867da
Author:        David Teigland <[email protected]>
AuthorDate:    Mon Oct 6 13:29:18 2014 -0500
Committer:     David Teigland <[email protected]>
CommitterDate: Mon Oct 6 13:29:18 2014 -0500

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.

---
 man/lvmthin.7.in |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
man/lvmthin.7.in +2 -6
index 8009a9e..84a3138 100644
@@ -989,16 +989,12 @@ rather than using lvconvert on existing LVs.
 This one command creates a thin data LV, a thin metadata LV,
 and combines the two into a thin pool LV.
 
-.B lvcreate \-\-type thin\-pool \-L LargeSize VG/ThinPoolLV
-
-./" FIXME: make this work
-./" or using standard form of lvcreate:
-./" .B lvcreate \-\-type thin\-pool \-L LargeSize \-n ThinPoolLV VG
+.B lvcreate \-\-type thin\-pool \-L LargeSize \-n ThinPoolLV VG
 
 .I Example
 .br
 .nf
-# lvcreate \-\-type thin\-pool \-L8M vg/pool0
+# lvcreate \-\-type thin\-pool \-L8M -n pool0 vg
 
 # lvs vg/pool0
   LV    VG  Attr       LSize Pool Origin Data%