1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00

Thin option documentation

This commit is contained in:
Zdenek Kabelac 2011-10-28 20:33:50 +00:00
parent 0968dfcd03
commit 620ff9e967

View File

@ -80,19 +80,26 @@ lvcreate \- create a logical volume in an existing volume group
.br .br
.B lvcreate .B lvcreate
.RB [ \-i | \-\-stripes
.IR Stripes
.RB [ \-I | \-\-stripesize
.IR StripeSize ]]
.RB [ \-l | \-\-extents .RB [ \-l | \-\-extents
.IR LogicalExtentsNumber [ % { VG | FREE | ORIGIN }] .IR LogicalExtentsNumber [ % { VG | FREE | ORIGIN }]
| |
.BR \-L | \-\-size .BR \-L | \-\-size
.IR LogicalVolumeSize [ bBsSkKmMgGtTpPeE ]] .IR LogicalVolumeSize [ bBsSkKmMgGtTpPeE ]]
.RB [ \-c | \-\-chunksize
.IR ChunkSize ]
.RB [ \-V | \-\-virtualsize .RB [ \-V | \-\-virtualsize
.IR VirtualSize ] .IR VirtualSize ]
.RB [ \-n | \-\-name .RB [ \-n | \-\-name
.IR ThinLogicalVolumeName ] .IR ThinLogicalVolumeName ]
.RB [ \-\-thinpool .RB [ \-T | \-\-thin
.IR ThinPoolLogicalVolumeName ] .IR VolumeGroupName [/ ThinPoolLogicalVolumeName
.B \-T |
.IR VolumeGroupName [/ ThinPoolLogicalVolumeName ] .B \-\-thinpool
.IR ThinPoolLogicalVolumeName ]]
.br .br
.SH DESCRIPTION .SH DESCRIPTION
@ -269,11 +276,18 @@ commandline switch alias that will enable their use (-s is an alias for
commandline switch alias is available for the desired type, as is the case commandline switch alias is available for the desired type, as is the case
with "error", "zero", "raid1", "raid4", "raid5", or "raid6". with "error", "zero", "raid1", "raid4", "raid5", or "raid6".
.TP .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 .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. Anything written to the device will be returned when reading from it.
Reading from other areas of the device will return blocks of zeros. 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 requested size using the zero target. A suffix of _vorigin is used for
this device. this device.
.TP .TP