Error with kickstart and raid

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

 



Hi all,

we use a custom layout in ks preinstall script

---
clearpart --all --initlabel
part raid.01 --ondisk hdb --size=... --asprimary part raid.02 --ondisk
hdb --size=... --asprimary part raid.03 --ondisk hdb --size=...
part raid.04 --ondisk hdb --size=...
part swap --ondisk hdb --size
part /data/data1 --ondisk hdb --asprimary --size 1 --grow --fstype=ext3
part raid.11 --ondisk hdc --size=... --asprimary part raid.12 --ondisk
hdc --size=... --asprimary part raid.13 --ondisk hdc --size=...
part raid.14 --ondisk hdc --size=...
part swap --ondisk hdc --size
part /data/data2 --ondisk hdc --asprimary --size 1 --grow --fstype=ext3
raid /boot          --level=1 --device=md0 --fstype=ext3 raid.01 raid.11
raid /              --level=1 --device=md1 --fstype=ext3 raid.02 raid.12
raid /netavis       --level=1 --device=md2 --fstype=ext3 raid.03 raid.13
raid /var/lib/mysql --level=1 --device=md3 --fstype=ext3 raid.04 raid.14
---

After a test installation we want to make the final installation but we
get always the following error:

ValueError: md1 is already in mdList.

This is on a CentOS 5.1 installation.
I have try to add a:

os.system("mdadm -S /dev/md*")

But this wasn't th solution ;-(.

I have also try with --useexisting but in this stage there aren't any
md's?!

When I make a 'mdadm --detail -s' then I see only md1 not md0 on the
tty2.

Please can anybody help me :-)

The screenshots of the output are available under:

http://solutions.netavis.net/Part_error01.jpg
http://solutions.netavis.net/Part_error02.jpg
http://solutions.netavis.net/Part_error03.jpg

BR

Aleks

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[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