← Back to team overview

openstack team mailing list archive

Re: [OPENSTACK] Does diablo support lvm block devices instead files for VMs?

 

Hi!

Could someone answer for my question?

2011/10/7 Roman Sokolkov <rsokolkov@xxxxxxxxx>

> Hi! For my research I think Diablo doesn't support LVM block devices for
> VMs, does it?
>
> In /usr/share/nova/libvirt.xml.template only file supports for main disk
> device. I am right?
>
>     #if $getVar('rescue', False)
>         <disk type='file'>
>             <driver type='${driver_type}'/>
>             <source file='${basepath}/disk.rescue'/>
>             <target dev='${disk_prefix}a' bus='${disk_bus}'/>
>         </disk>
>         <disk type='file'>
>             <driver type='${driver_type}'/>
>             <source file='${basepath}/disk'/>
>             <target dev='${disk_prefix}b' bus='${disk_bus}'/>
>         </disk>
>     #else
>         #if not ($getVar('ebs_root', False))
>         <disk type='file'>
>             <driver type='${driver_type}'/>
>             <source file='${basepath}/disk'/>
>             <target dev='${root_device}' bus='${disk_bus}'/>
>         </disk>
>         #end if
>
> Thanks
>



-- 
Regards, Roman Sokolkov

Follow ups

References