Lvcreate: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 20: Line 20:


<pre>
<pre>
lvcreate -y --type thin-pool --zero n $CHUNK_SIZE_ARG --poolmetadatasize ${META_SIZE}s $DATA_SIZE_ARG -n $POOL_LV_NAME docker_vg
lvcreate -y --type thin-pool --zero n --chunksize $CHUNK_SIZE_ARG --poolmetadatasize ${META_SIZE}s $DATA_SIZE_ARG -n $POOL_LV_NAME docker_vg
</pre>
</pre>

Revision as of 05:07, 23 May 2017

Internal

Options

--type

The segment type for the logical volume:

  • linear
  • striped
  • thin-pool
  • thin
  • snapshot

For more details, see:

Logical Volume Types

Create a Thin Pool Logical Volume

lvcreate -y --type thin-pool --zero n --chunksize $CHUNK_SIZE_ARG --poolmetadatasize ${META_SIZE}s $DATA_SIZE_ARG -n $POOL_LV_NAME docker_vg