File: vgcreate.mdwn

package info (click to toggle)
vmdb2 0.27%2Breally.0.26-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 704 kB
  • sloc: python: 2,365; sh: 207; makefile: 26
file content (22 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Step: vgcreate
-----------------------------------------------------------------------------

Create an LVM2 volume group (VG), and also initialise the physical
volumes for it.


Step keys:

* `vgcreate` — REQUIRED; value is the tag for the volume group.
  This gets initialised with `vgcreate`.

* `physical` — REQUIRED; list of tags for block devices
  (partitions) to use as physical volumes. These get initialised with
  `pvcreate`.

Example (in the .vmdb file):

    - vgcreate: rootvg
      physical:
      - my_partition
      - other_partition