blob: 02891b0c154a9ec01bc8d9c1f0243c21f4931c58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
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.
Please see the kpartx plugin documentation for further details on passing an
existing image to `vmdb2`. This plugin adds LVM support to that use-case.
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
|