The zoneadm detach/re-attach options have been hit and miss for me. While this is NOT SUPPORTED, moving a zone manually isn't so hard:
1) Copy the line from your old global zone's /etc/zones/index file for the non-global zone you want to move to the new global zone's /etc/zones/index file * Modify the path if that is changing 2) Copy the /etc/zones/<zone name>.xml file to the new global zone into /etc/zones * Modify as needed (path, interface, etc) 3) Move the non-global zone's files to the new global zone using your favorite method (export/import disk, rsync, etc) 4) The zone _should_ startup as normal at this point and be seen as normal with zonecfg/zoneadm commands. RCA -- UNIX Administrator, BAE Systems Land & Armaments desk 763-572-6684 mobile 612-419-9362 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of steeles Sent: Tuesday, May 22, 2007 11:50 AM To: zones-discuss@opensolaris.org Subject: [zones-discuss] Re: Re: What do I need to do if I want to copy azone to another global? I tried to attach exported zone. It gives error. # zoneadm -z tt attach could not verify net address=192.168.0.41 physical=eri0: No such device or address zoneadm: zone 'tt': WARNING: pools facility not active; zone will not be bound to pool 'rep-pool'. zoneadm: zone tt failed to verify After I changed NIC info, I can attach without error, but I can't boot it, even try to install .It has error # zoneadm list -vc ID NAME STATUS PATH 0 global running / - tt configured /zones/tt # zoneadm -z tt boot zoneadm: zone 'tt': must be installed before boot. # zoneadm -z tt install Cannot install detached zone. Use attach or remove /zones/tt directory. could not verify zonepath /zones/tt because of the above errors. zoneadm: zone tt failed to verify Here is output from original globe zone and new globe zone. ORG: # zonecfg -z tt info zonename: tt zonepath: /zones/tt autoboot: false pool: rep-pool limitpriv: inherit-pkg-dir: dir: /lib inherit-pkg-dir: dir: /platform inherit-pkg-dir: dir: /sbin inherit-pkg-dir: dir: /usr net: address: 192.168.0.41 physical: eri0 NEW: # zonecfg -z tt info zonename: tt zonepath: /zones/tt autoboot: false pool: pool_default limitpriv: inherit-pkg-dir: dir: /lib inherit-pkg-dir: dir: /platform inherit-pkg-dir: dir: /sbin inherit-pkg-dir: dir: /usr net: address: 192.168.0.41 physical: vmxnet0 This message posted from opensolaris.org _______________________________________________ zones-discuss mailing list zones-discuss@opensolaris.org _______________________________________________ zones-discuss mailing list zones-discuss@opensolaris.org