> For the complete documentation index, see [llms.txt](https://platform9.com/kb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://platform9.com/kb/pmo/frequently-asked-questions/resizing-ephemeral-disk-by-changing-the-flavor-of-the-instance.md).

# Resizing Ephemeral Disk by Changing The Flavor of The Instance Does Not show Increased "/" Partition Size Inside The Instance.

## Problem

Resizing ephemeral disk by changing the flavor of the Instance does not show Increased "/" partition size inside the Instance.

## Environment

* Platform9 Managed OpenStack - All Versions
* CentOS
* Ubuntu

## Answer

* If the instance is created with the below option, it will not format all the disk to the size defined in the flavor inside the instance. This option allows the disk inside the VM to be partitioned as per the configuration defined inside the Image at the time of image creation.

{% tabs %}
{% tab title="None" %}

```none
$ openstack server show [UUID] --fit-width -c name  -c OS-DCF:diskConfig +-------------------------------+-----------------------------------+| Field                         | Value                             |+-------------------------------+-----------------------------------+| OS-DCF:diskConfig             | MANUAL                            || OS-EXT-SRV-ATTR:instance_name | [instance name]                   |
```

{% endtab %}
{% endtabs %}

* If the target flavor disk is larger, the remaining disk space is left unpartitioned. This enables images to manage the disk configuration manually.
* The available disk could be added to the "/" partition if it created on LVM, else it could be used to create a new partition.
* The other option is Auto which allows the disk to be completely utilized under the partitions defined in the image without specifying the partition size.

## Additional Information

* Reference Links:
  * [OpenStack Disk Image Builder](https://docs.openstack.org/diskimage-builder/latest/user_guide/building_an_image.html)
  * [Cloud Init - Disk Partition Section](https://cloudinit.readthedocs.io/en/latest/topics/examples.html)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://platform9.com/kb/pmo/frequently-asked-questions/resizing-ephemeral-disk-by-changing-the-flavor-of-the-instance.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
