Ok, here is the current situation: My machine has two identical 500Gb drives, and two identical 1Tb drives. When I first set it up, with just the 500Gb drives, I was using a version of Linux that wouldn’t boot from mirrored lvm partitions, so I set it up
- /dev/sda1 2Gb /boot
- /dev/sdb1 2Gb /
- /dev/sda2 2Gb swap
- /dev/sdb2 2Gb swap
- /dev/sda3 and /dev/sdb3 – turned to a mirror, /dev/md0 and then created a
pv and a vg.
That was working fine for a number of years, and then I added the two 1Tb drives, which I created as a mirror /dev/md1 and added it to the vg.
At this time, I have more more than 500Gb free space in the vg, so I definitely could pvmove and vgreduce and get rid of that. I’d also like to somehow fix it so that / and /boot and swap are on lv and just boot from the two 1Tb drives. The reason I’d like to do that is that
- a) It’s been bugging me for years that I’m still using physical partitions
for / and /boot, so I can’t resize them and - b) I have two 2Tb disks sitting on my desk that I’d like to add, and I
don’t think I have enough SATA ports for 6 disks and - c) these two 500Gb drives are ancient – they just hit their 5th birthday a
few weeks ago.
So would it be possible to migrate everything off of /dev/sda and /dev/sdb without major surgery? Or am I going to have to bite the bullet and re-install everything?