Replication 3/2 vs 2/2 and read only

sahostking

Renowned Member
Hi guys

We wanted to move to 2/2 for a bit while we wait for our new SSDs to arrive as we have limited storage space now in one cluster. However when doing so and moving from 3/2 to 2/2 we notice that all our VMs pause or become "read only" when Ceph is rebalancing if a disk is taken out and a new one is put back in.

Is this normal behaviour?
 
Yes, that is expected behavior.

When you have 2/2 there are only 2 copies of each object available. But as you require a minimum of 2 copies for data to be writable (min_size), some objects won't be writable as soon as you remove one OSD.
That's because you only have 1 copy available for the objects which had copies on that OSD.
 
That helps. I really don't want to use 2/1 as this is a production cluster. So will rather wait for the disks to arrive.

Thanks
 
  • Like
Reactions: mira

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!