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>
Hello Dejan
In your partition setting
<partition>
<format config:type="boolean">false</format>
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>
131 primary <size>512M</size> </partition> <partition> <format config:type="boolean">false</format>253 primary /dev/md0 raid1 <size>max</size> </partition> </partitions> <use>all</use> </drive> <drive> <device>/dev/sdb</device> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition>false <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <mount>/rootcopy</mount>131 primary <size>512M</size> </partition> <partition> <format config:type="boolean">false</format>253 primary /dev/md0 raid1 <size>max</size> </partition> </partitions> <use>all</use> </drive> <drive> <device>/dev/md</device> <partitions config:type="list"> <partition> <format config:type="boolean">false</format>rootvg 142 0 </partition> </partitions> <use>all</use> </drive> 32 left-asymmetric raid1 BTW, the partitioning is sourced using <classes>.
Thanks.
Dejan
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
Hi Alfred, On Fri, Jan 20, 2006 at 04:56:35PM +0100, Alfred Isele wrote:
Hello Dejan
In your partition setting
<partition> <format config:type="boolean">false</format>
253 primary /dev/md0 raid1 <size>max</size> </partition>raid1 must be replaced by raid
Yes, that's what fixed it. Thanks.
participants (2)
-
Alfred Isele
-
Dejan Muhamedagic