Hi All,
I have been having issue while using an NFS backed datastore with QCOW2 TM
Driver.
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
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
i changed this
[oneadmin@chlorine qcow2]$ pwd
/var/lib/one/remotes/tm/qcow2
[oneadmin@chlorine qcow2]$ diff -u mvds.bkp mvds
--- mvds.bkp 2012-05-07 07:53:49.058916305 +0000
+++ mvds 2012-05-07 07:54:04.011624371 +0000
@@ -53,7 +53,7 @@
SRC_READLN=\$($READLINK -f $SRC_PATH)
DST_READLN=\$($READLINK -f $DST_PATH)
-if [ \( -L $SRC \) -a \( "\$SRC_READLN" = "\$DST_READLN" \) ] ; then
+if [ \( -L $SRC_PATH \) -a \( "\$SRC_READLN" = "\$DST_READLN" \) ] ; then
echo "Not moving files to image repo, they are the same"
else
qemu-img convert $SRC_PATH -O qcow2 $DST_PATH
Now it seems to be working fine.
I am exteremely new to OpenNebula ... maybe i was doing something wrong?
Thanks
Francesco
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org