Thank you,

I tried :

zonecfg -z myzone
zonecfg:myzone> delete
zonecfg:myzone> exit

zfs destroy -r rpool/export/zones/myzone
zfs create rpool/export/zones/myzone
chmod go-rwx /export/zones/myzone

zonecfg -z myzone
zonecfg:myzone> create
zonecfg:myzone> set zonepath=/export/zones/myzone
zonecfg:myzone> commit
zonecfg:myzone> exit

zoneadm -z myzone attach -a /root/myzone.tar -u
cannot open 'rpool/export/zones/myzone/ROOT': dataset does not exist
tar archive
pkg: No image rooted at '/export/zones/myzone/root' (set by $PKG_IMAGE)
Usage: Unable to get preferred publisher information for zone '%s'.
usage:  attach [-F] [-n <path>] [brand-specific args]
        Attach the zone to the system.  The zone state must be 'configured'
        prior to attach; upon successful completion, the zone state will be
        'installed'.  The system software on the current system must be
        compatible with the software on the zone's original system.
        Specify -F to force the attach and skip software compatibility tests.
        The -n option can be used to specify 'no-execute' mode.  When -n is
        used, the information needed to attach the zone is read from the
        specified path and the configuration is only validated.  The path can
        be '-' to specify standard input.  The -F and -n options are mutually
        exclusive.  All other arguments are passed to the brand attach
        function; see brands(5) for more information.

So... same errors, snif snif
This message posted from
zones-discuss mailing list

Reply via email to