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

Roman Sokolkov rsokolkov at gmail.com
Thu Oct 6 20:36:42 UTC 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20111007/bdabb689/attachment.html>


More information about the Openstack mailing list