I'm assuming that the zone on the originator computer is not ZFS, and that is why you are using tar.
root@salmon190-90:~# zfs list -r /zones NAME USED AVAIL REFER MOUNTPOINT rpool1/export/zones 7.84G 207G 35K /zones rpool1/export/zones/cupszone 1.20G 207G 33K /zones/cupszone rpool1/export/zones/cupszone/ROOT 1.20G 207G 31K legacy rpool1/export/zones/cupszone/ROOT/zbe 2.96M 207G 717M legacy rpool1/export/zones/cupszone/ROOT/zbe-1 1.20G 207G 1.01G legacy rpool1/export/zones/gitzone 851M 207G 33K /zones/gitzone rpool1/export/zones/gitzone/ROOT 851M 207G 31K legacy rpool1/export/zones/gitzone/ROOT/zbe 851M 207G 851M legacy rpool1/export/zones/sambazone 5.80G 207G 35K /zones/sambazone rpool1/export/zones/sambazone/ROOT 1.63G 207G 31K legacy rpool1/export/zones/sambazone/ROOT/zbe 35K 207G 601M legacy rpool1/export/zones/sambazone/ROOT/zbe-1 3.10M 207G 1.06G legacy rpool1/export/zones/sambazone/ROOT/zbe-2 1.63G 207G 1.16G legacy rpool1/export/zones/sambazone/profiles 4.17G 207G 1.69G /zones/sambazone/profiles what does your "zfs list" look like? You may find it easier to create a zone on the new server, and then untar the specific files into it. Jon On 4 July 2013 03:38, Francois Dion <[email protected]> wrote: > 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 > _______________________________________________ > OpenIndiana-discuss mailing list > [email protected] > http://openindiana.org/mailman/listinfo/openindiana-discuss > _______________________________________________ OpenIndiana-discuss mailing list [email protected] http://openindiana.org/mailman/listinfo/openindiana-discuss
