[SOLVED] the program of ceph pools

wolfboy

New Member
Dec 5, 2022
7
4
3
There is a pve 7.1-10 cluster with three nodes, the ceph version is 16.2.7, with two pools : hdd_pool and ssd pool
The problem is once create a VM or restore a VM with one disk , these two pools would have two same image.
For example: I have a VM with ID is 135 only one disk, and I will see vm-135-disk0 in both hdd-pool and ssd-pool with both web UI and command line(like rbd ls -p ssd-pool(or hdd-pool) |grep 135) .
Once I delete one of this, it will delete both, whatever in web UI VM configuration and command line "rbd rm"
And in the web UI, to see the two pools VM image list, it would appear the same list.
So There is some bugs in PVE 7.1-10 or/and Ceph 16.2.7? And how to solve it?


There is some further information in below screenshot:
two pools with two rules:
1706886626793.png
rules details:
1706886725156.png1706886744666.png
some scrips when create this cluster:

1706886801100.png
1706886813991.png
 
Last edited:
You created a cache-tier setup with your SSD pool as cache in front of the HDD pool.
This is why you see the RBD image in both pools.

Using the cache tiering functionality in Ceph is not recommended any more and will be deprecated soon. The code for cache tiering has not been maintained for four years.
 
  • Like
Reactions: wolfboy
You created a cache-tier setup with your SSD pool as cache in front of the HDD pool.
This is why you see the RBD image in both pools.

Using the cache tiering functionality in Ceph is not recommended any more and will be deprecated soon. The code for cache tiering has not been maintained for four years.
Thank you very much.
And there is no why but re-install to solve this problem right?
 

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!