Hello,
This is a simple disk configuration, two hard disks with two
partitions each, the first partition containing the root fs and
the two second partitions reserved for the sw raid. The
installation stops with this message:
echo y | /sbin/pvcreate -ff -M2 /dev/md0
/dev/md0: Couldn't find device.
because autoyast tries to create the raid with no partitions. The
autoyast found both /dev/sda2 and /dev/sdb2 as raid members, but
then didn't put them in the /etc/raidtab:
Jan 20 15:21:46 sisyphus yast2[2269]: <1> [YCP] partitioning/raid_lib.ycp:122 dev:/dev/md0 type:raid1
Jan 20 15:21:46 sisyphus yast2[2269]: <1> [YCP] partitioning/raid_lib.ycp:126 partition_list:[$["create":true, "device":"/dev/sda2", "devkey":"2//dev/sda", "format":false, "fs_options":$[], "fsid":253, "fstype":"Linux RAID", "maindev":"/dev/sda", "mount":"", "nr":2, "raid_name":"/dev/md0", "raid_type":"raid1", "region":[66, 2146], "size_byte":17650352128, "size_str":" 16.4 GB", "type":`primary, "used_fs":`unknown], $["create":true, "device":"/dev/sdb2", "devkey":"2//dev/sdb", "format":false, "fs_options":$[], "fsid":253, "fstype":"Linux RAID", "maindev":"/dev/sdb", "mount":"", "nr":2, "raid_name":"/dev/md0", "raid_type":"raid1", "region":[66, 2146], "size_byte":17650352128, "size_str":" 16.4 GB", "type":`primary, "used_fs":`unknown]]
Jan 20 15:21:59 sisyphus yast2[2269]: <1> [YCP] partitioning/raid_lib.ycp:855 RAID_: # autogenerated /etc/raidtab by YaST2 raiddev /dev/md0 raid-level 1 nr-raid-disks 0 nr-spare-disks 0 persistent-superblock 1 chunk-size 32
Jan 20 15:21:59 sisyphus yast2[2269]: <1> [YCP] partitioning/raid_lib.ycp:875 created raids: [0]
Jan 20 15:22:04 sisyphus yast2[2269]: <1> [YCP] partitioning/raid_lib.ycp:905 success for: /sbin/mkraid -c /etc/raidtab --really-force /dev/md0
The system is SLES9 with SP3 and here's the relevant xml part:
<partitioning config:type="list">
<drive>
<device>/dev/sda</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>/</mount>