Longhorn volume restoration has no relationship with
volumeMode
. It’s totally controlled by the PVC that is using the restored volume.
b
big-judge-33880
08/12/2022, 12:25 PM
I see. If I had a PVC with volumeMode: block, then delete that PVC with associated PV/volume, then restore the volume from backup, I get a longhorn volume with volumeMode: filesystem when I tell longhorn to create PVC/PV for that restored volume. There doesn’t appear to be a way to get longhorn to make that object volumeMode: block