You have to use the /dev path to your logical volume, and it cannot be mounted. type displayvg -v to see lv path. (i.e.. disk = [ ''phy:/dev/Volume00/lv01,ioemu:hda,w'' ]) ...max -----Original Message----- Message: 11 Date: Sun, 13 Aug 2006 21:49:37 +0200 From: "Henning Sprang" <henning_sprang@gmx.de> Subject: [Xen-users] using physical disks with HVM To: xen-users <xen-users@lists.xensource.com> Message-ID: <5bb00b3f0608131249q7a7a455td2a5583a1f9a1ae4@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi, As a previous thread in http://lists.xensource.com/archives/html/xen-users/2006-06/msg01111.html tells, it should be possible tun run hvm domains with a physical disk. There where other threads about this, but no solution for my current problem. When I try to use a disk defined as disk = [ ''phy:data/faitest-client-generic-hvm-disk,ioemu:hda,w''] (The device is a lvm volume) in my hvm domU, I get the message: Error: hvm: for qemu vbd type=file&dev=hda~hdd It seems qemu is expecting to get a file-based disk. What do I need to do to get hvm use a physical disk? I built Xen-3.0-testing from sources, so it might be that I am missing a dependency (no idea where they are documented, I figured the necessary dependenices for hvm myself). Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2006-Aug-15 21:08 UTC
[Xen-users] Re: FW: Xen-users Digest, Vol 18, Issue 54
On 8/14/06, Max E Baro <MEB@factsservices.com> wrote:> You have to use the /dev path to your logical volume, and it cannot be > mounted. type displayvg -v to see lv path. > > (i.e.. disk = [ ''phy:/dev/Volume00/lv01,ioemu:hda,w'' ])I don''t think that was the reason, I had a relative path from /dev, and it worked after a reboot as written in another mail ( I did oversee your post because it''s not shown in the same thread as my question). The Volume wasn''t mounted, as far as I know. (the error message is different in that case, also) After I had another reply I just tried it again the other day with the same config, and it just worked. I didn''t find what was causing the problem. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users