csi-driver-lvm icon indicating copy to clipboard operation
csi-driver-lvm copied to clipboard

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

Open 404notfoundhard opened this issue 1 year ago • 2 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

404notfoundhard avatar Feb 27 '23 09:02 404notfoundhard

Modifying the host from outside kubernetes is strictly discouraged.

majst01 avatar Feb 27 '23 10:02 majst01

Modifying the host from outside kubernetes is strictly discouraged.

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

404notfoundhard avatar Mar 01 '23 08:03 404notfoundhard