Russ Petruzzelli wrote:
Ordinarily to  remove a zone, it says to:
------------------
Step1: zoneadm -z ps-eng6-zoneX halt
Step2: zoneadm -z ps-eng6-zoneX uninstall
Step3: zonecfg -z ps-eng6-zoneX delete

but I just want to lay down a new OS in my zone.
Can I just do it this way (skipping deleting the zone)?:
Step1: zoneadm -z ps-eng6-zoneX halt
Step2: zoneadm -z ps-eng6-zoneX uninstall
Step3: zoneadm -z ps-eng6-zoneX install
Step4: zoneadm -z ps-eng6-zoneX boot


Yes, although I suggest checking the status of the zone after the 'uninstall'. It should be 'configured'. Any other status may indicate failure of the uninstallation process.

Just curious: how is this valuable? 'Delete' and 'zonecfg' are very lightweight steps.


--------------------------------------------------------------------------
Jeff VICTOR              Sun Microsystems            jeff.victor @ sun.com
OS Ambassador            Sr. Technical Specialist
Solaris 10 Zones FAQ:    http://www.opensolaris.org/os/community/zones/faq
--------------------------------------------------------------------------
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to