Ceph block.db on SSD mirror (md-raid, lvm mirror or ZFS mirror)

herzkerl

Member
Mar 18, 2021
96
16
13
I want to set up a mirror consisting of two SSDs, to use that as a DB/WAL device for several (HDD) OSD's.

The system doesn't have a hardware RAID controller, so basically there's three options (I guess):
  • md raid or ZFS mirror — but /dev/zd0 or /dev/md127 are not accepted by pveceph create
  • LVM Mirror (didn't try that one yet)
While I understand that general consensus (from a few years back) would be not to do that, providing a mirror — as DB/WAL device only(!) — reduces the probability of those OSDs to fail, which means in such event, Ceph wouldn’t have to recover quite a few TB’s on slow HDD’s, as long as the second SSD still works.

What would be your recommendation here?
 

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!