|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Administration: Oracle Solaris Zones, Oracle Solaris 10 Zones, and Resource Management Oracle Solaris 11 Information Library|
This procedure is used to move the zone to a new location on the same system by changing the zonepath. The zone must be halted. The new zonepath must be on a local file system. The normal zonepath criteria described in Resource Types and Properties apply.
This information also applies to moving solaris10 branded zones. For information on solaris10 branded zones, see Part III, Oracle Solaris 10 Zones.
Note - You cannot move a zone that is present in other BEs. You can either delete those BEs first, or create a new zone at the new path by cloning the zone.
You must be the global administrator or a user with appropriate authorizations in the global zone to perform this procedure.
global# zoneadm -z db-zone halt
global# zoneadm -z db-zone move /zones/db-zone
ID NAME STATUS PATH BRAND IP 0 global running / solaris shared - my-zone installed /zones/my-zone solaris excl - db-zone installed /zones/db-zone solaris excl