stratisd icon indicating copy to clipboard operation
stratisd copied to clipboard

Make Stratis metadata relocatable

Open mulkieran opened this issue 5 years ago • 2 comments

We need the ability to write the data to arbitrarily chosen locations on a device, for backup or for other uses. Right now, the metadata is implicitly offset from 0. Change that by parameterizing the appropriate methods on an offset.

mulkieran avatar Feb 25 '20 14:02 mulkieran

We have other more pressing metadata tasks. This will go on a board when we need it.

mulkieran avatar Nov 25 '20 23:11 mulkieran

I'm actually interested in reviving this one. My current thoughts are that if we can find a way to do this, this would allow adding support for initializing the Stratis metadata with room for a LUKS2 header and then converting the pool to an encrypted pool at a later time.

Considerations for this include how we would have to modify blkid to detect the superblock if it is at an offset. We need to make sure that superblocks at an offset would still be picked up by blkid.

jbaublitz avatar Jul 19 '22 16:07 jbaublitz