[OpenIndiana-discuss] zfs error when creating zones on OI-148

Jonathan Adams t12nslookup at gmail.com
Thu Jul 21 11:00:37 UTC 2011


did you create the directory "template" ?

if so, delete it and try again.

On 20 July 2011 22:06, Jerry Kemp <sun.mail.list47 at oryx.cc> wrote:
> I am having problems installing my first OpenIndiana b148 zone, and am
> running into this error:
>
> ..................
> # zoneadm -z template install
> ERROR: the zonepath must be a ZFS dataset.
> The parent directory of the zonepath must be a ZFS dataset so that the
> zonepath ZFS dataset can be created properly.
> #
> ..................
>
> My Yahoo-fu turns up several hits, but with no solutions to the issue,
> other than referencing an old bug report.  This thread being the most
> common.
>
> http://opensolaris.org/jive/thread.jspa?threadID=137053
>
> I have posted some additional details below.  This is/was going to be
> just a very basic template zone, so I could use it to clone off a bunch
> of additional zones.
>
> TIA for any pointers
>
> Jerry
>
> ...........................................................
>
>
>
> # cat /etc/release
>                      OpenIndiana Development oi_148 X86
>        Copyright 2010 Oracle and/or its affiliates. All rights reserved.
>                        Use is subject to license terms.
>                           Assembled 29 November 2010
> #
>
>
>
> # zonecfg -z template info
> zonename: template
> zonepath: /zones/template
> brand: ipkg
> autoboot: false
> bootargs:
> pool:
> limitpriv:
> scheduling-class:
> ip-type: shared
> hostid:
> fs-allowed:
> #
>
>
> # zfs list | egrep 'NAME|zone'
> NAME                       USED  AVAIL  REFER  MOUNTPOINT
> d911pool/zones             628K  1.60T   628K  /zones
> ultra20m3 /root 418 #
>
>
> # pwd
> /zones
> # ls -l
> total 3
> drwx------   2 root     root           2 Jul 20 15:57 template
> # find . -print
> .
> ./template
> #
>
>
> # df -h .
> Filesystem             size   used  avail capacity  Mounted on
> d911pool/zones         2.7T    43K   1.6T     1%    /zones
> #
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>



More information about the OpenIndiana-discuss mailing list