Hi All,<br><br>I have been having issue while using an NFS backed datastore with QCOW2 TM Driver.<br><br>my persistent images would be properly created with a link to datastores/0 but would get corrupted on shutdown where the "link" was not identified and so "qemu-img convert" was run on them<br>
<br>I diffed the mvds for qcow2 and shared TM drivers (that are supposed to be very similar afaik) and found a difference in the link check<br><br>i changed this<br><br>[oneadmin@chlorine qcow2]$ pwd<br>/var/lib/one/remotes/tm/qcow2<br>
[oneadmin@chlorine qcow2]$ diff -u mvds.bkp mvds<br>--- mvds.bkp 2012-05-07 07:53:49.058916305 +0000<br>+++ mvds 2012-05-07 07:54:04.011624371 +0000<br>@@ -53,7 +53,7 @@<br> SRC_READLN=\$($READLINK -f $SRC_PATH)<br>
DST_READLN=\$($READLINK -f $DST_PATH)<br> <br>-if [ \( -L $SRC \) -a \( "\$SRC_READLN" = "\$DST_READLN" \) ] ; then<br>+if [ \( -L $SRC_PATH \) -a \( "\$SRC_READLN" = "\$DST_READLN" \) ] ; then<br>
echo "Not moving files to image repo, they are the same"<br> else<br> qemu-img convert $SRC_PATH -O qcow2 $DST_PATH<br><br><br><br>Now it seems to be working fine.<br><br>I am exteremely new to OpenNebula ... maybe i was doing something wrong?<br>
<br>Thanks<br>Francesco<br><br>