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

m.roth at 5-cent.us m.roth at 5-cent.us
Wed Nov 25 15:33:00 UTC 2015


Fred Smith wrote:
> On Wed, Nov 18, 2015 at 09:49:43PM -0700, Devin Reade wrote:
>> --On Wednesday, November 18, 2015 11:07:12 PM -0500 Fred Smith
>> <fredex at fcshome.stoneham.ma.us> wrote:
<snip>
> I've been building C7 VMs with RAID-1 in Virtualbox these last couple
> of days, to pin down exactly how to do it. based on the link above,
> but I'm making "real" partitions instead of LVM.
>
> The current iteration seems to be running fine, but I had an odd problem
> when configuring the partitions: for two 10 gig virtual drives, it
> wouldn't let me use the last gig of space. or maybe it has some other
> issue on the max partition size,... 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??

Two thoughts: one, as Gordon suggested, it might be making a /boot
partition. The other thought is that it might be trying to align the
partition optimal. Still, that's usually 1M or 2M, not 1G.

Btw, when I manually create partitions, with parted, I use
mkpart pri 0.0GB 100% (for data drives). Assuming I've gone in with parted
-a opt, it does the right thing. Hope this gives you some ideas.

       mark




More information about the CentOS mailing list