> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/guidance-for-enterprise/cloudeka-api-list/command-reference/cldkctl-flexi/instance/resize-root-disk.md).

# resize-root-disk

Resize root disk of a flexi instance in your project. This command allows you to resize root disk of a flexi instance.

## Usage

```
cldkctl flexi instance resize-root-disk [name] [flags]
```

## Steps

Follow the steps below to run and view the result of this command:

1. Run the following command in your terminal:

```
cldkctl flexi instance resize-root-disk [instance-name] 
```

2. Replace **\[instance-name]** with the name of the instance whose root disk you want to resize.
3. Enter the **new root disk size (GB)**.
4. Confirm the resize operation.

<figure><img src="/files/xBCf0PTQYdmOkI1DJNVs" alt=""><figcaption></figcaption></figure>

5. Once completed successfully, the terminal displays the success message.

<figure><img src="/files/ItYlMvInPLs1f6pak4IU" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}
This command supports [global flags](/guidance-for-enterprise/cloudeka-api-list/global-flags.md). Refer to the Global Flags section for details
{% endhint %}

| Flag             | Shorthand | Description                            |
| ---------------- | --------- | -------------------------------------- |
| --help           | -h        | Help for the resize-root-disk command. |
| --project string | -p        | Specify project ID.                    |
