2.1. Volumes

A volume is a detachable block storage device. You can think of it as a USB hard drive. It can only be attached to one instance at a time.

When making an API call to create, list, or delete volume(s), the following status values are possible:

  • CREATING – The volume is being created.

  • AVAILABLE – The volume is read to be attached to an instance.

  • ATTACHING – The volume is attaching to an instance.

  • IN-USE – The volume is attached to an instance.

  • DELETING – The volume is being deleted.

  • ERROR – An error has occurred with the volume.

  • ERROR_DELETING – There was an error deleting the volume.

Verb URI Description
GET /volumes Lists a summary of all volumes defined in Cinder that are accessible to the tenant who submits the request.
GET /volumes/volume_id Lists detailed information for the specified volume.
POST /volumes Creates a new Cinder volume.
PUT /volumes/volume_id Updates the specified volume.
DELETE /volumes/volume_id Destroys the specified volume.
Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page