Thank you.<div>From the explanation, it seems to require the VM instance working directory to be physically in the same place of $ONE_LOCATION/var, even though the nodes can mount it at a different location using NFS. </div>
<div><br></div><div>I have a few comments</div><div>1. Mounting the same disk at different locations on different machines does not really make much sense to me, although perfectly possible. So I find this not a critical feature. This is what I think VM_DIR is designed for and in this sense, the current code works perfectly fine.</div>
<div>2. However, in my plan, I want to put the VM instance working directory (thus VM_DIR) to be a different physical LUN than the $ONE_LOCATION/var since I would like to implement different storage features on $VM_DIR and $ONE_LOCATION. For example, they can have different backup and snapshot setups. $ONE_LOCATION is more critical and I might want to implement hourly snapshot/backup while $VM_DIR is  for working image files and I might only want to do it daily considering the amount of storage required and the consistency of snapshotting a disk image under use. </div>
<div>This is how I thought the definition of VM_DIR can be of more value.</div><div><br></div><div>Thanks.</div><div>Shi</div><div><br><br><div class="gmail_quote">On Thu, Feb 24, 2011 at 6:59 AM, Javier Fontan <span dir="ltr"><<a href="mailto:jfontan@gmail.com">jfontan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I've benn testing againg the scripts and work nice for me. Check this<br>
explanation:<br>
<br>
<a href="http://dev.opennebula.org/issues/445#note-4" target="_blank">http://dev.opennebula.org/issues/445#note-4</a><br>
<div><div></div><div class="h5"><br>
<br>
On Sat, Feb 19, 2011 at 7:00 AM, Shi Jin <<a href="mailto:jinzishuai@gmail.com">jinzishuai@gmail.com</a>> wrote:<br>
> Hi there,<br>
> I used to let the VM_DIR to be the default of $ONE_LOCATION/var.<br>
> Now I set it to something else. But I am having problem with the context<br>
> disk.<br>
> When I specify the context, the disk.1 is still in the $ONE_LOCATION/var<br>
> while disk.0 and the deployment.0 are already in the VM_DIR and most<br>
> importantly deployment.0 still assumes the disk.1 in the same place as<br>
> disk.1.<br>
> I traced down the problem to be the tm_context.sh script which called<br>
> fix_dst_path to actually change the output file from in VM_DIR<br>
> to $ONE_LOCATION/var in the case of the two being different. Is this a bug?<br>
> Simply comment out this line would get it working again.<br>
> I am using the tm_nfs driver.<br>
> Thank you very much.<br>
> Shi<br>
><br>
> --<br>
> Shi Jin, Ph.D.<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher<br>
DSA Research Group: <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a><br>
Globus GridWay Metascheduler: <a href="http://www.GridWay.org" target="_blank">http://www.GridWay.org</a><br>
OpenNebula Virtual Infrastructure Engine: <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Shi Jin, Ph.D.<br><br>
</div>