summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2011-11-08 12:12:31 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2011-11-08 12:12:31 +0000
commit485cac0e8699533f76c7fd6179144a7f6124c4bd (patch)
treeb88d98cbc72f5d833e5f09215629dcd2e432bb26 /man
parent44190723a8d64a8a020aca7fc883926360a482e4 (diff)
downloadlvm2-485cac0e8699533f76c7fd6179144a7f6124c4bd.tar.gz
lvm2-485cac0e8699533f76c7fd6179144a7f6124c4bd.tar.xz
lvm2-485cac0e8699533f76c7fd6179144a7f6124c4bd.zip
More lvcreate man updates
Use { Name | Path } consistently like elsewhere. Move --thin alphabetically before --type.
Diffstat (limited to 'man')
-rw-r--r--man/lvcreate.8.in45
1 files changed, 23 insertions, 22 deletions
diff --git a/man/lvcreate.8.in b/man/lvcreate.8.in
index ec869a14..5473b2ed 100644
--- a/man/lvcreate.8.in
+++ b/man/lvcreate.8.in
@@ -42,7 +42,7 @@ lvcreate \- create a logical volume in an existing volume group
.RB [ \-R | \-\-regionsize
.IR MirrorLogRegionSize ]]
.RB [ \-n | \-\-name
-.IR LogicalVolumeName [ Path ]]
+.IR LogicalVolume { Name | Path }]
.RB [ \-p | \-\-permission
.RI { r | rw }]
.RB [ \-r | \-\-readahead
@@ -53,7 +53,7 @@ lvcreate \- create a logical volume in an existing volume group
.RB [ \-v | \-\-verbose ]
.RB [ \-Z | \-\-zero
.RI { y | n }]
-.IR VolumeGroupName [ Path ]
+.IR VolumeGroup { Name | Path }
.RI [ PhysicalVolumePath [ :PE [ -PE ]]...]
.br
@@ -69,18 +69,18 @@ lvcreate \- create a logical volume in an existing volume group
.RB [ \-\-ignoremonitoring ]
.RB [ \-\-monitor " {" \fIy | \fIn }]
.RB [ \-n | \-\-name
-.IR SnapshotLogicalVolumeName [ Path ]]
+.IR SnapshotLogicalVolume { Name | Path }]
.BR \-s | \-\-snapshot
-.RI [ OriginalLogicalVolume [ Path ]
+.RI { OriginalLogicalVolume { Name | Path }
|
-.IR VolumeGroupName [ Path ]
+.IR VolumeGroup { Name | Path }
.BR \-V | \-\-virtualsize
-.IR VirtualSize [ bBsSkKmMgGtTpPeE ]]
+.IR VirtualSize [ bBsSkKmMgGtTpPeE ]}
.br
.B lvcreate
.BR \-T | \-\-thin
-.IR VolumeGroupName [ Path ][/ ThinPoolLogicalVolumeName
+.IR VolumeGroup { Name | Path }[/ ThinPoolLogicalVolumeName ]
.RB [{ \-l | \-\-extents
.IR LogicalExtentsNumber [ % { VG | FREE | ORIGIN }]
|
@@ -95,11 +95,11 @@ lvcreate \- create a logical volume in an existing volume group
.RB [ \-\-poolmetadatasize
.IR MetadataSize [ bBsSkKmMgG ]]]
.RB [ \-\-thinpool
-.IR ThinPoolLogicalVolumeName [ Path ]]
+.IR ThinPoolLogicalVolume { Name | Path }]
.RB [ \-V | \-\-virtualsize
.IR VirtualSize [ bBsSkKmMgGtTpPeE ]]
.RB [ \-n | \-\-name
-.IR ThinLogicalVolumeName [ Path ]]
+.IR ThinLogicalVolume { Name | Path }]
.br
.SH DESCRIPTION
@@ -206,7 +206,7 @@ will create a persistent log that is itself mirrored.
The optional argument --corelog is equivalent to --mirrorlog core.
.TP
-.BR \-n ", " \-\-name " " \fILogicalVolumeName
+.IR \fB\-n ", " \fB\-\-name " " LogicalVolume { Name | Path }
The name for the new logical volume.
.br
Without this option a default names of "lvol#" will be generated where
@@ -255,7 +255,9 @@ a suitable value automatically.
A mirror is divided into regions of this size (in MB), and the mirror log
uses this granularity to track which regions are in sync.
.TP
-.BR \-s ", " \-\-snapshot
+.IR \fB\-s ", " \fB\-\-snapshot " " OriginalLogicalVolume { Name | Path }
+.RI "| " VolumeGroup { Name | Path }
+
Create a snapshot logical volume (or snapshot) for an existing, so called
original logical volume (or origin).
Snapshots provide a 'frozen image' of the contents of the origin
@@ -275,16 +277,7 @@ allocate slightly more space than you actually need and monitor the
rate at which the snapshot data is growing so you can avoid running out
of space.
.TP
-.B \-\-type \fISegmentType
-Create a logical volume that uses the specified segment type
-(e.g. "raid5", "mirror", "snapshot", "thin", "thin_pool").
-Many segment types have a
-commandline switch alias that will enable their use (-s is an alias for
---type snapshot). However, this argument must be used when no existing
-commandline switch alias is available for the desired type, as is the case
-with "error", "zero", "raid1", "raid4", "raid5", or "raid6".
-.TP
-.IR \fB\-T ", " \fB\-\-thin ", " \fB\-\-thinpool " " ThinPoolLogicalVolumeName [ Path ]
+.IR \fB\-T ", " \fB\-\-thin ", " \fB\-\-thinpool " " ThinPoolLogicalVolume { Name | Path }
Creates thin pool or thin logical volume or both.
Specifying the optional argument --size will cause the creation of
the thin pool logical volume.
@@ -294,7 +287,15 @@ Specifying both arguments will cause the creation of both
thin pool and thin volume using this pool.
Requires device mapper kernel driver for thin provisioning
from kernel 3.2 or newer.
-
+.TP
+.B \-\-type \fISegmentType
+Create a logical volume that uses the specified segment type
+(e.g. "raid5", "mirror", "snapshot", "thin", "thin_pool").
+Many segment types have a
+commandline switch alias that will enable their use (-s is an alias for
+--type snapshot). However, this argument must be used when no existing
+commandline switch alias is available for the desired type, as is the case
+with "error", "zero", "raid1", "raid4", "raid5", or "raid6".
.TP
.IR \fB\-V ", " \fB\-\-virtualsize " " VirtualSize [ bBsSkKmMgGtTpPeE ]
Create a sparse device of the given size (in MB by default) using a snapshot