Software Raid through kickstart

Nauman Yousuf nauman.yousuf at gmail.com
Mon Apr 10 21:56:40 UTC 2006


here is my ks.cfg . I dont under why i use /boot as raid and if i add
new disk would this boot be recover automatically my adadm or not.
onne more thing i need your guidness
i dont need swap as raid b/c it slows down my speed . Now i am doing
swap on 1 disk and /sw as ext3 of same partition on sdb . now if disk
1 goes down i dont have swap on 2 disk . how i add that i need it to
automate . secondly when i add new disk i copy 2 disk partiotions to
new disk so i need swap to their . any solution is greatly
appriciated.
i dont want swap as raid.


install
cdrom
lang en_US.UTF-8
langsupport --default=en_US.UTF-8 en_US.UTF-8
keyboard us
xconfig --card "VESA driver (generic)" --videoram 7872 --hsync 32-60
--vsync 57-85 --resolution 800x600 --depth 16 --startx
onboot  --defaultdesktop gnome
network --device eth0 --bootproto dhcp
rootpw --iscrypted $1$LSN6y60M$2Hbmw61n99GQsf.YsxXkp0
firewall --enabled --port=22:tcp --port=80:tcp --port=21:tcp
--port=25:tcp
selinux --enforcing
authconfig --enableshadow --enablemd5
timezone Asia/Karachi
bootloader --location=partition --append="rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --all
part /boot --fstype "ext3" --size=500 --ondisk=sda
part raid.28 --size=20000 --ondisk=sdb
part raid.25 --size=20000 --ondisk=sda
part raid.19 --size=20000 --ondisk=sdb
part raid.17 --size=20000 --ondisk=sda
part raid.37 --size=10000 --ondisk=sdb
part raid.34 --size=10000 --ondisk=sda
part raid.15 --size=10000 --ondisk=sdb
part raid.14 --size=10000 --ondisk=sda
part raid.12 --size=2000 --ondisk=sdb
part raid.11 --size=2000 --ondisk=sda
part /boot1 --fstype "ext3" --size=500 --ondisk=sdb --asprimary
part raid.46 --size=100 --grow --ondisk=sdb
part raid.43 --size=100 --grow --ondisk=sda
raid swap --fstype swap --level=RAID1 raid.11 raid.12
raid /oracle --fstype ext3 --level=RAID1 raid.14 raid.15
raid /oradata --fstype ext3 --level=RAID1 raid.17 raid.19
raid /u --fstype ext3 --level=RAID1 raid.25 raid.28
raid /v --fstype ext3 --level=RAID1 raid.34 raid.37
raid / --fstype ext3 --level=RAID1 raid.43 raid.46

%packages
@ admin-tools
@ text-internet
@ gnome-desktop
@ dialup
@ smb-server
@ base-x
@ web-server
@ printing
@ server-cfg
mdadm
grub
kernel-smp
e2fsprogs

%post
dd if=/dev/sda1 of=/dev/sdb1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20060411/826f6a5f/attachment.htm>


More information about the Kickstart-list mailing list