Hello all.

I am trying to migrate a zone on OpenSolaris from one identical system to another. It's going from x86 to sparc, but even when going from x86 to x86 I get the same error. Here's the build of both systems

SunOS hostname 5.11 snv_111b i86pc i386 i86pc Solaris  (source system)
SunOS hostname 5.11 snv_111b sun4u sparc SUNW,Sun-Blade-100 Solaris (target system)

After creating the zone on zfs per expectations, I detach it it and get the typical directory you would expect:

# ls
SUNWdetached.xml  dev  root

I then run the following command to migrate the zone:

zfs send rpool/tedz...@migrate | ssh u...@hostname pfexec /usr/sbin/zfs receive -F rpool/tedz...@migrate

Everything looks good at that point. The zfs file system is mounted at rpool/tedzone automatically, and so I create a zone configuration to match that. However, when I run the attach I get the following error message:

zoneadm -z tedzone attach
cannot open 'rpool/tedzone/ROOT': dataset does not exist
ERROR: The -a, -d or -r option is required when there is no active root dataset

The funny thing here is that the zfs list on the source system doesn't mention this zfs file system:

rpool/tedzone              242M  64.1G  22.5K  /tedzone
rpool/tedzone/ROOT         242M  64.1G    19K  legacy
rpool/tedzone/ROOT/zbe     242M  64.1G   242M  /tedzone/root

Are we looking at a bug here?


Have a great day, and thank you for calling Sun!

Ted (Thomas E.) Ward
Technical Support Engineer
Sun Microsystems, Inc.
Operating Systems Technology Service Center

Email: ted.w...@sun.com
Phone: 303-464-4594
My Working Hours : 9am-6pm MT, Monday thru Friday
My Manager's Email: phil.w...@sun.com
1. Call 1-800-USA-4SUN choose opt 2 and enter your case number.
2. Wait for my voice mail message to begin.
3. Press "0" during my message to reach the next available engineer.
4. You will hear hold music until the next engineer answers.
Submit, check and update tickets at http://www.sun.com/osc
This email may contain confidential and privileged material for the sole
use of the intended recipient. Any review or distribution by others is
strictly prohibited. If you are not the intended recipient please
contact the sender and delete all copies.
zones-discuss mailing list

Reply via email to