← Back to team overview

openstack team mailing list archive

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

 

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

Follow ups