On Mon, 21 Aug 2017, James E. Pace wrote:

> zfs create -V20G -o volmode=dev pool/xen-ubuntu

This is correct.

> disk = [
>     '/dev/zvol/pool/xen-ubuntu,,hda,rw',
>     '/pool/Downloads/ubuntu-15.10-desktop-amd64.iso,raw,hdc:cdrom,r'
>     ]

Can you try adding "raw" between commas?

http://xenbits.xen.org/docs/unstable/man/xl-disk-configuration.5.html

says "raw" is the default, though, so it shouldn't matter.

Here is my complete configuration file, sans some comments:

builder = "hvm"
name = "fedora"
disk = [
        '/dev/zvol/zroot/fedora0,raw,xvda,w'
#       '/root/xen/Fedora-Server-netinst-x86_64-25-1.3.iso,raw,hdc:cdrom,r'
]
boot = "c"
bios = "ovmf"
usbdevice = 'tablet'
vnc = 1
vif = ['bridge=bridge1,mac=00:02:04:08:99:f0']
memory=2048
vcpus=2
vga = "stdvga"
videoram = 16
xen_platform_pci=0
]

As you can see I am using OVMF for booting (this currently requires
modification to the port's Makefile and recompiling, see the
archives), but I think this shouldn't matter to that type of error
you are having.

This works very well with zvols. There should be no need to
create image files. (I am using zvols for FreeBSD, fedora, RHEL
and Solaris 11.3 guests).

Marcin

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to