Did you try:

 # zoneadm attach -z  bibcmi4 -d rpool/zones/bibcmi4/ROOT/zbe-2

-d is an ipkg specific option.

-Steve L.

Gerard Henry wrote:
hello all, i need to move zones from serv1 to serv2. Every server is os2009.06 b111b
On serv1, i have, after detach:

serv1 # zfs list -r rpool/zones/bibcmi4
NAME                             USED  AVAIL  REFER  MOUNTPOINT
rpool/zones/bibcmi4             1.46G  8.43G    38K  /zones/bibcmi4
rpool/zones/bibcmi4/ROOT        1.46G  8.43G    18K  legacy
rpool/zones/bibcmi4/ROOT/zbe    1.33M  8.43G   828M  legacy
rpool/zones/bibcmi4/ROOT/zbe-2  1.45G  8.43G   877M  /zones/bibcmi4/root

following this post:
http://mail.opensolaris.org/pipermail/zones-discuss/2010-February/006060.html

i send the snapshots on serv2, and i have:
serv2 # zfs list -r rpool/zones/bibcmi4
NAME                             USED  AVAIL  REFER  MOUNTPOINT
rpool/zones/bibcmi4             1.29G  45.9G    38K  /zones/bibcmi4
rpool/zones/bibcmi4/ROOT        1.29G  45.9G    19K  legacy
rpool/zones/bibcmi4/ROOT/zbe     494M  45.9G   494M  legacy
rpool/zones/bibcmi4/ROOT/zbe-2   825M  45.9G   825M  /zones/bibcmi4/root

(the last line was legacy, and i set the mountpoint manually)
i did a zonecfg, with "create -a"

but now, it fails to attach:
serv2 # zoneadm -z bibcmi4 attach ERROR: The -a, -d or -r option is required when there is no active root dataset.

i found another thread related to this message:
http://opensolaris.org/jive/thread.jspa?messageID=439124

but unfortunately, it doesn't help. The option doesn't exist in zoneadm, so i don't understand what's happen.
The official docs http://docs.sun.com/app/docs/doc/817-1592/zone?a=view doesn't 
take this case into account (zonepaths on zfs).

I need to move zones before upgrading to b134,
thanks in advance for help,

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

Reply via email to