Hello Francesco, you're absolutely right. It's a bug. Thanks *a lot* for reporting it.
We have added it to the know issues list: http://opennebula.org/documentation:rel3.4:known_issues And fixed it in master: http://dev.opennebula.org/issues/1273 thanks! Jaime On Mon, May 7, 2012 at 10:12 AM, fc lists <[email protected]> wrote: > 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 > > -- Jaime Melis Project Engineer OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | [email protected]
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
