Ceph replicas 1

dragon2611

Renowned Member
Jul 2, 2010
85
7
73
For anyone who doesn't care about dataloss and loves to live on the edge.
In the example below the pool is called "danger"


Code:
ceph config set global  mon_allow_pool_size_one true
ceph osd pool set data_pool min_size 1
ceph osd pool set danger min_size 1
ceph osd pool set danger size 1 --yes-i-really-mean-it

You will get a health warn state in the cluster due to having a pool with no replicas but it will work, well until you lose an OSD or a node reboots.etc

I did it very specifically on my homelab for a secondary disk in VM that's used as the data disk by lancache (lancache.net), this is literally just cached copies of steam/game downloads so if/when this explodes in my face there's no great loss.
 

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!