Hey,

We're rebuilding some servers which have some encrypted LVs using luks
for storing data. I would really like to preserve these LVs over the
rebuild without needing to modify the disk_configs and deploying my own
fstab files.

I have tried setting preserve_lazy for them, but when I test this, the
encrypted volumes are recreated. Looking in Volumes.pm I found this:

    } elsif ($config eq "CRYPT") {
      # We don't do preserve for encrypted partitions
      next;

Which is probably what I'm running into.

It would be really nice if we could preserve encrypted LVs. I'm already
copying the keys back into place, and the partitions don't need to be
mounted for the build phase.

Is the reason that setup-storage can't just leave these volumes alone
if they already exist?

Cheers,
Andrew

-- 
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz         |
Catalyst Cloud:           | This space intentionally left blank
 https://catalystcloud.nz |


Reply via email to