However, the zone will not boot, because the dataset created for it is a zvol rather than a filesystem:
sudo zoneadm -z ebooktools bootzoneadm: /zcage/vms/ebooktools: No such file or directorycould not verify zonepath /zcage/vms/ebooktools because of the above errors.zoneadm: zone ebooktools failed to verify
zfs get type rpool/zcage/vms/ebooktoolsNAME PROPERTY VALUE SOURCErpool/zcage/vms/ebooktools type volume -
As an aside, when trying to use zcage to start the zone, the error message lacks detail, and the command hangs:
sudo ./zcage start -z ebooktoolsebooktools start [ERR]
I am attempting to create an lx zone from a joyent ubuntu image using zcage version 1.5.0 on omnios-r151036-de483383c0:
pfexec ./zcage create --net "ebook0|192.168.10.150/24|192.168.10.1" --ram 4gb --with-image 9aa48095-da9d-41ca-a094-31d1fb476b98 --alias ebooktools --brand lx
The command completes successfully, and the resultant zone info looks good:
./zcage info -z ebooktools
However, the zone will not boot, because the dataset created for it is a
zvol
rather than afilesystem
:sudo zoneadm -z ebooktools boot
zoneadm: /zcage/vms/ebooktools: No such file or directory
could not verify zonepath /zcage/vms/ebooktools because of the above errors.
zoneadm: zone ebooktools failed to verify
zfs get type rpool/zcage/vms/ebooktools
NAME PROPERTY VALUE SOURCE
rpool/zcage/vms/ebooktools type volume -
As an aside, when trying to use zcage to start the zone, the error message lacks detail, and the command hangs:
sudo ./zcage start -z ebooktools
ebooktools start [ERR]