Single Node Ceph Storage

tschanness

Member
Oct 30, 2016
291
22
18
33
Hi,
is it possible to user Ceph as Storage on a Single Node on a homelab? I know I'd have to edit the config to

osd pool default size = 2
osd crush chooseleaf type = 0

but would the storage be administerable from the webui?

Thanks in advance,
Jonas
 
Why don't you virtualize 3 VMs in Proxmox VE to simulate the minimal Ceph requirements? This could be (technically) better than a one-node system and can be done on a one-node Proxmox VE system. Of course it'll not be fast, but that's not the point for a 'home lab', isn't it?
 
Proxmox wont care much as long as it can write the virtual disk image on the Ceph storage. If you are doing it for learning purpose, a single node Ceph will not teach what Ceph is all about. Yes you can practice all the commands and things but not the mechanics of Ceph. Also on a single node your pool size will need to be 1. If it is set to 2 or more you will never achieve Healthy status for Ceph but Degraded.
 
Thanks for the answer. Pool Size can stay at 2 if chooseleaf stays 0 (Every block on two devices but on the same Host)

sC
 
I tried with similar setup once but did not work for me. That was long ago during the time of Ceph Bobtail. Crush has came very long way since then. Have you tried to simulate it in Virtual environment?
 
No not yet. I'll try some time this week hopefully and report back. Thanks for your answers!

sC
 

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!