metal-stack / csi-driver-lvm

MIT License
120 stars 25 forks source link

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

Open 404notfoundhard opened 1 year ago

404notfoundhard commented 1 year ago

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

majst01 commented 1 year ago

Modifying the host from outside kubernetes is strictly discouraged.

404notfoundhard commented 1 year ago

Modifying the host from outside kubernetes is strictly discouraged.

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