# 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-intance 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="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2F6yOekjpKDjXODafLsG8K%2Fimage.png?alt=media&#x26;token=026fe2b0-bbb6-4309-b642-c78ae985c868" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FSxi9olTvKvAFJLO03SUL%2Fimage.png?alt=media&#x26;token=82de219b-8528-43b1-8795-8d0cf355e5a5" alt=""><figcaption></figcaption></figure>

## Flags

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

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