Atom feed of this document
  
 

 Verify the Block Storage installation

To verify that the Block Storage is installed and configured properly, create a new volume.

For more information about how to manage volumes, see the OpenStack User Guide.

  1. Source the demo-openrc.sh file:

    $ source demo-openrc.sh
  2. Use the cinder create command to create a new volume:

    $ cinder create --display-name myVolume 1
    +---------------------+--------------------------------------+
    |       Property      |                Value                 |
    +---------------------+--------------------------------------+
    |     attachments     |                  []                  |
    |  availability_zone  |                 nova                 |
    |       bootable      |                false                 |
    |      created_at     |      2014-04-17T10:28:19.615050      |
    | display_description |                 None                 |
    |     display_name    |               myVolume               |
    |      encrypted      |                False                 |
    |          id         | 5e691b7b-12e3-40b6-b714-7f17550db5d1 |
    |       metadata      |                  {}                  |
    |         size        |                  1                   |
    |     snapshot_id     |                 None                 |
    |     source_volid    |                 None                 |
    |        status       |               creating               |
    |     volume_type     |                 None                 |
    +---------------------+--------------------------------------+
  3. Make sure that the volume has been correctly created with the cinder list command:

    $ cinder list
    --------------------------------------+-----------+--------------+------+-------------+----------+-------------+
    |                  ID                  |   Status  | Display Name | Size | Volume Type | Bootable | Attached to |
    +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
    | 5e691b7b-12e3-40b6-b714-7f17550db5d1 | available |   myVolume   |  1   |     None    |  false   |             |
    +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+

    If the status value is not available, the volume creation failed. Check the log files in the /var/log/cinder/ directory on the controller and volume nodes to get information about the failure.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...