metal-stack/csi-driver-lvm

/etc/lvm/archive not mapping, possible data loss

Closed this issue · 3 comments

Problem:
lost lvs in some situation.
someone has deployed a new pvc.
Now the data cannot be restored from /etc/lvm/backup

as far as I understand, lvs is created using job, but there is no mapping of archives to the host
https://github.com/metal-stack/csi-driver-lvm/blob/master/pkg/lvm/lvm.go#L363

Modifying the host from outside kubernetes is strictly discouraged.

Modifying the host from outside kubernetes is strictly discouraged.

Outside k8s? What about /etc/lvm/backup is it something else?

Added this to the host mounts now: metal-stack/helm-charts#104