Problem with a RAW Disk and Xen

Christoph mangel at gmx.de
Thu Aug 27 09:49:27 UTC 2020


Hi All,

I have in config of 2 Xen DomU's this disk:

<disk type='file' device='disk'>
       <driver name='qemu' type='raw'/>
       <source file='/dev/mapper/keys'/>
       <target dev='xvdz' bus='xen'/>
       <readonly/>
</disk>

If I start the DomU's then all starts without problem, see this in log
of the DomU:

{
             "pdev_path": "/dev/mapper/keys",
             "vdev": "xvdz",
             "backend": "qdisk",
             "format": "raw",
             "removable": 1,
             "discard_enable": "False",
             "colo_enable": "False",
             "colo_restore_enable": "False"
}

but this disk isn't there in the domU... Why?
It is a shared disk between the DomU's but configured as "readonly" so
there shouldnt be a problem (with the same xen xl configuration, there
is no problem)

--
------
Greetz





More information about the libvirt-users mailing list