[libvirt-users] Performance tuning questions for mail server

Alex mysqlstudent at gmail.com
Mon Oct 10 21:52:28 UTC 2011


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?

Thanks for the other notes. I'm still trying to digest it all, but
continuing to make progress.

Thanks,
Alex




More information about the libvirt-users mailing list