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>
Sorry - yet another mail. I've finally got the md devices to be
recognised, and not overwitten. However, no matter what I do, yast seems
to want to mount the individual devices which make up the raid devices as
/data1 - /data3.
I've event tried <mount></mount> for each of the partitions, which is
ignored by yast.
Thanks
Jeremy
My current configuration file is below
<?xml version="1.0"?>
<!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd">
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
<configure>
On Tue, 22 Feb 2005, Jeremy Sanders wrote:
I've finally got the md devices to be recognised, and not overwitten. However, no matter what I do, yast seems to want to mount the individual devices which make up the raid devices as /data1 - /data3.
I've event tried <mount></mount> for each of the partitions, which is ignored by yast.
Hmm - now I've tried SP1 on SLES9, and still autoyast tries to mount the
individual partitions which make up the raid.
The partition type is set to linux autoraid, they're set as raid in the
XML configuration file, but somehow autoyast assigns /data1 - /data3 for
the raid1 partitions and tries to mount them during the install.
Is there a debug mode I can enable for autoyast? I notice there are some
debug statements in the source code.
Jeremy
--
Jeremy Sanders
This still fails, even trying SUSE profession 9.2. It looks like it's a bug in autoyast somewhere. It doesn't seem to handle raid with partitions made with <create>false</create>. Oh well, back to RHEL... :-( Jeremy On Mon, 21 Feb 2005, Jeremy Sanders wrote:
<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 </partition> </partitions> </drive> raid1 <!-- /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 </partition> </partitions> </drive> raid1 <!-- /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 </partition> </partitions> </drive> raid1 </partitioning>
--
Jeremy Sanders
participants (1)
-
Jeremy Sanders