File: lvcreate.mdwn

package info (click to toggle)
vmdb2 0.41-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 572 kB
  • sloc: python: 2,591; sh: 151; makefile: 17
file content (19 lines) | stat: -rw-r--r-- 518 bytes parent folder | download | duplicates (3)
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