[SOLVED] How does CEPH identify OSD ?

Belokan

Active Member
Apr 27, 2016
155
16
38
Hello all,

I have a simple question. I have a 2 controllers host with boot/backup disks on the 1st controller and OSD/data devices on the 2nd one.

So far, sda & sdb are present (1st controller) and sdc (OSD) & sdd (pass-through a NAS VM using disk/by-id) on the second.

I have to add a disk on the 1st controller. So new disk will become sdc and OSD sdd (and sde for data disk). How ceph identifies its OSD ? I've added it through the GUI selecting "/dev/sdc", it is mounted as /dev/sdc (of course ...) but will it be able to find the OSD once its /dev/sdX changed ? I guess/hope ceph use disk/by-*uuid but ...

Thanks in advance !
 
Yes it will, ceph check the GPT table and can identify which partition is a OSD.
 

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!