On Wed, 19 May 2010 20:47:41 +0200, Philippe Bürgisser 
<burgis...@rfidcenter.ch> wrote:

> I followed the guide 
> (http://docs.sun.com/app/docs/doc/819-2450/gcgnc?l=en&a=view) from sun to 
> move a working zone into a new server with the same configuration.
>
> I executed those commands :
>
> tar xf myzone.tar --> to /export/zones/myzone
> zonecfg -z myzone
> create -a /export/zones/myzone
>
> all was ok
>
> when I wanted to attach, I got this message
> r...@ns358375:/# zoneadm -z proxiproduits attach -u

try these steps for v2v, thats how it worked for me when I tested
this last time:

source system:
 
batsc...@suizid:~$ zoneadm list -cp
0:global:running:/::ipkg:shared
-:my-zone:installed:/tank/zones/my-zone:629e41d5-7d92-4949-cd8b-ee755143fea0:ipkg:shared
 
batsc...@suizid:~$ pfexec zoneadm -z my-zone detach
 
batsc...@suizid:~$ zoneadm list -cp
0:global:running:/::ipkg:shared
-:my-zone:configured:/tank/zones/my-zone::ipkg:shared
 
batsc...@suizid:~$ cd /tank/zones
 
batsc...@suizid:/tank/zones$ su
Password: 
 
batsc...@suizid:/tank/zones# find my-zone -print | cpio -oP@/ | gzip > 
my-zone.cpio.gz
891010 blocks
batsc...@suizid:/tank/zones# ls -la my-zone.cpio.gz
-rw-r--r--   1 root     root     124913062 Mar 10 14:06 my-zone.cpio.gz
 
target system:
 
osoldev.batschul./.=> zoneadm list -cp
0:global:running:/::ipkg:shared
-:my-zone:configured:/tank/zones/my-zone::ipkg:shared

NB: the location of he archive here is important afai recall, ie
it shall be in the zoneroots parent:
 
osoldev.batschul./.=> pfexec zoneadm -z my-zone attach -a 
/tank/zones/my-zone.cpio.gz -u
Log File: /tmp/my-zone.attach_log.doaGco
Attaching...
 
       Global zone version: ent...@0.5.11,5.11-0.134:20100302T023003Z
   Non-Global zone version: ent...@0.5.11,5.11-0.134:20100302T023003Z
                Evaluation: Packages in my-zone are in sync with global zone.
Attach complete.
 
osoldev.batschul./.=> zoneadm list -cp
0:global:running:/::ipkg:shared
-:my-zone:installed:/tank/zones/my-zone:53c18130-533f-69ab-c998-f160f0a8ebc3:ipkg:shared
 
hth
frankB

_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to