Rob Thompson wrote:
Hi, I am trying to use autoyast and format 5 LVM partitions during install (dont ask ;-). The control file is read correctly, and when I look in the Partitioning portion of the YAST installer everything looks proper - but when I choose accept and autoyast begins formating the drives I get the following error:
LVM ERROR echo y|/sbin/pvcreate -ff -M2 /dev/sda5 /dev/sda5: Couldn't find device.
Here is my XML file:
Thanks, Rob
</general> <partitioning config:type="list"> <drive> <device>/dev/sda</device> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <loop_fs config:type="boolean">false</loop_fs> <mount>/boot</mount> <partition_id config:type="integer">131</partition_id> <partition_type>primary</partition_type> <size>+100MB</size> </partition> <partition> <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> <loop_fs config:type="boolean">false</loop_fs> <mount>swap</mount> <partition_id config:type="integer">131</partition_id> <partition_type>primary</partition_type> <size>+16GB</size> </partition> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <loop_fs config:type="boolean">false</loop_fs> <mount>/</mount> <partition_id config:type="integer">131</partition_id> <partition_type>primary</partition_type> <size>+10GB</size> </partition> <partition> <format config:type="boolean">false</format> <loop_fs config:type="boolean">false</loop_fs> <partition_id config:type="integer">130</partition_id> <partition_type>extended</partition_type> <size>max</size> </partition> <partition> <lvm_group>VG00</lvm_group> <loop_fs config:type="boolean">false</loop_fs> <partition_id config:type="integer">142</partition_id> <size>+35GB</size> </partition> </partitions> </drive> <drive> <device>/dev/VG00</device> <is_lvm_vg config:type="boolean">true</is_lvm_vg> <partitions config:type="list"> <partition> <mount>/home</mount> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>lvm01</lv_name> <lvm2 config:type="boolean">true</lvm2> <size>+10GB</size> </partition> <partition> <mount>/tmp</mount> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>lvm02</lv_name> <lvm2 config:type="boolean">true</lvm2> <size>+5GB</size> </partition> <partition> <mount>/var</mount> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>lvm03</lv_name> <lvm2 config:type="boolean">true</lvm2> <size>+5GB</size> </partition> <partition> <mount>/usr</mount> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>lvm04</lv_name> <lvm2 config:type="boolean">true</lvm2> <size>+5GB</size> </partition> <partition> <mount>/opt</mount> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>lvm05</lv_name> <lvm2 config:type="boolean">true</lvm2> <size>+10GB</size> </partition> </partitions> <use>all</use> <pesize>4M</pesize> </drive> </partitioning> <software>
Also, xmllint works well. :) LDB