Hi,
I've filed Bug 11569 for AI extended partition feature, please take look
if have time, not sure if it is my test case design issue or others?
I also met following issue, not sure to open a bug or test cases needs
to re-design?
Description: Disk has existing extended partition and DOS logical
partition, try to add a Solaris2 logical partition, AI failed.
System current partition table
============================================================
12 128 0 1 1 254 63 1023 16065
28643895
5 0 254 63 1023 254 63 1023 28659960
143347995
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
12 0 254 63 1023 254 63 1023 28660023 14334798
Manifest:
<ai_device_partitioning>
<partition_action>create</partition_action>
<partition_number>6</partition_number>
<partition_size>10240</partition_size>
<partition_is_logical>true</partition_is_logical>
<partition_type>191</partition_type>
</ai_device_partitioning>
Install log:
# cat /tmp/install_log
<AI Sep 25 22:20:57> /root/ai_my_manifest.xml is a valid manifest
<OM_E Sep 25 22:20:58> forcing partition id ID=4
<OM_E Sep 25 22:20:58> forcing starting logical offset high
<OM_E Sep 25 22:20:58> forcing partition id ID=1
<OM_E Sep 25 22:20:58> forcing partition id ID=0
<OM_E Sep 25 22:20:58> skipping sort by offset
<OM_E Sep 25 22:20:58> forcing partition id ID=0
<OM_E Sep 25 22:20:58> skipping sort by offset
<AI Sep 25 22:21:07> Disk = c1t0d0 found on the system
<OM Sep 25 22:21:07> No slices defined prior to install
<AI Sep 25 22:21:07> Disk name selected for installation is c1t0d0
<OM Sep 25 22:21:07> disk partition info changed
<AI Sep 25 22:21:07> no manifest slice information found
<OM Sep 25 22:21:07> System reports enough physical memory for
installation, swap is optional
<OM Sep 25 22:21:08> Timezone setting will be TZ=US/Pacific
<OM Sep 25 22:21:08> Set timezone
<AI Sep 25 22:21:08> installation will be performed from
http://10.13.28.40:10000 (opensolaris.org)
<AI Sep 25 22:21:08> installation will be performed from
http://10.13.28.40:10000 (opensolaris.org)
<AI Sep 25 22:21:08> list of packages to be installed is:
<AI Sep 25 22:21:08> SUNWcsd
SUNWcs
babel_install
entire
<AI Sep 25 22:21:08> No packages specified to be removed from installed
system
<OM Sep 25 22:21:08> Disk was changed
<OM Sep 25 22:21:08> Disk contains valid Solaris partition
<OM Sep 25 22:21:08> whole_disk = 0
<OM Sep 25 22:21:08> diskname set = c1t0d0
<OM Sep 25 22:21:08> Set fdisk attrs
<TIDM_E Sep 25 22:21:08> Partition 5 can't be preserved, matching entry
not found in orig. part. table
<TIDM_E Sep 25 22:21:08> Couldn't preserve partitions on disk c1t0d0 -
fdisk failed
<TIMM_E Sep 25 22:21:08> Couldn't create fdisk partition table on disk
<c1t0d0>
<OM Sep 25 22:21:08> Could not create fdisk target
<OM Sep 25 22:21:08> TI process failed
<OM Sep 25 22:21:08> Breakpoint requested after Target Instantiation.
Installer exiting.
? 2009/9/24 3:43, William Schumann ??:
> Not sure if this has been mentioned.
>
> You must create an extended partition, specifying partition_type as:
>
> EXTDOS 5 /* EXT-DOS partition */
> EXTDOSLBA 15 /* with logical block addressing */
>
> you can use EXTDOS and EXTDOSLBA as aliases instead of 5 and 15.
>
> Then for the logicals, you add the boolean:
> <partition_is_logical>true</partition_is_logical>
>
> and they will be defined within the extended partition.
>
> You can also use <partition_size>max_size</partition_size> for both the
> extended and for one logical partition. They will used up the remaining
> space.
>
> William
>
> jeanm wrote:
>> The automated install test iso is at:
>>
>> /net/boora.central/brmnas/jeanm/ep_test/automated_installer_image.iso
>>
>> This is an x86 image.
>>
>> I believe no changes are needed to the AI server.
>>
>> Jean