"Henning Sprang" <henning_sprang@xxxxxx> wrote on 08/13/2006 02:49:37 PM:
> 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'm using LVM volumes for my HVM disks just fine. Did you try specifying
the full name of the device with the "/dev/" prefix? For example:
disk = [ 'phy:/dev/data/faitest-client-generic-hvm-disk,ioemu:hda,w']
My HVM domU config file has:
disk = ['phy:/dev/virt-blkdev-backend/hvm1,ioemu:hda,w',
'phy:/dev/virt-blkdev-backend/usr,ioemu:hdb,r','phy:/dev/virt-blkdev-disk_io_test/hvm1,ioemu:hdd,w']
and it works fine. The first entry is the domU boot disk with the root
file system partition, the second entry is the read-only /usr file system,
the third entry is a blank disk for testing disk I/O.
Steve D.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|