summaryrefslogtreecommitdiff
path: root/vmdb/plugins/lvscan.mdwn
blob: ff4304c6c0c120399988867d0bc1f8e273fb1f69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Step: lvscan
-----------------------------------------------------------------------------

Scans for existing LVM2 logical volumes (LVs) within a named volume group.
This is useful when using an existing image as input which has been
pre-populated with LVM logical volumes, allowing the volumes to be mounted.

Step keys:

* `lvscan` — REQUIRED; value is the name of the volume group containing
  the logical volumes.

* `tags` — REQUIRED; list of tags to apply to the discovered logical
  volumes. The tags must match names of volumes in the volume group. Volumes
  in the image which do not need to be mounted can be omitted from the tags
  list

Example (in the .vmdb file):

    - lvscan: the_volume_group
      tags:
        - lv_one
        - lv_two