Re: error in kickstart file for raid1 setup

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



On Thu, 7 Jun 2007, Dave wrote:

Hello,
I'm trying to do a kickstart install of centos5. I'm pulling it off a network server and i'm getting an error, in the parsing of the file. It refers to line 31, i'm not going to show the complete file, but here is the indicated line:
raid swap --fstype swap --level=RAID1 raid.4 raid.7

and the raid lines:
part raid.7 --size=512 --ondisk=hdb
part raid.4 --size=512 --ondisk=hda

My parse error message is:
"option --device is required"

This worked for me. It adds the --device option to each raid line.

part raid.01 --size=300  --ondisk=sda --asprimary
part raid.02 --size=300  --ondisk=sdb --asprimary
part raid.11 --size=1024 --ondisk=sda --asprimary
part raid.12 --size=1024 --ondisk=sdb --asprimary
part raid.21 --size=1    --ondisk=sda --asprimary --grow
part raid.22 --size=1    --ondisk=sdb --asprimary --grow
raid /boot --fstype ext3 --level=RAID1 --device=md0 raid.01 raid.02
raid swap  --fstype swap --level=RAID1 --device=md1 raid.11 raid.12
raid /     --fstype ext3 --level=RAID1 --device=md2 raid.21 raid.22

--
Paul Heinlein <> heinlein@xxxxxxxxxx <> http://www.madboa.com/
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[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