Quote:
Originally Posted by jlinkels
My recommendation: set up one or two VMs, use a USB stick to create a RAID on two partitions on that USB, create LVM and do what you described in your post.
|
Thanks, jlink!
Yes -- I was thinking of something very similar to try. I have a spare computer at home in which I've completed a fresh CentOS 7 install on /dev/sda, then added /dev/sdb and /dev/sdc. Partitioned sdb and sdc - Created RAID1 array on them - and created logical volume on the raid array and mounted the filesystem.
I'll pull all the hard drives.
Make a new CentOS 7 install on the computer using another hard drive.
Poweroff.
Add the sdb and sdc hard drives.
Boot.
See if the fresh install recognizes the raid1 array, logical volume, and actually able to mount the filesystem.
Quote:
Originally Posted by jlinkels
My problem is mainly that I don't do these things often enough.
|
100% spot on --- and without spare hardware in the rack to test it out, any small change to a production environment feels like a horror film.
Quote:
Originally Posted by jlinkels
I take it your boot sector is not on LVM, and it might or might not be outside the RAID.
|
That's right. The server 1 /boot is a standard partition in raid 1 with xfs filesytem; not xfs on lvm.
Thanks again for the second set of eyes, it absolutely helps to check one's thinking and assumptions.