csi-lvm
csi-lvm copied to clipboard
volume group backup file must be persisted
By default lvm2 stores a copy of the metadata in /etc/lvm/backup, but this directory is ephemeral in our current setup. To solve this we must mount the hostpath /etc/lvm/backup
to the same location into the provisioner and reviver pod.
This enables us to repair a volume with corrupted metadata which might occur for whatever reason.