[Solaris] Jumpstart ERROR: (_app_set_slice) Disk is not selected

Today I attempted to leave work early and kicked off my jumpstart installation just before leaving. Waiting to see if the drives would configure before leaving I noticed a failure shortly thereafter:

…edited…
Executing SolStart preinstall phase…
Executing begin script “install_begin”…
Begin script install_begin execution completed.

Processing profile
– Opening Flash archive
– Validating Flash archive
– Selecting all disks
– Configuring boot device
– Configuring SVM State Database Replica on  (c2t0d0s7)
– Configuring SVM State Database Replica on  (c2t1d0s7)
– Configuring SVM Mirror Volume d0 on / (c2t0d0s0)
– Configuring SVM Mirror Volume d0 on  (c2t1d0s0)
– Configuring SVM Mirror Volume d1 on swap (c2t2d0s1)

ERROR: (_app_set_slice) Disk is not selected

Disk layout for selected disks

Disk c2t0d0
Solaris Slice Table
Slice     Start  Cylinder         MB  Preserve  Directory

——-  ——–  ——–   ——–  ——–  ———-
0         0      2061      10241        no  /

2         0     14087      69995        no  overlap

7      2061         2         10        no

Usable space: 69995 MB (14087 cylinders)   Free space: 59745 MB

Disk c2t1d0
Solaris Slice Table
Slice     Start  Cylinder         MB  Preserve  Directory

——-  ——–  ——–   ——–  ——–  ———-
0         0      2061      10241        no

2         0     14087      69995        no  overlap

7      2061         2         10        no

Usable space: 69995 MB (14087 cylinders)   Free space: 59745 MB

ERROR: Flash installation failed

The profiel was correct and looked as follows:

filesys mirror:d0 c2t0d0s0 c2t1d0s0 10240 /
filesys mirror:d1 c2t2d0s1 c2t3d0s1 65536 swap
filesys mirror:d3 c2t0d0s3 c2t1d0s3 8192  /var
filesys mirror:d6 c2t0d0s6 c2t1d0s6 free  /data

metadb c2t0d0s7 size 8192 count 2
metadb c2t1d0s7 size 8192 count 2

After execuring format to make sure the layout was there it dawned on me that at least one of the four drives was previously used for ZFS.  Using ZFS on a whole disk will change the default label on the disk from SMI (UFS) to EFI (ZFS). Because of this slice-7 could not be seen while performing an install that would use the UFS  layout.

To switch back to SMI I needed to issue “format -e”, then select the disk and “re-label”, choosing [0] for SMI label:

format> label
[0] SMI Label
[1] EFI Label
Specify Label type[1]: 0
Warning: This disk has an EFI label. Changing to SMI label will erase all
current partitions.
Continue? y
Auto configuration via format.dat[no]?
Auto configuration via generic SCSI-2[no]?

Once all the disks were using the EFI label my jumpstart installation gracefully completed.

Advertisements
This entry was posted in *Nix. Bookmark the permalink.

4 Responses to [Solaris] Jumpstart ERROR: (_app_set_slice) Disk is not selected

  1. Ryan says:

    Thanks so much for taking the time to write this. I’m currently doing a flar/jumpstart install and ran into this exact problem. You probably just allowed me to go home on time and for that I thank you!

  2. Pingback: [Solaris] Jumpstart ERROR: (_app_set_slice) Disk is not selected : # Super User

  3. Dharmin says:

    Thanks…. Dharmin

  4. Anonymous says:

    Another reason to get this message is because the following jumpstart variable is not set:
    base_config_profile_additional_disks=

    Running SUNWjet 4.9 trying to configure root mirror. You can’t specify more than one disk in the base_config_profile_usedisk= variable and I thought that specifying the root mirror via sds_root_mirror= would sufice.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s