[OpenIndiana-discuss] zfs error when creating zones on OI-148
sun.mail.list47 at oryx.cc
Thu Jul 21 15:26:56 UTC 2011
On 07/21/11 06:00, Jonathan Adams wrote:
> did you create the directory "template" ?
I didn't need to.
zoneadm created that directory for me, prior to erroring out.
Its included in the supporting data at the bottom of the email. Created
correctly with 0700 permissions.
> if so, delete it and try again.
Based on your directory suggestion, I have attempted to run the zoneadm
install command, both with the directory in-place, and to remove it, and
let zoneadm recreate it again. There is no difference, and the error
Thank you for your suggestion. I appreciate it.
> 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
>> 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
>> # 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
>> ip-type: shared
>> # zfs list | egrep 'NAME|zone'
>> NAME USED AVAIL REFER MOUNTPOINT
>> d911pool/zones 628K 1.60T 628K /zones
>> ultra20m3 /root 418 #
>> # pwd
>> # ls -l
>> total 3
>> drwx------ 2 root root 2 Jul 20 15:57 template
>> # find . -print
>> # df -h .
>> Filesystem size used avail capacity Mounted on
>> d911pool/zones 2.7T 43K 1.6T 1% /zones
More information about the OpenIndiana-discuss