On 08/09/2017 04:02 PM, Gordon Messmer wrote:
> On 08/09/2017 02:27 PM, Rick Stevens wrote:
>> Right below those "part" definitions, you see "raid" definitions where
>> those labels are normally used. In your case,
>>     raid / --device=root --fstype=ext4 --level=raid1 --useexisting
>> tells the system to use the first two devices in the "part" section
>> (/dev/sda1 and /dev/sdb1) as a RAID1, format it as ext4 and mount it at
>> "/". Since no partitions are specified, it uses the first two in the
>> "part" section.
> Is that documented somewhere?  I've never seen that behavior described
> in the kickstart documentation, and I was curious enough to test it.  If
> I provide a "raid" specification with no partitions, installation of
> CentOS fails with an error that reads "Partitions required for raid".

You have to have at least two "part raid.somenumber" lines to create a
RAID1, and a "raid" line to define the type of RAID, filesystem type
and mountpoint.

> I didn't test Fedora, but the documentation for the "raid" command in
> both appears to be the same.

Have a look at:


(that URL is all one line, your mail client may wrap it).

Scroll down to the "part" section and also the "raid" section. For a
more advanced example:


(again, all one line)
- Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-                 IGNORE that man behind the keyboard!               -
-                                                - The Wizard of OS  -
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to