summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2019-01-28 21:39:40 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2019-01-28 22:39:10 +0100
commitcb90606c8338617d7ae3d13b5c5e381def030ff7 (patch)
tree63e6e4caac0332cb86dc5980fd74c19c2253be88
parent59b87cf7d67613d82e8dff7eb10f3c6ceaea0124 (diff)
downloadlvm2-cb90606c8338617d7ae3d13b5c5e381def030ff7.tar.gz
vdo: add some basic example
-rw-r--r--man/lvcreate.8_end8
1 files changed, 8 insertions, 0 deletions
diff --git a/man/lvcreate.8_end b/man/lvcreate.8_end
index 2770f62a8..19e24610a 100644
--- a/man/lvcreate.8_end
+++ b/man/lvcreate.8_end
@@ -64,6 +64,10 @@ to the first image).
.br
.B lvcreate --type raid10 -L 5G -i 2 -m 1 -n mylv vg00
+Create a 1TiB thin LV mythin, with 256GiB thinpool tpool0 in vg00.
+.br
+.B lvcreate --T --size 256G --name mythin vg00/tpool0
+
Create a 1TiB thin LV, first creating a new thin pool for it, where
the thin pool has 100MiB of space, uses 2 stripes, has a 64KiB stripe
size, and 256KiB chunk size.
@@ -95,3 +99,7 @@ then combining the new origin LV with an existing cache pool.
.RS
.B -L 100G -n mylv vg00 /dev/slow1
.RE
+
+Create a VDO LV vdo0 with VDOPoolLV size of 10GiB and name vpool1.
+.br
+.B lvcreate --vdo --size 10G --name vdo0 vg00/vpool1