<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Carlos, </div>
<div>in your email, you said,</div>
<div>"The datastore size is initialized to 0, and then populated with the right size"</div>
<div><br>
</div>
<div>What do you mean by "right size" here?</div>
<div>How do we set the right size in the first place?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>HyunWoo</div>
<div>FermiCloud</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Hyunwoo Kim <<a href="mailto:hyunwoo@fnal.gov">hyunwoo@fnal.gov</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, December 3, 2013 8:59 AM<br>
<span style="font-weight:bold">To: </span>Carlos Martín Sánchez <<a href="mailto:cmartin@opennebula.org">cmartin@opennebula.org</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a>" <<a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [one-users] oneimage create command in ON3.4 and up<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Hi,</div>
<div>Thanks for the reply.</div>
<div><br>
</div>
<div>My oned.log has those messages </div>
<div>
<div>Tue Dec  3 08:53:08 2013 [InM][I]: Monitoring datastore default (1)</div>
<div>Tue Dec  3 08:53:08 2013 [ImM][I]: Datastore default (1) successfully monitored.</div>
<div><br>
</div>
</div>
<div>but I still can not do oneimage create with the same error message;</div>
<div>
<div>-bash-4.1$ oneimage create firstimage.template  --datastore default</div>
<div>Not enough space in datastore</div>
</div>
<div><br>
</div>
<div>Any other suggestion?</div>
<div><br>
</div>
<div>Thank you.</div>
<div>HyunWoo</div>
<div>FermiCloud</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Carlos Martín Sánchez <<a href="mailto:cmartin@opennebula.org">cmartin@opennebula.org</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, December 3, 2013 4:06 AM<br>
<span style="font-weight:bold">To: </span>Hyunwoo Kim <<a href="mailto:hyunwoo@fnal.gov">hyunwoo@fnal.gov</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a>" <<a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [one-users] oneimage create command in ON3.4 and up<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>The datastore size is initialized to 0, and then populated with the right size after the monitorization begins to work. Maybe there was a problem trying to monitor it. Take a look at /var/log/one/oned.log, you should have messages like these:</div>
<div><br>
</div>
<div>Fri Nov 29 17:29:19 2013 [InM][D]: Monitoring datastore default (1)<br>
</div>
<div>
<div>Fri Nov 29 17:29:20 2013 [ImM][D]: Datastore default (1) successfully monitored.</div>
</div>
<div><br>
</div>
<div>Or an error message from the drivers.</div>
<div><br>
</div>
<div>Regards</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div dir="ltr">--<br>
<div>Carlos Martín, MSc<br>
Project Engineer</div>
<div>OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<div><span style="border-collapse: collapse; color: rgb(136, 136, 136); font-size: 13px; font-family: arial, sans-serif; "><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> |
<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> |
<a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse: collapse; color: rgb(136, 136, 136); font-size: 13px; font-family: arial, sans-serif; "><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div>
</div>
</div>
<br>
<br>
<div class="gmail_quote">On Mon, Dec 2, 2013 at 11:37 PM, Hyun Woo Kim <span dir="ltr">
<<a href="mailto:hyunwoo@fnal.gov" target="_blank">hyunwoo@fnal.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div>
<div>Hi,</div>
<div><br>
</div>
<div>Let me ask a basic question.</div>
<div><br>
</div>
<div>I just started testing ON4.2</div>
<div>and when I use oneimage command to register a first image,</div>
<div>I am getting the following error message</div>
<div><br>
</div>
<div>
<div>-bash-4.1$ oneimage create firstimage.template  --datastore default</div>
<div>Not enough space in datastore</div>
</div>
<div><br>
</div>
<div>I guess this is because the "default" datastore has "0M" size as shown below,</div>
<div>
<div>-bash-4.1$ onedatastore list</div>
<div>  ID NAME                SIZE AVAIL CLUSTER    IMAGES TYPE DS       TM      </div>
<div>   0 system                 - -     -                                      0         sys      -        ssh</div>
<div>   1 default               0M -     production                0       img     fs       ssh</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>My question is, how can I increase this size?</div>
<div><br>
</div>
<div>I could not find relevant information from onedatastore help,</div>
<div>I guessed this size will increase when I add a new host, create a cluster, add the host in this cluster</div>
<div>and create a new virtual network and add it to the cluster etc,</div>
<div>but I am still getting the same error message..</div>
<div><br>
</div>
<div>Thanks in advance.</div>
<div>HyunWoo KIM</div>
<div>FermiCloud</div>
</div>
<div><br>
</div>
</div>
<br>
_______________________________________________<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>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</span></div>
</div>
</span>
</body>
</html>