summaryrefslogtreecommitdiff
path: root/Managing Ceph on Devstack & OpenStack.md
diff options
context:
space:
mode:
Diffstat (limited to 'Managing Ceph on Devstack & OpenStack.md')
-rw-r--r--Managing Ceph on Devstack & OpenStack.md42
1 files changed, 42 insertions, 0 deletions
diff --git a/Managing Ceph on Devstack & OpenStack.md b/Managing Ceph on Devstack & OpenStack.md
new file mode 100644
index 0000000..cad83e5
--- /dev/null
+++ b/Managing Ceph on Devstack & OpenStack.md
@@ -0,0 +1,42 @@
+---
+tags:
+ - ceph
+ - devstack
+ - openstack
+---
+[[Installing Ceph on devstack]]
+
+The pool names are:
+- volumes for cinder volumes
+- images for glance images
+- vms for nova "local storage" rbd volumes
+- backups for cinder volume backups
+
+https://docs.ceph.com/en/reef/rbd/rados-rbd-cmds/
+
+```
+ubuntu@gobs-devstack:~$ sudo rbd ls volumes
+volume-5b6cc251-8f3e-4572-a8b9-52efa390ebc3
+volume-6f5e81dd-40f3-42f9-aad3-afcf5696387c
+volume-ac39d5be-9606-4711-948e-e76c035e2a25
+```
+
+Specify the pool in the `info` command:
+```
+ubuntu@gobs-devstack:~$ sudo rbd info volumes/volume-6f5e81dd-40f3-42f9-aad3-afcf5696387c
+rbd image 'volume-6f5e81dd-40f3-42f9-aad3-afcf5696387c':
+ size 10 GiB in 2560 objects
+ order 22 (4 MiB objects)
+ snapshot_count: 0
+ id: 17d385edc7a94
+ block_name_prefix: rbd_data.17d385edc7a94
+ format: 2
+ features: layering, exclusive-lock, object-map, fast-diff
+ op_features:
+ flags:
+ create_timestamp: Mon Mar 31 12:56:46 2025
+ access_timestamp: Mon Mar 31 12:56:46 2025
+ modify_timestamp: Mon Mar 31 12:56:46 2025
+ parent: volumes/volume-5b6cc251-8f3e-4572-a8b9-52efa390ebc3@snapshot-3d1f148a-5fe4-4df2-87c3-4272565b82c2
+ overlap: 10 GiB
+``` \ No newline at end of file