[openstack-dev] [nova]Question about Ephemeral/swap disk and flavor

ChangBo Guo glongwave at gmail.com
Tue Mar 11 09:01:24 UTC 2014


2014-03-11 16:28 GMT+08:00 Chen CH Ji <jichenjc at cn.ibm.com>:

> Hi
>          We are trying to fix some eph disk related bugs and also
> considering our private driver implementation based for eph disk ,so this
> is not a usage question ,instead, it's a development question
>
>          I have some questions related "ephemeral_gb" in flavor and nova
> boot option "--ephemeral", and I failed to find out descriptions in
> existing documents:
>
>    1. If I boot a new instance using flavor with "ephemeral_gb" defined
>    as 20 G, and no "--ephemeral" specified, does the new instance have a 20G
>    additional ephemeral disk after booted?
>
> ephemeral_gb means the maximum value allowed ,  need  option --ephemeral
to provide actual value, otherwise, no ephemeral disk is created.  The swap
option has same behavior with ephemeral_gb

>
>    2. The flavor has 20 G ephemeral disk defined, but specified two 5 G
>    ephemeral disk through "--ephemeral" option in nova boot cmd, what will
>    happen to the new instance? Get one 20G additional ephemeral? Or two 5 G
>    ephemeral disks instead?
>    3. If the answer to question 2 is "two 5 G ephemeral disks", what will
>    happen if resize this instance to a flavor with "ephemeral_gb" defined as
>    40 G?
>    4.   I think the "ephemeral_gb" in flavor means maximum disk size you
>    can specified, is this understanding correct?
>    5.   Also, above question can be applied to swap disk
>
>
> Best Regards!
>
> Kevin (Chen) Ji 纪 晨
>
> Engineer, zVM Development, CSTL
> Notes: Chen CH Ji/China/IBM at IBMCN   Internet: jichenjc at cn.ibm.com
> Phone: +86-10-82454158
> Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
> Beijing 100193, PRC
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
ChangBo Guo(gcb)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140311/bf21e5ad/attachment.html>


More information about the OpenStack-dev mailing list