Re: Installing F26; Question about ks.cfg when raid1 is used

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

 



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:

	https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/sect-kickstart-syntax.html

(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:

	https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/sect-kickstart-examples.html#sect-kickstart-partitioning-example

(again, all one line)
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-                 IGNORE that man behind the keyboard!               -
-                                                - The Wizard of OS  -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux