[opensuse-autoinstall] Not Creating /dev/md
I'm having trouble with getting autoyast to create software RAID devices. The partitions get created on the devices but the /dev/md devices fail to get created. This is for SLED 11.0. The partition setup I'd like is the following. /sd*1 md0 /boot /sd*2 swap /sd*3 md1 /var /sd*4 md2 / This is the partition section of the autoinst.xml, I've compared it with the autoyast documentation and it looks like it should work. Thank you in advance for any assistance. <partitioning config:type="list"> <drive> <device>/dev/sda</device> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition> <create config:type="boolean">true</create> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">ext3</filesystem> <filesystem_id config:type="integer">253</filesystem_id> <format config:type="boolean">false</format> <loop_fs config:type="boolean">false</loop_fs> <mountby config:type="symbol">device</mountby> <partition_id config:type="integer">253</partition_id> <partition_nr config:type="integer">1</partition_nr> <resize config:type="boolean">false</resize> <raid_name>/dev/md0</raid_name> <size>123379200</size> </partition> <partition> <create config:type="boolean">true</create> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">swap</filesystem> <filesystem_id config:type="integer">130</filesystem_id> <format config:type="boolean">true</format> <loop_fs config:type="boolean">false</loop_fs> <mount>swap</mount> <mountby config:type="symbol">device</mountby> <partition_id config:type="integer">130</partition_id> <partition_nr config:type="integer">2</partition_nr> <resize config:type="boolean">false</resize> <size>2138572288</size> </partition> <partition> <create config:type="boolean">true</create> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">ext3</filesystem> <filesystem_id config:type="integer">253</filesystem_id> <format config:type="boolean">false</format> <loop_fs config:type="boolean">false</loop_fs> <mountby config:type="symbol">device</mountby> <partition_id config:type="integer">253</partition_id> <partition_nr config:type="integer">3</partition_nr> <resize config:type="boolean">false</resize> <raid_name>/dev/md1</raid_name> <size>32201971200</size> </partition> <partition> <create config:type="boolean">true</create> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">ext3</filesystem> <filesystem_id config:type="integer">253</filesystem_id> <format config:type="boolean">false</format> <loop_fs config:type="boolean">false</loop_fs> <mountby config:type="symbol">device</mountby> <partition_id config:type="integer">253</partition_id> <partition_nr config:type="integer">4</partition_nr> <resize config:type="boolean">false</resize> <raid_name>/dev/md2</raid_name> <size>165541984768</size> </partition> </partitions> <type config:type="symbol">CT_DISK</type> <use>all</use> </drive> <drive> <device>/dev/sdb</device> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition> <create config:type="boolean">true</create> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">ext3</filesystem> <filesystem_id config:type="integer">253</filesystem_id> <format config:type="boolean">false</format> <loop_fs config:type="boolean">false</loop_fs> <mountby config:type="symbol">device</mountby> <partition_id config:type="integer">253</partition_id> <partition_nr config:type="integer">1</partition_nr> <resize config:type="boolean">false</resize> <raid_name>/dev/md0</raid_name> <size>123379200</size> </partition> <partition> <create config:type="boolean">true</create> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">swap</filesystem> <filesystem_id config:type="integer">130</filesystem_id> <format config:type="boolean">true</format> <loop_fs config:type="boolean">false</loop_fs> <mount>swap</mount> <mountby config:type="symbol">device</mountby> <partition_id config:type="integer">130</partition_id> <partition_nr config:type="integer">2</partition_nr> <resize config:type="boolean">false</resize> <size>2138572288</size> </partition> <partition> <create config:type="boolean">true</create> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">ext3</filesystem> <filesystem_id config:type="integer">253</filesystem_id> <format config:type="boolean">false</format> <loop_fs config:type="boolean">false</loop_fs> <mountby config:type="symbol">device</mountby> <partition_id config:type="integer">253</partition_id> <partition_nr config:type="integer">3</partition_nr> <resize config:type="boolean">false</resize> <raid_name>/dev/md1</raid_name> <size>32201971200</size> </partition> <partition> <create config:type="boolean">true</create> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">ext3</filesystem> <filesystem_id config:type="integer">253</filesystem_id> <format config:type="boolean">false</format> <loop_fs config:type="boolean">false</loop_fs> <mountby config:type="symbol">device</mountby> <partition_id config:type="integer">253</partition_id> <partition_nr config:type="integer">4</partition_nr> <raid_name>/dev/md2</raid_name> <resize config:type="boolean">false</resize> <size>165541984768</size> </partition> </partitions> <type config:type="symbol">CT_DISK</type> <use>all</use> </drive> <drive> <device>/dev/md</device> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition> <create config:type="boolean">true</create> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">ext3</filesystem> <filesystem_id config:type="integer">131</filesystem_id> <format config:type="boolean">true</format> <loop_fs config:type="boolean">false</loop_fs> <mount>/boot</mount> <mountby config:type="symbol">device</mountby> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">0</partition_nr> <resize config:type="boolean">false</resize> </partition> <partition> <create config:type="boolean">true</create> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">ext3</filesystem> <filesystem_id config:type="integer">131</filesystem_id> <format config:type="boolean">true</format> <loop_fs config:type="boolean">false</loop_fs> <mount>/var</mount> <mountby config:type="symbol">device</mountby> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">1</partition_nr> <resize config:type="boolean">false</resize> </partition> <partition> <create config:type="boolean">true</create> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">ext3</filesystem> <filesystem_id config:type="integer">131</filesystem_id> <format config:type="boolean">true</format> <loop_fs config:type="boolean">false</loop_fs> <mount>/</mount> <mountby config:type="symbol">device</mountby> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">2</partition_nr> <resize config:type="boolean">false</resize> </partition> </partitions> <type config:type="symbol">CT_MD</type> <use>1,3,4</use> </drive> </partitioning> -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Tuesday 06 July 2010 Bart Wahlgren wrote:
I'm having trouble with getting autoyast to create software RAID devices. The partitions get created on the devices but the /dev/md devices fail to get created. This is for SLED 11.0. The partition setup I'd like is the following.
I just did a very quick look at the XML but this:
<use>1,3,4</use> </drive> </partitioning>
does not look right to me. Better use <use>all</use> -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug listening to: "Stage Fright" by Edge Of Dawn -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Bart Wahlgren
-
Uwe Gansert