Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: hvm domus on netbsd-10 dom0 zvol



On 2024-07-11 15:30, Greg Troxel wrote:
I am not understanding what you are doing.

Sorry.

netbsd-10 Dom0 running of a (ffs) raidframe mirror, trying to run DomUs off zvols on a separate zfs mirror.

Both DomU client systems appear to hang as soon as the kernel tries to access the filesystem on zvol.

I am running multipe PV domUs.   Each has two logical disks.  From a
config:

   disk = [
           'phy:/dev/zvol/dsk/tank0/vm/n9-amd64,0x0,w',
           'phy:/dev/zvol/dsk/tank0/vm/n9-amd64.swap,0x1,w'
           ]

Yeah well, PV. Mine are HVM, running off an rdsk zvol via vnd.

I made the zvols via

   zfs create -p -V 32G tank0/vm/n9-amd64
   zfs create -p -V 8G tank0/vm/n9-amd64.swap

Roughly the same here...

(and then did
   newfs -O2 /dev/zvol/rdsk/tank0/vm/n9-amd64
and rsynced an old laptop's filesystem, to it to a domU for package
building, but that I think is not relevant.)

... then dd'ed images from working setups to the zvols.

Both image files (FreeBSD and Arch) are bootable as DomU both from ffs and zfs filesystems.

What happens when you dd the zvol to /dev/null, in the dom0?

# dd if=/dev/zvol/rdsk/tank/arch-stick of=/dev/null bs=32k
655360+0 records in
655360+0 records out
21474836480 bytes transferred in 24.876 secs (863275304 bytes/sec)
#

Any logs from dom0/xen?

# cat /var/log/xen/qemu-dm-arch-stick.log
char device redirected to /dev/pts/4 (label serial0)
VNC server running on 127.0.0.1:5901
qemu-system-i386: failed to create 'qdisk' device '768': no dev parameter
brconfig: bn1 is not a bridge
qemu-system-i386: network script /etc/pkg/xen/scripts/qemu-ifup failed with status 256
qemu-system-i386: terminating on signal 1 from pid 6700 (<unknown process>)
#

-- no idea what the brconfig(8) error is from, there is no 'bn1' anywhere. Same for the 'qdisk' eror - I found <http://mail-index.netbsd.org/port-xen/2021/01/17/msg009881.html>, but it was inconclusive.

Cheerio,
Hauke

--
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email	        Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-21344



Home | Main Index | Thread Index | Old Index