Re: Expanding a LUKS partition to a second drive.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/12/20 3:29 PM, Robert Nichols wrote:
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.

Sure, but "having multiple LUKS devices" vs "having one LUKS (logical) device managing multiple physical devices" are two completely different problems. Although I agree with you that having two LUKS encrypted PVs would solve this specific problem.

What I'm saying is that cryptsetup will not support managing multiple data devices. I'm inclined to add "ever" to last sentence, but I'm not upstream maintainer:)

O.

_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
https://www.saout.de/mailman/listinfo/dm-crypt




[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux