dcloud ec2 volumes modify

Rename a volume or grow it

IAM ec2:ModifyVolumeChanges state

A volume only grows, attached or not. Afterwards grow the filesystem on the instance (`resize2fs`, `xfs_growfs`); see the Compute guide.

Synopsis

dcloud ec2 volumes modify id [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: /^vol-[0-9a-f]{6,32}$/

Flags

  • --nameOptional

    string

    The new name

    Constraints: 1-64 chars

  • --size-gibOptional

    number

    The new size in GiB; a volume only grows

    Constraints: integer, 10-10000

Example

dcloud ec2 volumes modify id

Generated from the API description, the same one the API checks requests against and the CLI is built from.