[CentOS] C7: How to configure raid at install time

Wed Nov 25 17:09:54 UTC 2015
Fred Smith <fredex at fcshome.stoneham.ma.us>

On Tue, Nov 24, 2015 at 10:32:16PM -0800, Gordon Messmer wrote:
> On 11/24/2015 07:35 PM, Fred Smith wrote:
> >it seemed to max out at around 9900 MB. This for
> >sure won't do when I build it on real hardware, so I'm wondering if
> >anyone else here has a clue what's going on??
> 
> IIRC, Anaconda can't create "raid1" LVM volumes.  That is, you can't
> create LVs that are mirrored across multiple PVs.  You can create md
> RAID1 volumes and make a PV of the resulting RAID volume, though.
> 
> So I think what you're probably doing is creating 100MB /boot
> partition, and then two md RAID component partitions of 9900MB.

yeah, you're probably right. but for some reason, Anaconda is still
telling me there's a gigabyte of unused space remaining (105x megabytes
where i've forgotten what the "x" was.) Might that be because I
didn't put swap on both drives (and I think I set up swap as a gig)?

should I put swap on both drives? should it be RAID1 also, or just
two swap partitions not in any RAID volume?

(I remember seeing a somewhat technical article in the last couple
of  years that talked of a potential corruption issue if one puts
swap into a  Linux software RAID-1 volume, but no longer recall
the details.)

-- 
---- Fred Smith -- fredex at fcshome.stoneham.ma.us -----------------------------
                    The Lord detests the way of the wicked 
                  but he loves those who pursue righteousness.
----------------------------- Proverbs 15:9 (niv) -----------------------------