RAID1 md-device with "missing"-device
Hi, which entries in autoyast.xml do I need to configure a raid1 device with 2 devices, where one of these should be (at the beginning / installation time) a missing device. Sometimes, after the installation, I want to add a second HD and make a "mdadm -a". => so the functionality of "mdadm -C /dev/md0 -l raid1 -n 2 /dev/hda1 missing" and "mdadm -C /dev/md1 -l raid1 -n 2 /dev/hda2 missing" in autoyast is required Because, I didn't find anything about missing devices in the autoyast documentation, I tried to only change "/dev/hdb" to "missing", but that's not working... (see below) : : : <partitioning config:type="list"> <drive> <device>/dev/hda</device> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition> <format config:type="boolean">false</format> <partition_id config:type="integer">253</partition_id> <partition_type>primary</partition_type> <raid_name>/dev/md0</raid_name> <size>256M</size> </partition> <partition> <format config:type="boolean">false</format> <partition_id config:type="integer">253</partition_id> <partition_type>primary</partition_type> <raid_name>/dev/md1</raid_name> <size>max</size> </partition> </partitions> <use>all</use> </drive> <drive> <device>missing</device> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition> <format config:type="boolean">false</format> <partition_id config:type="integer">253</partition_id> <partition_type>primary</partition_type> <raid_name>/dev/md0</raid_name> <size>256M</size> </partition> <partition> <format config:type="boolean">false</format> <partition_id config:type="integer">253</partition_id> <partition_type>primary</partition_type> <raid_name>/dev/md1</raid_name> <size>max</size> </partition> </partitions> <use>all</use> </drive> </partitioning> <raid config:type="list"> <raid_device> <device_name>/dev/md0</device_name> <parity_algorithm>left-asymmetric</parity_algorithm> <persistent_superblock config:type="boolean">true</persistent_superblock> <raid_type>raid1</raid_type> <filesystem_id config:type="integer">131</filesystem_id> <chunk_size>4</chunk_size> <mount>/boot</mount> <format config:type="boolean">true</format> <filesystem config:type="symbol">xfs</filesystem> </raid_device> <raid_device> <device_name>/dev/md1</device_name> <lvm_group>vg00</lvm_group> <parity_algorithm>left-asymmetric</parity_algorithm> <persistent_superblock config:type="boolean">true</persistent_superblock> <raid_type>raid1</raid_type> <filesystem_id config:type="integer">142</filesystem_id> <chunk_size>4</chunk_size> </raid_device> </raid> : : : Thanks in advance. -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
On Wednesday 06 September 2006 13:03, Tob_Sch@gmx.de wrote:
which entries in autoyast.xml do I need to configure a raid1 device with 2 devices, where one of these should be (at the beginning / installation time) a missing device. Sometimes, after the installation, I want to add a second HD and make a "mdadm -a".
sorry but that's not possible with (auto)yast -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany Business: http://www.suse.de/~ug now playing Funker Vogt - Tragic Hero
participants (2)
-
Tob_Sch@gmx.de
-
Uwe Gansert