Check the current status of the zones running on the global zone.
root@earth> zoneadm list -cv
ID NAME STATUS PATH BRAND P
global running / native shared
moon running /export/zones/moon native shared
If the zone is running, then run the following command to shutdown the zone.
root@earth> zoneadm -z moon halt
Note - You can also login to the zone and shut it down from inside the zone.After the zone is shutdown it should be in the installed state. Run the command below to uninstall the zone.
root@earth> zoneadm -z moon uninstall
Then you delete the zone with the command below.
root@earth> zonecfg -z moon delete
The site below also has a nice how to for removing zones.
http://www.tech-recipes.com/rx/889/solaris-10-uninstall-and-delete-a-zone/
No comments:
Post a Comment