summaryrefslogtreecommitdiff
path: root/vmdb/plugins/lvcreate.mdwn
blob: fcb350d0c73ceb2f8410e9e9d2fb508ccc5442c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Step: lvcreate
-----------------------------------------------------------------------------

Create an LVM2 logical volume (LV) in an existing volume group.

Step keys:

* `lvcreate` — REQUIRED; value is the tag for the volume group.

* `name` — REQUIRED; tag for the new LV block device.

* `size` — REQUIRED; size of the new LV.

Example (in the .vmdb file):

    - lvcreate: rootvg
      name: rootfs
      size: 1G