On Mon, Oct 10, 2011 at 05:52:28PM -0400, Alex wrote:
Hi,
>> I'm using
>> deadline scheduler, the /var partition is mounted noatime, and the
>> disk is mounted raw:
>>
>> <disk type='file' device='disk'>
>> <driver name='qemu' type='raw'/>
>> <source file='/var/lib/libvirt/images/mail02.img'/>
>> <target dev='vda' bus='virtio'/>
>> <address type='pci' domain='0x0000' bus='0x00'
slot='0x05'
>> function='0x0'/>
>
> I meant raw disk devices rather than files e.g.
> <disk type='block' device='disk'>
> <driver name='qemu' type='raw' cache='none'/>
> <source dev='/dev/server02_vg1_2tb/lv_vm03_swap'/>
> <target dev='vdb' bus='virtio'/>
> </disk>
I made this change by editing the xml, restarting libvirtd, then using
virsh to define the xml file and received this message:
virsh # define /etc/libvirt/qemu/bwimail02.xml
error: Failed to define domain from /etc/libvirt/qemu/bwimail02.xml
error: missing source information for device vda
Have I done something wrong, or am I missing something?
You'll need to show us the xml file.
-Robin