Solaris 10: uninstall and delete a zone

Home -> UNIX -> Solaris -> System administration

18652 views

From the computer of: qmchenry (339 recipes)
Created: May 19, 2005


0 comments:
View all comments

Add a comment

Add to:
Add to stumbleuponAdd to del.icio.usDigg itAdd to FURL

When you want to remove a non-global zone from your Solaris 10 installation, you'll need to follow the following steps.

If you want to completely remove a zone called 'testzone' from your system, login to the global zone and become root. The first command is the opposite of the 'install' option of zoneadm and deletes all of the files under the zonepath:

zoneadm -z testzone uninstall


At this point, the zone is in the configured state. To remove it completely from the system use:

zonecfg -z testzone delete


There is no undo, so make sure this is what you want to do before you do it.

Subscribe to the Tech-Recipes Newsletter

You can get tips like this delivered in your email every week!

Enter your Email

We will never, ever sell your email address or spam you.





Related recipes:

  Solaris 10: shutdown or stop a zone
  Solaris 10: connect or login to zone console
  Solaris 10: view or list all running zones
  Simple Solaris BIND/DNS Server Setup with Failover
  Use BackSpace Key to Erase characters instead of Delete Key
  Solaris/SPARC: remove a devalias with nvunalias
  Change BootPROM settings from the Solaris command line
  Change Solaris DNS client settings
  Solaris Processor Info
  Solaris 10: enable NFS server

 

Sponsored links

 

Login

Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.