Re: sw raid and premade partitions

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

 



I just did this over the weekend to update our default install to Red Hat 7.1 (something I had been dreading, because we have a pretty complicated installation defined in our ks.cfg files). It 'just worked' for me, but here are the relevant lines from my ks.cfg:

--

clearpart --all

part raid.01 --size 96 --ondisk sda --onprimary=1
part raid.02 --size 96 --ondisk sdb --onprimary=1
part swap --size 127 --ondisk sda
part swap --size 127 --ondisk sdb
part raid.11 --size 1536 --ondisk sda
part raid.12 --size 1536 --ondisk sdb
part raid.21 --size 5000 --ondisk sda
part raid.22 --size 5000 --ondisk sdb
part /cache0 --size 8000 --grow --ondisk sda
part /cache1 --size 8000 --grow --ondisk sdb

raid /boot --level 1 --device md0 raid.01 raid.02
raid / --level 1 --device md1 raid.11 raid.12
raid /var --level 1 --device md2 raid.21 raid.22

--

I was very impressed by how easy it was. This is the first use of automatic mirroring we've used in our default installs, and I was afraid I might have some troubles (Kickstart being what it is and all ;-), but it was quick and entirely painless. Kudos to the folks at Red Hat for finally getting kickstart right (ok, the error handling is still sadly disappointing).

Note that I did have to manually force the /boot partition onto primary 1, because of, I assume the same reason you're trying to do it. I couldn't boot the system after an install without it. I guess the installer still isn't quite smart enough to recognize that a raid partition is going to be a /boot partition.


----- Original Message -----
From: "Steve M Bibayoff" <smb23@xxxxxxxxxxxxx>
To: "kickstart list" <kickstart-list@xxxxxxxxxx>
Sent: Monday, June 18, 2001 3:15 PM
Subject: sw raid and premade partitions



Has anyone ever been successful in putting together a ks.cfg file to
install RH on a predefined partition scheme? with RAID?

What I'm trying to do is get / and /boot on primary partitions using
RAID 1 to mirror the whole disk. I have tried pre-partition the disk,
but keep getting "Value Error: unknown raid device raid.01". This is
with trying to use --onpart sd[a-b][2-9].

I've then tried to use --size --onpdisk --onprimary.

Then --size --ondisk --asprimary (what is the difference between --
onprimary and --asprimary any way?)
This drops me into a diskdruid screen, which I can't proceed any
further trying to set up raid (Or at least from what I've tried).

Has anybody been successful in this endenvear, forcing / and another
partition to be a primary, while also setting up RAID 1? If yes, could
you post your ks.cfg file.

Also if anybody has any ideas on things to try, it would be greatly
appreciated.

TIA

Steve



                                  --
                     Joe Cooper <joe@xxxxxxxxxxxxx>
                 Affordable Web Caching Proxy Appliances
                        http://www.swelltech.com





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux