Block Storage v1, v2
Create new volume
os volume create
--size <size>
[--snapshot <snapshot>]
[--description <description>]
[--type <volume-type>]
[--user <user>]
[--project <project>]
[--availability-zone <availability-zone>]
[--image <image>]
[--source <volume>]
[--property <key=value> [...] ]
<name>
New volume size in GB
Use <snapshot> as source of new volume
New volume description
Use <volume-type> as the new volume type
Specify an alternate user (name or ID)
Specify an alternate project (name or ID)
Create new volume in <availability-zone>
Use <image> as source of new volume (name or ID)
Volume to clone (name or ID)
Set a property on this volume (repeat option to set multiple properties)
New volume name
The --project and --user options are typically only useful for admin users, but may be allowed for other users depending on the policy of the cloud and the roles granted to the user.
Delete volume(s)
os volume delete
[--force]
<volume> [<volume> ...]
Attempt forced removal of volume(s), regardless of state (defaults to False)
Volume(s) to delete (name or ID)
List volumes
os volume list
[--all-projects]
[--project <project> [--project-domain <project-domain>]]
[--user <user> [--user-domain <user-domain>]]
[--name <name>]
[--status <status>]
[--long]
Filter results by project (name or ID) (admin only)
Volume version 2 only
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
Volume version 2 only
Filter results by user (name or ID) (admin only)
Volume version 2 only
Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
Volume version 2 only
Filter results by volume name
Filter results by status
Include all projects (admin only)
List additional fields in output
Set volume properties
os volume set
[--name <name>]
[--description <description>]
[--size <size>]
[--property <key=value> [...] ]
<volume>
New volume name
New volume description
Extend volume size in GB
Property to add or modify for this volume (repeat option to set multiple properties)
Volume to modify (name or ID)