<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
span.EmailStyle17
{font-family:"Calibri","sans-serif";
color:windowtext}
.MsoChpDefault
{font-family:"Calibri","sans-serif"}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
{}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I have deleted existing default datastores (ID: 0,1,2) and created 2 new datastore for image and system with the base path set to NFS mount point. Below is the details of the new datastore.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">[oneadmin@server ~]$ onedatastore list</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New""> ID NAME SIZE AVAIL CLUSTER IMAGES TYPE DS TM</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">102 ds-sys-nfs-01 50G 96% - 0 sys - shared</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">103 ds-img-nfs-01 1.8T 100% - 2 img fs shared</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">[oneadmin@server ~]$ onedatastore show 102</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">DATASTORE 102 INFORMATION</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">ID : 102</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">NAME : ds-sys-nfs-01</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">USER : oneadmin</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">GROUP : oneadmin</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">CLUSTER : -</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">TYPE : SYSTEM</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">DS_MAD : -</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">TM_MAD : shared</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">BASE PATH : /one/datastores/102</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">DISK_TYPE : FILE</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New""> </span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">DATASTORE CAPACITY</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">TOTAL: : 50G</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">FREE: : 48.2G</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">USED: : 0M</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">LIMIT: : -</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New""> </span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">PERMISSIONS</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">OWNER : um-</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">GROUP : u--</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">OTHER : ---</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New""> </span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">DATASTORE TEMPLATE</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">BASE_PATH="/one/datastores/"</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">SHARED="YES"</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">TM_MAD="shared"</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">TYPE="SYSTEM_DS"</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New""> </span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">IMAGES</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">[oneadmin@server ~]$ onedatastore show 103</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">DATASTORE 103 INFORMATION</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">ID : 103</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">NAME : ds-img-nfs-01</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">USER : oneadmin</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">GROUP : oneadmin</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">CLUSTER : -</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">TYPE : IMAGE</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">DS_MAD : fs</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">TM_MAD : shared</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">BASE PATH : /one/datastores/103</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">DISK_TYPE : FILE</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New""> </span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">DATASTORE CAPACITY</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">TOTAL: : 1.8T</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">FREE: : 1.8T</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">USED: : 399M</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">LIMIT: : -</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New""> </span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">PERMISSIONS</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">OWNER : um-</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">GROUP : u--</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">OTHER : ---</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New""> </span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">DATASTORE TEMPLATE</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">BASE_PATH="/one/datastores/"</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">CLONE_TARGET="SYSTEM"</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">DISK_TYPE="FILE"</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">DS_MAD="fs"</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">LN_TARGET="NONE"</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">TM_MAD="shared"</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">TYPE="IMAGE_DS"</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New""> </span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">IMAGES</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">0</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">1</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">As we can see, both DS is using new path but the DS capacity info for DS 102 is wrong – it displaying the size of /var/lib/one
</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">When I deploy the VM, I got the following error messages.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">[root@server one]# tail 0.log</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">Wed Sep 17 15:03:06 2014 [Z0][DiM][I]: New VM state is ACTIVE.</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">Wed Sep 17 15:03:06 2014 [Z0][LCM][I]: New VM state is PROLOG.</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">Wed Sep 17 15:03:06 2014 [Z0][TM][I]: Command execution fail: /var/lib/one/remotes/tm/shared/clone server.mimos.local:/one/datastores/103/01420afc51ab1be828f0e877cb980113 server.mimos.local:/var/lib/one//datastores/102/0/disk.1
0 103</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">Wed Sep 17 15:03:06 2014 [Z0][TM][I]: clone: Cloning /var/lib/one/datastores/103/01420afc51ab1be828f0e877cb980113 in server.mimos.local:/var/lib/one//datastores/102/0/disk.1</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">Wed Sep 17 15:03:06 2014 [Z0][TM][E]: clone: Command "cd /var/lib/one/datastores/102/0; cp /var/lib/one/datastores/103/01420afc51ab1be828f0e877cb980113 /var/lib/one/datastores/102/0/disk.1"
failed: Warning: Permanently added 'server.mimos.local,192.168.254.94' (ECDSA) to the list of known hosts.</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">Wed Sep 17 15:03:06 2014 [Z0][TM][I]: cp: cannot stat '/var/lib/one/datastores/103/01420afc51ab1be828f0e877cb980113': No such file or directory</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">Wed Sep 17 15:03:06 2014 [Z0][TM][E]: Error copying server.mimos.local:/one/datastores/103/01420afc51ab1be828f0e877cb980113 to server.mimos.local:/var/lib/one//datastores/102/0/disk.1</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">Wed Sep 17 15:03:06 2014 [Z0][TM][I]: ExitCode: 1</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">Wed Sep 17 15:03:06 2014 [Z0][TM][E]: Error executing image transfer script: Error copying server.mimos.local:/one/datastores/103/01420afc51ab1be828f0e877cb980113 to server.mimos.local:/var/lib/one//datastores/102/0/disk.1</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Courier New"">Wed Sep 17 15:03:06 2014 [Z0][DiM][I]: New VM state is FAILED</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">From the above message, I can see that it is still referring to /var/lib/one/ directory. What I have missed here? The BASE_PATH in DS page is for what actually?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Note: Management and Node on the same server.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">--</p>
<p class="MsoNormal">Regards,</p>
<p class="MsoNormal">Anandharaj</p>
<p class="MsoNormal"> </p>
</div>
<br>
<hr>
<div style="font-size:12pt; font-family:'Cambria','times new roman','garamond',serif; color:#ff0000">
<b>DISCLAIMER:</b></div>
<br>
<div>
<p style="font-size:8pt; line-height:10pt; font-family:'Cambria','times new roman',serif">
This e-mail (including any attachments) is for the addressee(s) only and may be confidential, especially as regards personal data. If you are not the intended recipient, please note that any dealing, review, distribution, printing, copying or use of this e-mail
is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original message (including any attachments).</p>
</div>
<br>
<div>
<p style="font-size:8pt; line-height:10pt; font-family:'Cambria','times new roman',serif">
MIMOS Berhad is a research and development institution under the purview of the Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions and other information in this e-mail that do not relate to the official business of MIMOS Berhad
and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility for the same. All liability arising from or in connection with computer viruses
and/or corrupted e-mails is excluded to the fullest extent permitted by law.</p>
</div>
</body>
</html>
<p>
------------------------------------------------------------------<br>
-<br>
-<br>
DISCLAIMER: <br>
<br>
This e-mail (including any attachments) is for the addressee(s) <br>
only and may contain confidential information. If you are not the <br>
intended recipient, please note that any dealing, review, <br>
distribution, printing, copying or use of this e-mail is strictly <br>
prohibited. If you have received this email in error, please notify <br>
the sender immediately and delete the original message. <br>
MIMOS Berhad is a research and development institution under <br>
the purview of the Malaysian Ministry of Science, Technology and <br>
Innovation. Opinions, conclusions and other information in this e-<br>
mail that do not relate to the official business of MIMOS Berhad <br>
and/or its subsidiaries shall be understood as neither given nor <br>
endorsed by MIMOS Berhad and/or its subsidiaries and neither <br>
MIMOS Berhad nor its subsidiaries accepts responsibility for the <br>
same. All liability arising from or in connection with computer <br>
viruses and/or corrupted e-mails is excluded to the fullest extent <br>
permitted by law.<br>
<br>
<br>
</p>