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> </raid_options> </partition> </partitions> <use>all</use> </drive> <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
Andreas Müller schrieb:
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>
I don't think <raid_type> is needed/allowed here. <partition_id> and <raid_name> are sufficient to make this partion a raid partition which belongs to /dev/md0. I use the following: <partition> <crypt_fs config:type="boolean">false</crypt_fs> <crypt_key></crypt_key> <format config:type="boolean">false</format> <raid_name>/dev/md0</raid_name> <partition_id config:type="integer">253</partition_id> <partition_nr config:type="integer">2</partition_nr> <size>max</size> </partition>
<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>
See above.
<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>
See above.
<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>
See above.
<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>
See above.
<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_id> is not needed/allowed here. <partition_nr> is enough. This is not a physical partition but a kind of virtual partion. I use the following: <partition> <raid_options> <parity_algorithm>left-asymmetric</parity_algorithm> <chunk_size>4</chunk_size> <raid_type>raid1</raid_type> </raid_options> <mount>/boot</mount> <format config:type="boolean">true</format> <filesystem config:type="symbol">ext3</filesystem> <partition_nr config:type="integer">1</partition_nr> </partition>
<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>
See above.
<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> </raid_options>
This is an md partition which is an LVM physical volume, right? You need an <lvm_group> here. Something like <partition> <raid_options> <parity_algorithm>left-asymmetric</parity_algorithm> <chunk_size>4</chunk_size> <raid_type>raid1</raid_type> </raid_options> <lvm_group>system</lvm_group> <mount /> <format config:type="boolean">false</format> <partition_nr config:type="integer">2</partition_nr> </partition>
</partition> </partitions> <use>all</use> </drive> <drive> <device>/dev/md2</device>
You already have define the device /dev/md2 by defining a partition with partition_nr 2 inside of device /dev/md above. This <drive> section can be removed.
<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
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
Gruss, Stefan Voss -- Stefan Voss
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
Hello, thanks for all your help. Can anybody post a complete partitioning part of autoyast with md and lv please. I want to understand it work. *********** REPLY SEPARATOR *********** On 13.01.2005 at 11:06 Anas Nashif wrote:
See comments below:
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
Andreas Müller wrote: 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
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
--- avast! Antivirus: Inbound message clean. Virus Database (VPS): 0502-3, 14.01.2005 Tested on: 14.01.2005 18:23:04 avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com
Hello, I try the tip of Anas and it works. Thank you for your help. Andreas *********** REPLY SEPARATOR *********** On 13.01.2005 at 11:06 Anas Nashif wrote:
See comments below:
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
Andreas Müller wrote: 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
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
--- avast! Antivirus: Inbound message clean. Virus Database (VPS): 0502-3, 14.01.2005 Tested on: 14.01.2005 18:23:04 avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com
participants (3)
-
"Andreas Müller"
-
Anas Nashif
-
Stefan Voss