how to rename a ceph OSD?

Magneto

Well-Known Member
Jul 30, 2017
133
4
58
44
Hi,

Is it possible to rename a CEPH OSD?

Code:
^Croot@virt3:~# ceph osd tree
ID CLASS WEIGHT   TYPE NAME      STATUS REWEIGHT PRI-AFF
-1       87.33948 root default
-3       29.11316     host virt1
 1   hdd  7.27829         osd.1      up  1.00000 1.00000
 2   hdd  7.27829         osd.2      up  1.00000 1.00000
 3   hdd  7.27829         osd.3      up  1.00000 1.00000
 4   hdd  7.27829         osd.4      up  1.00000 1.00000
-5       29.11316     host virt2
 0   hdd  7.27829         osd.0      up  1.00000 1.00000
 5   hdd  7.27829         osd.5      up  1.00000 1.00000
 6   hdd  7.27829         osd.6      up  1.00000 1.00000
 7   hdd  7.27829         osd.7      up  1.00000 1.00000
-7       29.11316     host virt3
 8   hdd  7.27829         osd.8      up  1.00000 1.00000
 9   hdd  7.27829         osd.9      up  1.00000 1.00000
10   hdd  7.27829         osd.10     up  1.00000 1.00000
12   hdd  7.27829         osd.12     up  1.00000 1.00000

I would like to re-arrange the OSD's in chronological order. Simply adding and removing them seems to just mess things up.
 

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!