Cookbooks
lvm
documentation
Lvm Physical Volume

lvm_physical_volume

Back to resource list

Manages LVM physical volumes.

Actions

ActionDescription
:create(default) Creates a new physical volume
:resizeResize an existing physical volume

Properties

NameTypeDefaultDescription
volume_nameStringname propertyThe device to create the new physical volume on
wipe_signaturestrue,falsefalseForce the creation of the Logical Volume, even if lvm detects existing PV signatures
ignore_skipped_clustertrue,falsefalseContinue execution even if lvm detects skipped clustered volume groups

Examples

lvm_physical_volume '/dev/sda'
 
lvm_physical_volume '/dev/sdb' do
  action :resize
end