Bugzilla – Bug 9029
Disk selection algorhythm should be documented.
Last modified: 2009-06-02 09:39:21 UTC
You need to log in before you can comment on or make changes to this bug.
The algorithm used to select the target disk when none is named in the manifest should be in the Auto-installer documentation. Below is an example of the manifest we used for our systems. Rather than creating a unique manifest for every machine in our lab (there are hundreds) we'd like to take advantage of the selection algorithm, but could not find it in any of the documentation. <ai_manifest name="ssqa-2009-06.111b.ai"> <ai_pkg_repo_default_authority> <main url="http://ipkg.sfbay/dev" authname="ipkg.sfbay"/> </ai_pkg_repo_default_authority> <ai_pkg_repo_addl_authority> <main url="http://pkg.opensolaris.org/dev" authname="opensolaris.org"/> </ai_pkg_repo_addl_authority> <ai_packages> <package_name>entire@0.5.11,5.11-0.111:20090512T144328Z</package_name> <package_name>SUNWcsd</package_name> <package_name>SUNWcs</package_name> <package_name>babel_install</package_name> <package_name>SUNWiscsit</package_name> <package_name>SUNWiscsitgt</package_name> </ai_packages> <ai_auto_reboot>true</ai_auto_reboot> </ai_manifest>
We should document this ASAP if not already. Assigning to Barbara for consideration.
This is too late for the snapshot 2009.06 documents, but I'll add this information to the ongoing development copy of the install documentation. The writeup for this is in process. Expect to complete within a week.
I'll add the following information to the Auto Installer documentation (ongoing copy), both in the manifest default section and in the FAQ section. Please advise any edits this week. Barbara Default Disk Selection for Client Installations You can use the <ai_target_device> tag to specify a particular target disk on which to install the OpenSolaris OS. If you do not specify a target disk, the automated installer chooses a default target for installating the OpenSolaris OS. The default target disk is selected as follows: 1. The installer gets the recommended size for installing the OpenSolaris OS from the AI libraries. Currently, the recommended size is 12 GB. 2. The installer searches for available disks on the client. Note: The installer selects only the following types of disks: * For SPARC clients, the installer searches for disks with a VTOC label. * For x86 clients, the installer searches for Solaris partitions. 3. When the first disk is found, the installer checks the size of that disk. - If the size is greater than or equal to the recommended size, the installer selects the disk and returns to the installation procedure. - If the size is less than the recommended size, the installer goes to the next disk to check the size. 3. If there is no match, automated installation fails.
Documentation is updated and posted online at: http://dlc.sun.com/osol/docs/content/dev/AIinstall/faq.html#targetdisk