Re: CentOS 7 install on one RAID 1 [SOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, January 24, 2017 1:10 pm, m.roth@xxxxxxxxx wrote:
> Gordon Messmer wrote:
>> On 01/24/2017 08:33 AM, m.roth@xxxxxxxxx wrote:
>>>     I'm building a new box, and I want three partitions - /boot, /, and
>>> swap, on*one*  RAID 1, not three separate partitions. Other than
>>> <alt-f2> mdadm...,*is*  there any way in the graphical installer to do
>>> this? All I see is a way to make three separate partitions.
>>
> If that wasn't clear, I meant to make the two drives into a single RAID 1,
> *then* partition that for root, swap, and boot.
>>
>> I don't know the answer to that question, but what I can tell you is
>> that I handle software RAID setup in kickstart, creating the partitions
>> manually, so that I can replace drives using a shell script.  Making the
> <snip>
> Trouble is, it's for this one box. Next box, or the one after, will be
> happy with the kickstart as it is.
>
> The solved part: I did the <alt-F2> and created the RAID 1.

The trouble is: this will be not part of your /root/initial-setup-ks.cfg
file after installation completes. That means, you will have to do that
part (which basically makes drives members of software RAID - mirror)
before kickstart installation on each box. Or you may need to add this
part at the very top of your kickstart file, followed by something like

 mdadm --assemble --scan

- I'm not certain though to what extent it is doable. I'm a "hardware
RAID" guy...

Valeri

> I went back to
> the GUI, and tried to rescan... it didn't find it, didn't show any drives,
> then it showed the two real drives... then it gagged, and crashed, and
> rebooted. HOWEVER, when I tried the next time, anaconda's probing found
> the RAID, and I'm installing now.
>
> *phew*
>
>          mark
>
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos
>


++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux