Skip to main content

Overview

The openstack volume command group manages the full lifecycle of block storage volumes — creation, attachment, extension, snapshots, backups, and type management.
Prerequisites
  • CLI installed and authenticated — see CLI Setup
  • Python cinderclient installed: pip install python-cinderclient

Volumes

List and Inspect

openstack volume list
openstack volume list --status available
openstack volume list --all-projects

Create and Delete

openstack volume create --size 50 my-volume

Attach and Detach

openstack server add volume <server> <volume>

Extend

Extend volume size
openstack volume set --size 100 <volume>

Snapshots

openstack volume snapshot list

Backups

openstack volume backup list

Volume Types (Admin)

openstack volume type list

Transfers (Cross-Project)

openstack volume transfer request create --name my-transfer <volume>

Common Options

OptionDescription
--format jsonOutput as JSON
--format value -c <col>Extract a single field
--all-projectsShow resources across all projects (admin)
--status <status>Filter by status (available, in-use, error)

Next Steps

Volume User Guide

Step-by-step guide to creating and managing volumes

Compute CLI

Server commands for attaching and managing instances