Moving Zones between Servers on OpenSolaris

By Alasdair Lumsden on 15 Sep 2010

Moving zones between servers on OpenSolaris

A very very quick post.

If you get:

# zoneadm -z blah attach
ERROR: no active dataset.
                    Result: Attach Failed.

The issue is that the zone boot environment isn’t mounted. The zbe is set with the legacy option so you have to use the old mount command, eg:

# mount -F zfs rpool/zones/blah/ROOT/zbe /zones/blah/root
# zoneadm -z blah attach

preferred global publisher:
                     Cache: Using /var/pkg/download.
  Updating non-global zone: Output follows
Creating Plan