Hi -
I'm trying to make a autoyast configuration file which will install a
machine with 3 software raid 1 devices (root, swap, and a data partition)
using SLES 9. The partitions will already exist on the drives.
Unfortunately this doesn't seem to work. yast seems to want to mount the
individual component partitions as /data1 ... /data6. It only seems to
want to use the /dev/md2 device, and ignores md0-md1.
Can anyone see the problem, or does someone have a similar working file I
can look at?
<!-- This is where we describe the drives and partitions -->
<partitioning config:type="list">
<drive>
<device>/dev/hda</device>
<partitions config:type="list">
<!-- Root device -->
<partition>
253
1
<format config:type="boolean">false</format>
<create config:type="boolean">false</create>
/dev/md0
raid
</partition>
<!-- Swap -->
<partition>
253
2
<format config:type="boolean">false</format>
<create config:type="boolean">false</create>
/dev/md1
raid
</partition>
<!-- /soft3 -->
<partition>
253
3
<format config:type="boolean">false</format>
<create config:type="boolean">false</create>
/dev/md2
raid
</partition>
</partitions>
</drive>
<drive>
<device>/dev/hdb</device>
<partitions config:type="list">
<!-- Root device -->
<partition>
253
1
<format config:type="boolean">false</format>
<create config:type="boolean">false</create>
/dev/md0
raid
</partition>
<!-- Swap -->
<partition>
253
2
<format config:type="boolean">false</format>
<create config:type="boolean">false</create>
/dev/md1
raid
</partition>
<!-- /soft3 -->
<partition>
253
3
<format config:type="boolean">false</format>
<create config:type="boolean">false</create>
/dev/md2
raid
</partition>
</partitions>
</drive>
<!-- /dev/md0 = root -->
<drive>
<device>/dev/md</device>
<partitions config:type="list">
<partition>
<filesystem config:type="symbol">xfs</filesystem>
<format config:type="boolean">true</format>
<mount>/</mount>
131
0
raid1
</partition>
</partitions>
</drive>
<!-- /dev/md1 = swap -->
<drive>
<device>/dev/md</device>
<partitions config:type="list">
<partition>
<filesystem config:type="symbol">swap</filesystem>
<format config:type="boolean">true</format>
<mount>swap</mount>
131
1
raid1
</partition>
</partitions>
</drive>
<!-- /dev/md2 = /soft3 -->
<drive>
<device>/dev/md</device>
<partitions config:type="list">
<partition>
<filesystem config:type="symbol">xfs</filesystem>
<format config:type="boolean">false</format>
<mount>/soft3</mount>
131
2
raid1
</partition>
</partitions>
</drive>
</partitioning>
Thanks
Jeremy
--
Jeremy Sanders http://www-xray.ast.cam.ac.uk/~jss/
X-Ray Group, Institute of Astronomy, University of Cambridge, UK.
Public Key Server PGP Key ID: E1AAE053