Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need to create a kickstart configuration file for a server which has 2 raid groups: raid 1+0 and raid 5. /, /boot, swap and other partitions should be created on raid 1+0. Can you guys shed some light n it.

share|improve this question
Is the server going to be a file server, running SQL Server, etc? – jl. Jul 6 '10 at 13:09

1 Answer

AfaIk you need to specify cciss/c0d0 for the first raid on the first controler and cciss/c0d1 for the second raid on the first controler.

This is from one of my kickstart files:

bootloader --location=mbr --driveorder=cciss/c0d0 --append="rhgb quiet"
clearpart --linux --drives=cciss/c0d0
part /boot --fstype ext3 --size=100 --ondisk=cciss/c0d0
part pv.2 --size=0 --grow --ondisk=cciss/c0d0
volgroup VolGroup00 --pesize=32768 pv.2
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=1000 --grow --maxsize
=9984
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow --maxsize=30000

It creates a small boot partition and a partition for a physical volume, creates the physical volume, one volumegroup and the required logical volumes (I use LVM = Logical Volume Manager). The root filesystem consumes only 30 GB of the volumegroup.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.