kickstart software raid on sata drives

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



Robin Mordasiewicz wrote:
> This is what I have for configuring software raid on sata drives in my 
> kickstart config
> 
> <snip kickstart.cfg>
> clearpart --initlabel --all
> part swap --size=2048 --ondisk=sdb
> part swap --size=2048 --ondisk=sda
> part raid.01 --size=101 --ondisk=sda
> part raid.02 --size=101 --ondisk=sdb
> part raid.04 --size=1 --grow --ondisk=sdb
> part raid.03 --size=1 --grow --ondisk=sda
> raid / --fstype ext3 --level=RAID1 raid.03 raid.04
> raid /boot --fstype ext3 --level=RAID1 raid.01 raid.02
> </snip>

You might as well as mirror your swap partition.

part raid.05 --size=4096 --ondisk=sda
part raid.06 --size=4096 --ondisk=sdb
raid swap --level=RAID1 raid.05 raid.06

[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