On 2/12/20 4:45 AM, Ondrej Kozina wrote:
On 2/11/20 8:21 PM, James Dehnert wrote:
I'm not sure where the LUKS volume is created in respect to LVM. I can't tell if its created directly on the physical volume, on the volume group, or on the logical volume, so I'm noy sure where I should be looking to expand the substrate. Or if this is even possible.
See lsblk output with said active LUKS device. That should give you a hint.
If the PV is encrypted (LUKS on top of /dev/sdx and PV on top of LUKS) there's no way how to extend one LUKS device over two devices or partitions. We don't want cryptsetup to became yet another logical volume management:)
True, but it's simple enough to create a second LUKS volume and extend an existing LVM VG into that LUKS volume.
The output from "lsblk -f" would be most helpful here.
The real problem comes when there is currently no LVM involved at all. Converting an existing system to LVM is a fairly convoluted process where the slightest error can be unrecoverable.
--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
https://www.saout.de/mailman/listinfo/dm-crypt