Skip to main content

crusoe storage disks resize

Resize an existing disk. Note: new size must be greater than current size.

Usage​

crusoe storage disks resize <name> --size <size> [flags]

Flags​

FlagDescription
-f, --format stringOutput format. Supported formats: pretty, json (default: "pretty")
-h, --helpHelp for resize
--jsonOutput in json format. Shorthand for --format json
--project-id stringProject ID. Optional if Project Name is set in CRUSOE_DEFAULT_PROJECT env variable or the config file
--project-name stringProject Name. Optional if set in CRUSOE_DEFAULT_PROJECT env variable or the config file
--size string[Required] Disk Size. Format: [Number][Unit] where valid units are GiB and TiB. Range: 1GiB–10TiB. Must be larger than current size

Examples​

Resize a disk to 500 GiB:

crusoe storage disks resize my-data-disk --size 500GiB