Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (3221 KB)
|
global# zoneadm -z my-zone install |
The system will display:
A ZFS file systm has been created for this zone. |
Install the zone that has a zonepath on ZFS, but do not automatically create the ZFS file system.
global# zoneadm -z my-zone install -x nodataset |
You will see various messages as the files and directories needed for the zone's root file system are installed under the zone's root path.
(Optional) If an error message is displayed and the zone fails to install, type the following to get the zone state:
global# zoneadm -z my-zone list -v |
If the state is listed as configured, make the corrections specified in the message and try the zoneadm install command again.
If the state is listed as incomplete, first execute this command:
global# zoneadm -z my-zone uninstall |
Then make the corrections specified in the message, and try the zoneadm install command again.
When the installation completes, use the list subcommand with the -i and -v options to list the installed zones and verify the status.
global# zoneadm list -iv |
You will see a display that is similar to the following:
ID NAME STATUS PATH BRAND IP 0 global running / native shared - my-zone installed /export/home/my-zone native shared |
If a zone installation is interrupted or fails, the zone is left in the incomplete state. Use uninstall -F to reset the zone to the configured state.
This zone was installed with the minimal network configuration described in Chapter 17, Managing Services (Tasks), in System Administration Guide: Basic Administration by default. You can switch to the open network configuration, or enable or disable individual services, when you log in to the zone. See Switching the Non-Global Zone to a Different Networking Service Configuration for details.