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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!