From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11218 invoked by alias); 28 Oct 2011 20:33:51 -0000 Received: (qmail 11198 invoked by uid 9737); 28 Oct 2011 20:33:51 -0000 Date: Fri, 28 Oct 2011 20:33:00 -0000 Message-ID: <20111028203351.11196.qmail@sourceware.org> From: zkabelac@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/man lvcreate.8.in Mailing-List: contact lvm2-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: lvm2-cvs-owner@sourceware.org X-SW-Source: 2011-10/txt/msg00124.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: zkabelac@sourceware.org 2011-10-28 20:33:50 Modified files: man : lvcreate.8.in Log message: Thin option documentation Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/man/lvcreate.8.in.diff?cvsroot=lvm2&r1=1.26&r2=1.27 --- LVM2/man/lvcreate.8.in 2011/10/25 13:24:23 1.26 +++ LVM2/man/lvcreate.8.in 2011/10/28 20:33:50 1.27 @@ -80,19 +80,26 @@ .br .B lvcreate +.RB [ \-i | \-\-stripes +.IR Stripes +.RB [ \-I | \-\-stripesize +.IR StripeSize ]] .RB [ \-l | \-\-extents .IR LogicalExtentsNumber [ % { VG | FREE | ORIGIN }] | .BR \-L | \-\-size .IR LogicalVolumeSize [ bBsSkKmMgGtTpPeE ]] +.RB [ \-c | \-\-chunksize +.IR ChunkSize ] .RB [ \-V | \-\-virtualsize .IR VirtualSize ] .RB [ \-n | \-\-name .IR ThinLogicalVolumeName ] -.RB [ \-\-thinpool -.IR ThinPoolLogicalVolumeName ] -.B \-T -.IR VolumeGroupName [/ ThinPoolLogicalVolumeName ] +.RB [ \-T | \-\-thin +.IR VolumeGroupName [/ ThinPoolLogicalVolumeName +| +.B \-\-thinpool +.IR ThinPoolLogicalVolumeName ]] .br .SH DESCRIPTION @@ -269,11 +276,18 @@ commandline switch alias is available for the desired type, as is the case with "error", "zero", "raid1", "raid4", "raid5", or "raid6". .TP +.BR \-T ", " \-\-thin " " \fIVolumeGroupName [/ \fIThinPoolLogicalVolumeName ] +Defines the thin pool logical volume. +.TP +.BR \-\-thinpool " " \fIThinPoolLogicalVolumeName +Specifies the thin pool logical volume. +.TP .BR \-V ", " \-\-virtualsize " " \fIVirtualSize -Create a sparse device of the given size (in MB by default) using a snapshot. +Create a sparse device of the given size (in MB by default) using a snapshot +or thinly provisioned device when thin pool is specified. Anything written to the device will be returned when reading from it. Reading from other areas of the device will return blocks of zeros. -It is implemented by creating a hidden virtual device of the +Virtual snapshot is implemented by creating a hidden virtual device of the requested size using the zero target. A suffix of _vorigin is used for this device. .TP