Alasdair on Everything


Moving Zones between Servers on OpenSolaris

September 15th, 2010

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
Attaching...

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

Yay!

Entry Filed under: General

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed