A state module to manage LVMs
/dev/sda:
lvm.pv_present
my_vg:
lvm.vg_present:
- devices: /dev/sda
lvroot:
lvm.lv_present:
- vgname: my_vg
- size: 10G
- stripes: 5
- stripesize: 8K
salt.states.lvm.
lv_absent
(name, vgname=None)¶Remove a given existing logical volume from a named existing volume group
salt.states.lvm.
lv_present
(name, vgname=None, size=None, extents=None, snapshot=None, pv='', **kwargs)¶Create a new logical volume
linux_lvm
for more details.salt.states.lvm.
pv_absent
(name)¶Ensure that a Physical Device is not being used by lvm
salt.states.lvm.
pv_present
(name, **kwargs)¶Set a physical device to be used as an LVM physical volume
linux_lvm
for more details.salt.states.lvm.
vg_absent
(name)¶Remove an LVM volume group