summaryrefslogtreecommitdiff
path: root/vmdb/plugins/lvcreate.mdwn
blob: e1aca3a0b31a10ea41a4ef0771f98dd551f750cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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. The special value `fill` will
  make the volume use all of the available space.

Example (in the .vmdb file):

    - lvcreate: rootvg
      name: rootfs
      size: 1G