[OpenIndiana-discuss] zone detach / tar archive / attach

Francois Dion francois.dion at gmail.com
Thu Jul 4 02:38:41 UTC 2013


Doing some tests, wanted to see if I could attach a zone from a tar
archive. Created a /zones/postgresql zfs and tar xf into that zfs
filesystem.

After doing a zonecfg, and a create -a /zones/postgresql
# zoneadm -z postgresql attach -u
Log File: /var/tmp/postgresql.attach_log..2aypj
ERROR: Failed to locate any dataset mounted at /zones/postgresql/root.
Attach requires a mounted dataset.
                    Result: Attach Failed.

Or if I try force:

# zoneadm -z postgresql attach -F
# zoneadm -z postgresql boot
zone 'postgresql': ERROR: no active dataset.
zone 'postgresql':
zoneadm: zone 'postgresql': call to zoneadmd failed


Any idea what is going on?

Francois


More information about the OpenIndiana-discuss mailing list