Verifying Cinder
Perform the following operations on the controller node.
- Log in to the OpenStack CLI as the user admin.
1source /etc/keystone/admin-openrc
- List service components to verify that each process is successfully started.
1openstack volume service list
Figure 1 volume service list
Common Cinder Commands
CLI |
Description |
|---|---|
openstack volume create --size 1 volume1 |
Creates a volume. |
openstack volume list |
Displays the volume list. |
openstack volume create VOLNAME-OR-ID |
Deletes the selected volume. |
openstack volume snapshot create --volume SNAPSHOT-VOLNAME VOLNAME-OR-ID |
Creates a snapshot of a volume. |
openstack volume snapshot list |
Displays the snapshots of a volume. |
nova volume-attach VM_ID VOLUME_ID /dev/vdb |
Attaches a volume to a VM. |
nova volume-detach VM_ID VOLUME_ID |
Detaches a volume from a VM. |
Parent topic: Installing, Configuring, and Verifying Cinder