proxmox-storage-setup-lvmthin
Enabled KVM nested capability for hypervisor installs in VMs.
This task is injected in to a running workflow via the Stage proxmox-create-storage
.
You must set the Param proxmox/flexiflow-create-storage
to include this task
name for it to be added to the system. Note that this task is defined as the default
storage type to set up on the Proxmox node.
This Task creates the local-lvm
storage to an existing Proxmox VE server
if it doesn't yet exist.
The proxmox/storage-config
Param defines the configuration to use for all storage
types. However, two (DEPRECATED) legacy params can be used for backwards compatibily
configuration of this storage type. They are below.
The proxmox/storage-device
Param controls the Block device (disk) that will
be used to back the Virtual Machines on. It will take complete control of the
block device. By default it will usee /dev/sdb
if not otherwise specified.
The proxmox/storage-name
Param defines the LVM Volume name that will be set.
If the LVM Volume name exsts already, then the task will exit, assuming that
the Volume has already been setup for use previously.
An example proxmox/storage-config
configuration for this task:
proxmox/storage-config:
lvmthin:
local-lvm:
name: local-lvm
device: /dev/sdb
vgname: pve
thinpool: data
content: rootdir,images
size: 95%FREE
This creates 1 LVM Thinpool for storing different content types using the specified device and names. For documentation on configuration values, please see:
* <https://pve.proxmox.com/wiki/Storage>
Config values in YAML/JSON stanzas match the Proxmox configuration values.