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



"Hauke Fath (SPG)" <hf%spg.tu-darmstadt.de@localhost> writes:

> On 2024-07-11 16:14, Hauke Fath (SPG) wrote:
>> Both image files (FreeBSD and Arch) are bootable as DomU both from ffs 
>> and zfs filesystems.
>
> FTFOI, after
>
> # dd if=/dev/zvol/rdsk/tank/arch-stick 
> of=/u/xen_domus/arch-stick-zvol-copy bs=32k
> #
>
> (/u is a zfs mount) the copy results in a working DomU, which would 
> indicate that this is not a general zvol issue, but a matter of how Xen 
> accesses the zvol.
>
> Cheerio,
> Hauke


It wasn't clear to me exactly what was in your HVM DOMU config file that
didn't work, but in all cases that I have seen that were simular it was
caused by a mistake on my part where I put the wrong device in the
config file.  I believe that the "dsk" device must be used in a Xen
config to access a zvol for the purposes of presenting it to the guest.
That is, make sure that you use the block device and not the character
device.  The same is true of LVM and all other storage types, I believe.





-- 
Brad Spencer - brad%anduin.eldar.org@localhost - KC8VKS - http://anduin.eldar.org


Home | Main Index | Thread Index | Old Index