See comments below: Andreas Müller wrote:
I try to configure LV's on a softwareraid (md) of two ata-disks in autoyast. On installation apears an error, 'md device is not known'. I think my configuration is right. If I try it on a running system in yast it works.
<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_type>primary</partition_type> <partition_id config:type="integer">253</partition_id> <raid_name>/dev/md0</raid_name> <raid_type>raid</raid_type> <size>512M</size> </partition> <partition> <format config:type="boolean">false</format> <partition_type>primary</partition_type> <partition_id config:type="integer">253</partition_id> <raid_name>/dev/md1</raid_name> <raid_type>raid</raid_type> <size>1G</size> </partition> <partition> <format config:type="boolean">false</format> <partition_type>primary</partition_type> <partition_id config:type="integer">253</partition_id> <raid_name>/dev/md2</raid_name> <raid_type>raid</raid_type> <size>max</size> </partition> </partitions> <use>all</use> </drive> <drive> <device>/dev/hdb</device> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition> <format config:type="boolean">false</format> <partition_type>primary</partition_type> <partition_id config:type="integer">253</partition_id> <raid_name>/dev/md0</raid_name> <raid_type>raid</raid_type> <size>512M</size> </partition> <partition> <format config:type="boolean">false</format> <partition_type>primary</partition_type> <partition_id config:type="integer">253</partition_id> <raid_name>/dev/md1</raid_name> <raid_type>raid</raid_type> <size>1G</size> </partition> <partition> <format config:type="boolean">false</format> <partition_type>primary</partition_type> <partition_id config:type="integer">253</partition_id> <raid_name>/dev/md2</raid_name> <raid_type>raid</raid_type> <size>max</size> </partition> </partitions> <use>all</use> </drive> <drive> <device>/dev/md</device> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <mount>/boot</mount> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">0</partition_nr> <raid_options> <chunk_size>4</chunk_size> <parity_algorithm>left-asymmetric</parity_algorithm> <raid_type>raid1</raid_type> </raid_options> </partition> <partition> <format config:type="boolean">true</format> <mount>/</mount> <partition_id config:type="integer">130</partition_id> <partition_nr config:type="integer">1</partition_nr> <raid_options> <chunk_size>4</chunk_size> <parity_algorithm>left-asymmetric</parity_algorithm> <raid_type>raid1</raid_type> </raid_options> </partition> <partition> <format config:type="boolean">false</format> <partition_nr config:type="integer">2</partition_nr> <raid_options> <chunk_size>4</chunk_size> <parity_algorithm>left-asymmetric</parity_algorithm> <raid_type>raid1</raid_type> <lvm_group>system</lvm_group>
This is needed here.
</raid_options> </partition> </partitions> <use>all</use> </drive>
The drive configuration below is not needed.
<drive> <device>/dev/md2</device> <partitions config:type="list"> <partition> <lvm_group>system</lvm_group> <partition_type>primary</partition_type> <size>max</size> </partition> </partitions> <use>all</use> </drive>
<drive> <device>/dev/system</device> <is_lvm_vg config:type="boolean">true</is_lvm_vg> <partitions config:type="list"> <partition> <filesystem config:type="symbol">reiser</filesystem> <lv_name>user_lv</lv_name> <mount>/usr</mount> <size>500mb</size> </partition> </partitions> <pesize>4M</pesize> <use>all</use> </drive> </partitioning>
______________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193