So the deal is that I have:
/dev/sda: Existing 1TB HDD, Fedora 24, with a PG, VG, and LVs for
/, and swap (hereafter referred to as
/dev/sdb: Brand new 120 GB SSD coming in the mail.
What I want to do in a nutshell is to install Fedora 24 on
/dev/sdb and take
/dev/sda and make it one big LV mounted at
/media within the new OS. I need to do so without losing my data in
sda and would rather not have to copy everything to an external HD or something like that. Specifically, I imagine I would:
- Install Fedora 24 on
lv_hometo use up the freed space.
/dev/sdainto the new VG created on
What would the LVM dance for accomplishing this look like? I suppose my main concern: once I mount
/media in Step 2, would I still be able to use all the LVM tools (
vgmerge, etc) to manage
/dev/sda? For example, would something like this work: