---
title: "ezgh compute volumes modify"
description: "Grow a volume or change its IOPS and throughput."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh compute volumes modify

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh compute volumes modify <volume> [--size-gib n] [--iops n] [--throughput n] [--type t] [flags]
```

Grow a volume (`--size-gib`; volumes only grow) or change its provisioned IOPS and throughput (MB/s), while it's in use or not. One change runs at a time: the volume's modification shows it until its ModifyVolume operation finishes. Changing the type (`--type`) isn't available yet.

Part of [`ezgh compute volumes`](/cli/reference/compute-volumes).

## Examples

```sh
ezgh compute volumes modify data --size-gib 40
ezgh compute volumes modify data --iops 6000 --throughput 250
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--iops` | int |  | provisioned IOPS |
| `--size-gib` | int |  | the new size in GiB (larger than now) |
| `--throughput` | int |  | provisioned throughput in MB/s |
| `--type` | string |  | a new volume type (not available yet) |
| `--wait` | boolean |  | wait until the change is done, and print the volume then |
| `--wait-timeout` | duration | `10m0s` | how long `--wait` waits |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/compute-volumes-modify/index.mdx
