<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Greetings All,<br>
<br>
I was running libvirt-0.9.10 on CentOS 6.3 and it was working
perfectly until yesterday when I decided to update to 6.4, which
upgraded libvirt-0.9.10 to libvirt-0.10.2.<br>
<br>
I have a storage pool of type volume group, upon upgrading to
libvirt-0.10.2, the disk image gets created as a snapshot on the
volume group not as a regular volume.<br>
<br>
Now every time I create a vm using virt-install on a vg, the lv gets
created as a snapshot not a regular lv, as a result I get the
following error when I run dmesg:<br>
<blockquote>device-mapper: snapshots: Invalidating snapshot: Unable
to allocate exception.<br>
Buffer I/O error on device dm-5, logical block 128251<br>
Buffer I/O error on device dm-5, logical block 256<br>
lost page write due to I/O error on dm-5<br>
Buffer I/O error on device dm-5, logical block 257<br>
lost page write due to I/O error on dm-5<br>
Buffer I/O error on device dm-5, logical block 258<br>
lost page write due to I/O error on dm-5<br>
Buffer I/O error on device dm-5, logical block 259<br>
lost page write due to I/O error on dm-5<br>
Buffer I/O error on device dm-5, logical block 260<br>
lost page write due to I/O error on dm-5<br>
Buffer I/O error on device dm-5, logical block 261<br>
lost page write due to I/O error on dm-5<br>
Buffer I/O error on device dm-5, logical block 262<br>
lost page write due to I/O error on dm-5<br>
Buffer I/O error on device dm-5, logical block 263<br>
lost page write due to I/O error on dm-5<br>
lost page write due to I/O error on dm-5<br>
</blockquote>
and the following on the domain's log file:<br>
<blockquote>block I/O error in device 'drive-virtio-disk0':
Input/output error (5)<br>
</blockquote>
# virt-install --name="ns1" --vcpus="2" --check-cpu --ram=512
--os-variant="rhel6" --network "bridge=br0" --disk
"pool=vdisks,size=22,cache=writeback" --vnc --hvm
--vnclisten="0.0.0.0"
--cdrom="/mnt/ISOs/centos/x86_64/CentOS-6.3-x86_64-bin-DVD1.iso"
--hvm<br>
# lvs | grep ns<br>
ns1.img vm_volumes swi-aos-- 4.00m
[ns1.img_vorigin] 0.00<br>
<br>
When I try to create a volume using virt-manager on the volume
group, it gets created as a snapshot. But when I create a volume
using virsh, it gets created correctly;<br>
<blockquote>virsh # vol-create-as vdisks test 23622320128<br>
<br>
# lvs | grep test<br>
test vm_volumes -wi-a---- 22.00g<br>
</blockquote>
If anyone came across this issue or can provide an advice, I will
appreciate it so much.<br>
<pre class="moz-signature" cols="72">--
Best Regards,
Ahmed Ossama</pre>
</body>
</html>