Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015
 
 

How to Move a Zone That Is Not on Shared Storage

You must be the global administrator or a user with appropriate authorizations in the global zone to perform this procedure.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. Halt the zone to be moved, db-zone in this procedure.
    global# zoneadm -z db-zone halt
  3. Use the zoneadm command with the move subcommand to move the zone to a new zonepath, /zones/db-zone.
    global# zoneadm -z db-zone move /zones/db-zone
  4. Verify the path.
    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