Expanding a LUKS partition to a second drive.

James Dehnert <[email protected]>
Newsgroups gmane.linux.kernel.device-mapper.dm-crypt
Message-ID <CAE3N1D+_pZNQGwi8O4dP3c_Hv8PMGkqYHieqTsrfXEi0d1_HGQ@mail.gmail.com>
Greetings dm-crypt group,

I have a situation where I have an existing LUKS encrypted partition (root)
and the user wants to expand that partition onto a second drive.

The existing partition was created at configuration as part of the Ubuntu
preseed setup.

I know how to do this with LVM, but I'm not sure if this can be done
without backing up all the data, and then rebuilding the system from
scratch.

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.

Any assistance would be greatly appreciated, even if its just "It can't be
done".

—
Thanks,    James "Zeke" Dehnert

  Zeke Dehnert
  Senior Linux IT Engineer
  Cruise LLC
  [email protected]

-- 


*Confidentiality Note:* We care about protecting our proprietary 
information, confidential material, and trade secrets. This message may 
contain some or all of those things. Cruise will suffer material harm if 
anyone other than the intended recipient disseminates or takes any action 
based on this message. If you have received this message (including any 
attachments) in error, please delete it immediately and notify the sender 
promptly.

_______________________________________________
dm-crypt mailing list
[email protected]
https://www.saout.de/mailman/listinfo/dm-crypt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.