diff --git a/docs/storage-guide.md b/docs/block-storage-guide.md similarity index 58% rename from docs/storage-guide.md rename to docs/block-storage-guide.md index 17f8b7af0a..aa7f3d5b7f 100644 --- a/docs/storage-guide.md +++ b/docs/block-storage-guide.md @@ -1,14 +1,19 @@ # Storage Guide -This is a overview of how Cinder is implemented in Kolla so that it is easier to understand how to use it. Keep in mind, this is the first iteration for Cinder as support for Ceph and physical devices will follow. +This is a overview of how Cinder is implemented in Kolla so that it is easier +to understand how to use it. Keep in mind, this is the first iteration for +Cinder as support for Ceph and physical devices will follow. ## Overview -Kolla's setup for Cinder uses tgtd as the default iSCSI helper to implement persistent targets. By default, we use a loop back file that is defined by CINDER_LVM_LO_VOLUME_SIZE to create the cinder-volumes volume group. +Kolla's setup for Cinder uses tgtd as the default iSCSI helper to implement +persistent targets. By default, we use a loop back file that is defined by +CINDER_LVM_LO_VOLUME_SIZE to create the cinder-volumes volume group. ## Configure Cinder -Listed below are the default configurations for Cinder. For more info on what each variable does look at the [integration guide.](https://github.com/stackforge/kolla/blob/master/docs/integration-guide.md): +Listed below are the default configurations for Cinder. For more info on what +each variable does look at the [integration guide.](https://github.com/stackforge/kolla/blob/master/docs/integration-guide.md): # Cinder Volume CINDER_ENABLED_BACKEND=lvm57 @@ -22,7 +27,8 @@ Listed below are the default configurations for Cinder. For more info on what e ## Using Cinder -After you've started all you containers, you should be able to interact with Cinder. +After you've started all your containers, you should be able to interact +with Cinder. cinder list @@ -33,13 +39,16 @@ Next, you will want to create a volume and attach it to a running instance. ## Debugging and deleting volumes -The cinder-volumes volume group can't be seen from the host. In order to interact with an existing volume, you need to jump into the Cinder Volume container. +The cinder-volumes volume group can't be seen from the host. In order to +interact with an existing volume, you need to jump into the Cinder Volume +container. sudo docker exec -it /bin/bash - sudo vgs + vgs -Running 'vgs' will list the volumes groups. From there, you can look at specific volumes to make sure volume creation succeeded. +Running 'vgs' will list the volumes groups. From there, you can look +specific volumes to make sure volume creation succeeded. To delete the cinder-volumes volume group from within the container run: - sudo vgs remove cinder-volumes + vgs remove cinder-volumes