Bugzilla – Bug 4575
Should have more meaning default for disk without fdisk partition for AI
Last modified: 2009-03-17 19:58:19 UTC
You need to log in before you can comment on or make changes to this bug.
This is found when I try to install on narn with custom manifest with AI, I specify the following target device: # more narnexample2.xml <ai_manifest name="narnexample2"> <ai_target_device> <target_device_name>c2t3d0</target_device_name> </ai_target_device> <ai_pkg_repo_default_authority> <main url="http://pkg.opensolaris.org" authname="opensolaris.org"/> </ai_pkg_repo_default_authority> </ai_manifest> # As it turns out, c2t3d0 does not have any fdisk partition and thus AI install fails as follow: ins3525-svr{ding}268: more install_log <AI Nov 4 11:13:25> /tmp/ai_combined_manifest.xml is a valid manifest <TDDM_E Nov 4 11:13:25> ddm_drive_get_name(): Can't get alias name, err=9 <TDDM_E Nov 4 11:13:29> ddm_drive_get_btype():Can't get DM_BUS assoc. w/ DM_DRIVE, err=22 <AI Nov 4 11:13:55> Cannot find the partitions for disk c2t3d0 on the target system <OM Nov 4 11:13:55> No disk partitions defined prior to install <AI Nov 4 11:13:55> diskname selected for installation is c2t3d0 <AI Nov 4 11:13:55> no manifest partition information found <AI Nov 4 11:13:55> no manifest slice information found <AI Nov 4 11:13:55> installation will be performed from http://pkg.opensolaris.org (opensolaris.org) <AI Nov 4 11:13:55> Failed to create a file with list of packages to be installed <AI Nov 4 11:13:55> Auto install failed ins3525-svr{ding}269: There should be more meaning default for disks that does not have any fdisk partition and this will benefit AI on brand new disks shipped from factory.
This is actually a known limitation of the default disk selection code - it is very primitive as it stands right now and there are plans to fix it sometime in the future.
After the recent fixes and enhancements, my tests indicate that if a disk without a fdisk partition is targeted for installation, an fdisk partition and a vtoc will be created and the installation done in slice 0, using the entire disk. I think that we can close this one if the submitter is satisfied.
This is fixed in osol 109. I use fdisk to delete all the existing partitions on the systems. Then I do AI default install and it works.