Jeffrey,
The defect 4233 fix is now in source.  Custom slices are once again possible.

However, the correct behavior has not been documented.  Yesterday, I sent a 
message to caiman-discuss with the goal of reaching
consensus about how it should work:
  Subject: Review requested: defining AI VTOC slice and fdisk partition 
management through AI manifest

Once we can make some decisions about this, I will document it, code changes, 
and inform you about the status.

Of course, input from you on the subject would be valued.
William Schumann


Jeffrey,
You are correct about how it it supposed to behave. Currently, slice
editing through the AI engine manifest is ignored as a side effect of
defect 4233. It seems probable that this will not be fixed for the
November release as it is not critical to LiveCD, but will be addressed
soon afterwards.
William

jeffrey huang wrote:
> Hi, William,
>
> I has following manifest to create partition and slice, slice size is
> half of the partition:
>
> <ai_manifest name="slice_04_u20">
> <ai_target_device>
> <target_device_name>c2t1d0</target_device_name>
> <target_device_use_solaris_partition>false</target_device_use_solaris_partition>
> <target_device_overwrite_root_zfs_pool>true</target_device_overwrite_root_zfs_pool>
> </ai_target_device>
> <ai_device_partitioning>
> <partition_action>create</partition_action>
> <partition_number>1</partition_number>
> <partition_start_sector>1</partition_start_sector>
> <partition_size>41943040</partition_size>
> <partition_type>191</partition_type>
> </ai_device_partitioning>
> <ai_device_vtoc_slices>
> <slice_action>create</slice_action>
> <slice_number>0</slice_number>
> <slice_size>20480000</slice_size>
> </ai_device_vtoc_slices>
> <ai_pkg_repo_default_authority>
> <main url="http://10.13.28.32:9000"; authname="colorsword.prc"/>
> <mirror url=""/>
> </ai_pkg_repo_default_authority>
> <ai_packages>
> <package_name>SUNWapch22</package_name>
> </ai_packages>
> </ai_manifest>
> But AI will create a slice 0 which using whole partition. So does my manifest 
> correct? Or it is designed feature?
> Slice list after auto-installer, slice 0 using the whole disk, not the size I 
> wanted:
>
> partition> p 
> Current partition table (original):
> Total disk cylinders available: 2608 + 2 (reserved cylinders)
>
> Part      Tag    Flag     Cylinders        Size            Blocks
>   0       root    wm       1 - 2607       19.97GB    (2607/0/0) 41881455
>   1 unassigned    wm       0               0         (0/0/0)           0
>   2     backup    wu       0 - 2607       19.98GB    (2608/0/0) 41897520
>   3 unassigned    wm       0               0         (0/0/0)           0
>   4 unassigned    wm       0               0         (0/0/0)           0
>   5 unassigned    wm       0               0         (0/0/0)           0
>   6 unassigned    wm       0               0         (0/0/0)           0
>   7 unassigned    wm       0               0         (0/0/0)           0
>   8       boot    wu       0 -    0        7.84MB    (1/0/0)       16065
>   9 unassigned    wm       0               0         (0/0/0)           0
>
> -- 
> Great Thanks & Best Regards
>
> ---
> Jeffrey Huang                  SWAN: x51683, Ext: 0086-10-62673683
> Solaris QE Group                      Email: jeffrey.huang at sun.com
>            China Engineering & Research Institute, Sun Microsystems
>          7/F Chuang Xin Plaza, Tsinghua Science Park, Beijing China
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>   


Reply via email to