Hi All,
I'm having issue with creating LVM volume via libvirt.
XML of LVM StoragePool is:
<pool type="logical">
<name>VG01</name>
<target>
<path>/dev/VG01</path>
</target>
</pool> (existing vg)
XML of create volume in lvm pool is:
<volume type="block">
<name>ub_test01.img</name>
<allocation>0</allocation>
<capacity unit="M">1</capacity>
<target>
<format type="lvm2" />
</target>
</volume>
When I create the volume with above XML defn, lvs command to list logical volume shows a value in the origin column indicating it was created as snapshot.. the strange thing is that the origin volume does not exist..! something strange going on. You can see the lvs output here See http://pastebin.com/prk6VqwD
I'd appreciate if you anyone can help me understand what is going on and/or describe how to make libvirt create logical volumes not as a snapshot.
We are running libvirtd 1.2 with KVM.
Regards,
Ravi
Message sent via Atmail Open - http://atmail.org/
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list