Hi all,
I'm having some problems creating extended partitions with autoyast.
I've created a reference profile from a machine with the following
layout:
The partitioning section of the resulting file is as follows:
---- <AUTOYAST GENERATED PARTITIONING SECTION> ----
<partitions config:type="list">
<partition>
<filesystem config:type="symbol">swap</filesystem>
<format config:type="boolean">true</format>
<mount>swap</mount>
130
2
<region config:type="list">
2
131
</region>
<size>1069219841</size>
</partition>
<partition>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">true</format>
<mount>/</mount>
131
3
<region config:type="list">
133
2168
</region>
<size>17823072257</size>
</partition>
<partition>
5
4
<region config:type="list">
2301
2126
</region>
<size>17477632001</size>
</partition>
<partition>
<filesystem config:type="symbol">ext2</filesystem>
<format config:type="boolean">true</format>
<mount>/var</mount>
131
5
<region config:type="list">
2301
244
</region>
<size>1998618625</size>
</partition>
<partition>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">true</format>
<mount>/opt</mount>
131
6
<region config:type="list">
2545
1882
</region>
<size>15470788609</size>
</partition>
<partition>
<filesystem config:type="symbol">ext2</filesystem>
<format config:type="boolean">true</format>
<mount>/boot</mount>
131
1
<region config:type="list">
0
2
</region>
<size>8224769</size>
</partition>
</partitions>
---- ----
However, if I try and use this file, I have a problem at installation
time. Just before autoyast normally tries to partition the disks, I
get a warning about /opt needing 2.02GB more space - please delete
some packages. At this point, if I switch to console 2 and fdisk -l
/dev/sda I see the primary and extended partitions that were there
when I created the reference profile.
If I switch back to the autoyast screen and select OK, the
partitioning begins. Once partitioning is finished, all I have is 4
partitions. The 4th partition is type 5, extended, which is what I was
expecting, but neither /var or /opt has been created in there.
I then changed this xml slightly to remove the region blocks, and I
specified a size of max for both partition 4 (the extended partition)
and partition 6 (/opt). I get exactly the same results with this
though.
Can anyone advise me how to do the following please:
1. Create both primary and extended partitions where the extended
partition takes up the rest of the disk after /, /boot and swap have
been extended.
and
2. Create logical partitions in the extended partition where the final
logical partition takes up all available space on the drive.
Regards,
--
Wayne Pascoe