Ceph pools and RBD confusion

garfield659

New Member
Nov 28, 2023
3
0
1
Can someone help me understand how ceph pools and RBDs work? I setup ceph under Proxmox and then added a ceph replication pool called Ceph-Rep-Pool1. Next I went under Datacenter > Storage and added an RBD called Ceph-RBD1 with the pool Ceph-Rep-Pool1.

Now when I look under Datacenter > Storage it lists both Ceph-Rep-Pool1 and Ceph-RBD1 and has type RBD (PVE) under both of them. I created two VMs and used Ceph-RBD1 for the disks. The really strange part is if I issue the command "rbd -p Ceph-Rep-Pool1 ls" I get :

# rbd -p Ceph-Rep-Pool1 ls
vm-100-disk-0
vm-101-disk-0

I was expecting to only see Ceph-RBD1 listed, and then I would see the disk files if I listed the contents of Ceph-RBD1.

If this makes sense to anyone can you help me understand why this is?

Thank you.
 
Ok, so I learned that Proxmox must do some special magic behind the scenes. When I create the pool and RBD via command line it works as expected.