[SOLVED] Ceph replace disk, old proxmox, update crush map manually?

Emerica

Active Member
Jul 30, 2019
3
0
41
42
I have an old cluster 4.4-13 that has some drives starting to give way.
Removed a drive via gui. New drive added via gui. No reboots thus far. Maybe that's an answer, though I'll wait for confirmation before proceeding.

I was able to create a new OSD, seems like it was added to ceph, but instead of osd.2 it was inserted as "device2" and then wasn't included in the crush map, so it's not listed under ceph OSD's, but it's listed and counted as one of the devices in the cluster.
I'm a little lost on how to proceed. I wasn't really prompted with anything to confirm the device name via the gui.

I've dumped out the compiled crushmap, decompiled and added the "device2" in place of where old osd.2 was.
Would it be safe to try and manually update the crushmap in this way? Recompile and set new map?

1733340180303.png
New OSD seems to be added but not as osd.2 like it was


1733340211280.png

Not listed in items.


Crushmap has it in devices
1733340267346.png

Can I make this change and recompile the map and set it without problems?
I added "item device2 weight 3.640"

1733340299919.png

Is the commented weight value important? 43.680 now?