Thank you, but I had been following the installation guide. I have indeed first
imported that specific image. I just checked again just to be sure.
If I'm right the script fails when trying to get the third item of the last
line of the result of the 'mount' command (see below). I don't see why it fails
though.
[root@00-25-90-7c-67-24 ~]# imgadm list
UUID NAME VERSION OS PUBLISHED
d34c301e-10c3-11e4-9b79-5f67ca448df0 base64 14.2.0 smartos
2014-07-21T10:43:17Z
[root@00-25-90-7c-67-24 ~]# mount
/ on /devices/ramdisk:a
read/write/setuid/devices/intr/largefiles/xattr/onerror=panic/dev=1480001 on
Tue Feb 3 06:20:45 2015
/devices on /devices read/write/setuid/devices/dev=88c0000 on Tue Feb 3
06:20:42 2015
/dev on /dev read/write/setuid/devices/dev=8900000 on Tue Feb 3 06:20:42 2015
/system/contract on ctfs read/write/setuid/devices/dev=8980001 on Tue Feb 3
06:20:42 2015
/proc on proc read/write/setuid/devices/dev=8940000 on Tue Feb 3 06:20:42 2015
/etc/mnttab on mnttab read/write/setuid/devices/dev=89c0001 on Tue Feb 3
06:20:42 2015
/etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=8a00001 on Tue
Feb 3 06:20:42 2015
/system/object on objfs read/write/setuid/devices/dev=8a40001 on Tue Feb 3
06:20:42 2015
/system/boot on bootfs read/write/setuid/devices/dev=8a80001 on Tue Feb 3
06:20:42 2015
/etc/dfs/sharetab on sharefs read/write/setuid/devices/dev=8ac0001 on Tue Feb
3 06:20:42 2015
/usr on /devices/pseudo/lofi@0:1 read
only/setuid/devices/intr/largefiles/xattr/onerror=panic/dev=900001 on Tue Feb
3 06:20:45 2015
/lib/libc.so.1 on /usr/lib/libc/libc_hwcap1.so.1
read/write/setuid/devices/dev=900001 on Tue Feb 3 06:20:45 2015
/dev/fd on fd read/write/setuid/devices/dev=8c00001 on Tue Feb 3 06:20:45 2015
/var on zones/var
read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=1690004 on Tue Feb 3
06:20:47 2015
/etc/zones on zones/config
read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=1690005 on Tue Feb 3
06:20:48 2015
/opt on zones/opt
read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=1690006 on Tue Feb 3
06:20:48 2015
/usbkey on zones/usbkey
read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=1690007 on Tue Feb 3
06:20:48 2015
/etc/shadow on /usbkey/shadow read/write/setuid/devices/dev=1690007 on Tue Feb
3 06:20:48 2015
/etc/ssh on /usbkey/ssh read/write/setuid/devices/dev=1690007 on Tue Feb 3
06:20:48 2015
/tmp on swap read/write/setuid/devices/xattr/dev=8a00002 on Tue Feb 3 06:20:49
2015
/var/run on swap read/write/setuid/devices/xattr/dev=8a00003 on Tue Feb 3
06:20:49 2015
/zones/d34c301e-10c3-11e4-9b79-5f67ca448df0 on
zones/d34c301e-10c3-11e4-9b79-5f67ca448df0
read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=169000a on Wed Feb 4
20:33:05 2015
> On 5 feb. 2015, at 21:57, Sebastien Perreault via smartos-discuss
> <[email protected]
> <mailto:[email protected]>> wrote:
>
> You need to import the image d34c301e-10c3-11e4-9b79-
> 5f67ca448df0,
>
> The guide here
> https://docs.project-fifo.net/en/latest/general/installation.html
> <https://docs.project-fifo.net/en/latest/general/installation.html> specifies
> you need to do this before
>
> imgadm update
> imgadm import d34c301e-10c3-11e4-9b79-5f67ca448df0
>
> Seb,
>
>
> On Thu, Feb 5, 2015 at 3:47 PM, Rudi via smartos-discuss
> <[email protected]
> <mailto:[email protected]>> wrote:
> Hi there,
>
> I get this error message when trying to create a zone:
>
> [root]# vmadm create -f fifo.json
> Command failed: Brand error: missing parent ZFS dataset for /zones
>
> It seems the zone was created:
> [root]# vmadm list
> UUID TYPE RAM STATE ALIAS
> a126e1bc-8238-44a8-8d8c-921fb505afb0 OS 3072 provisioning fifo
>
> Any idea what’s going wrong?
>
> Rudi Angela
>
> PS. the configuration I used:
>
> {
> "zonename": "fifo",
> "autoboot": true,
> "brand": "joyent",
> "image_uuid": "d34c301e-10c3-11e4-9b79-5f67ca448df0",
> "max_physical_memory": 3072,
> "cpu_cap": 100,
> "alias": "fifo",
> "quota": "40",
> "resolvers": [
> "8.8.8.8",
> "8.8.4.4"
> ],
> "nics": [
> {
> "interface": "net0",
> "nic_tag": "admin",
> "ip": "151.80.166.1",
> "mac": "02:00:00:fd:bf:e9",
> "primary": "true",
> "gateway": "151.80.166.14",
> "netmask": "255.255.255.240"
> }
> ]
> }
>
>
> smartos-discuss | Archives
> <https://www.listbox.com/member/archive/184463/=now>
> <https://www.listbox.com/member/archive/rss/184463/26900931-98fbc364> |
> Modify <https://www.listbox.com/member/?&> Your Subscription
> <http://www.listbox.com/>
>
>
> --
> Sebastien Perrreault
> Partner
> Les Technologies Alesium Inc
> P: 514-298-7193
> F: 514-221-3668
> E: [email protected] <mailto:[email protected]>
>
> "Life's missed opportunities, at the end, may seem more poignant to us than
> those we embraced--because in our imagination they have a perfection that
> reality can never rival." -- Roger Ebert
> smartos-discuss | Archives
> <https://www.listbox.com/member/archive/184463/=now>
> <https://www.listbox.com/member/archive/rss/184463/23891937-63b4227d> |
> Modify <https://www.listbox.com/member/?&> Your Subscription
> <http://www.listbox.com/>
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com