Troubleshooting Installation
The following are recovery instructions for zone installation failures:
-
If a zone installation is interrupted or fails, the zone is left in the
incompletestate. Use thezoneadm uninstall -Fcommand to reset the zone to theconfiguredstate. -
If an error message is displayed and the zone fails to install, perform the following steps.
-
Check the state of the zone.
Output is similar to the following:
global$ zoneadm list -cv ID NAME STATUS PATH BRAND IP 0 global running / solaris shared - zonename configured /system/zones/zonename solaris excl
-
If the state is listed as
incomplete, uninstall the zone.global$ pfexec zoneadm -z zonename uninstall -
Make the corrections specified in the error message.
-
Rerun the
zoneadm installcommand to install the zone.
-
-
If a storage object contains any preexisting partitions, zpools, or UFS file systems, the
installoperation fails and an error message is displayed. Perform the following steps.-
Put the zone in the
uninstalledstate.global$ pfexec zoneadm -z zonename uninstall -
Continue the installation and overwrite any preexisting data.
Use one of the following forms of the ‐x option in the
zoneadm -zzonenameinstallcommand. The ‐x option is similar to thezpool create -fcommand.-
-x force-zpool-import -
-x force-zpool-create=zpoolname[...] -
-x force-zpool-create=zpoolname1,zpoolname2,zpoolname3 -
-x force-zpool-create-all
For more information about using the ‐x option, see the
zoneadm(8) man page. -
-