[one-users] create vm error : No space left on device

Carlos Martín Sánchez cmartin at opennebula.org
Wed Mar 14 08:57:21 PDT 2012


Hi,

What I meant it that an external script could monitor each physical host,
get the free storage and, if it is lower that a threshold (e.g. 10 or 20
GB) execute a 'onehost disable hostname'.

This way you will prevent the scheduler from sending VMs to that host from
that moment onwards.

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>



2012/3/14 张光鹏 <zhanggp at neusoft.com>

> **
> ok,thanks.
> But i don't know which host will be scheduled if i want to gather the
> storage . I got the info from opennebula ,when i get the hostid ,may be
> it's too late.
>
> ------------------------------
> 张光鹏
>
>  *发件人:* Carlos Martín Sánchez <cmartin at opennebula.org>
> *发送时间:* 2012-03-13 18:15
> *收件人:* 张光鹏 <zhanggp at neusoft.com>
> *抄送:* users <users at lists.opennebula.org>
> *主题:* Re: [one-users] create vm error : No space left on device
>  Hi,
>
> You are right, the OpenNebula scheduler does not check the available
> storage.
> But the scheduler ignores disables hosts, so you can set up a cron job to
> gather the storage left in each host and execute 'onehost disable' or
> 'enable'.
>
> Regards.
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - The Open-source Solution for Data Center Virtualization
> www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
>
>
>
> 2012/3/9 张光鹏 <zhanggp at neusoft.com>
>
>> **
>> Hi,
>> I created a vm on opennebula2.2,but failed .Then i checked the vm.log,
>> and i found the reason:
>> scp: /one_images/277/images/disk.0: No space left on device
>> So,i want to know before opennebula scheduling host ,will it check the
>> disk space whether meet the virtual machine .
>> In my opinion , if the host space is not enough to assign , it shouldnot
>> be scheduled.
>> Please masters pointing me .
>> ------------------------------
>>  张光鹏
>> tel:  13718913184
>> mail: zhanggp at neusoft.com
>> 移动互联网事业部
>>  东软集团股份有限公司
>> http://www.neusoft.com
>>
>>
>> ---------------------------------------------------------------------------------------------------
>> Confidentiality Notice: The information contained in this e-mail and any
>> accompanying attachment(s)
>> is intended only for the use of the intended recipient and may be
>> confidential and/or privileged of
>> Neusoft Corporation, its subsidiaries and/or its affiliates. If any
>> reader of this communication is
>> not the intended recipient, unauthorized use, forwarding, printing,
>> storing, disclosure or copying
>> is strictly prohibited, and may be unlawful.If you have received this
>> communication in error,please
>> immediately notify the sender by return e-mail, and delete the original
>> message and all copies from
>> your system. Thank you.
>>
>> ---------------------------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and any
> accompanying attachment(s)
> is intended only for the use of the intended recipient and may be
> confidential and/or privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader
> of this communication is
> not the intended recipient, unauthorized use, forwarding, printing,
> storing, disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this
> communication in error,please
> immediately notify the sender by return e-mail, and delete the original
> message and all copies from
> your system. Thank you.
>
> ---------------------------------------------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120314/2dca7566/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 11635 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120314/2dca7566/attachment-0003.jpeg>


More information about the Users mailing list