[Pkg-xen-devel] Bug#784810: Bug#784810: Xen domU try ton access to dom0 LVM Volume group

Ian Campbell ijc at debian.org
Sat May 9 11:25:42 UTC 2015


On Sat, 2015-05-09 at 03:41 +0200, Romain Mourier wrote:
[...]
>     xen-create-image --hostname=test0 --lvm=raid10 --fs=ext4
> --bridge=br-lan --dhcp --dist=jessie
[...]
> root at hv0:~# xl create /etc/xen/test0.cfg && xl console test0

What does /etc/xen/test0.cfg contain? I suspect it is reusing the dom0
initramfs and hence has inherited some sort of hook script which insists
on the RAID stuff being present.

That would be a bug in either xen-create-image or something relating to
initramfs generation (initramfs-tools or some raid related hook file
provided by whatever package provides such things).

Note that xen-create-image is a separate project/package from xen
itself. (As are initramfs-tools etc obviously).

[...]
> [    0.000000] Command line: root=/dev/xvda2 ro elevator=noop
[...]
>   Volume group "SSD-RAID1" not found
>   Skipping volume group SSD-RAID1
> Unable to find LVM volume SSD-RAID1/swap

Ian.



More information about the Pkg-xen-devel mailing list