replace CEPH disks

pouria.j

New Member
Mar 12, 2024
3
0
1
Hi,

We have three nodes, and two OSDs were in a down/out status on PVE2 about three months ago. We replaced them using the commands below, and they came back online properly. However, we had a power issue last week and had to reboot PVE2. After the reboot, the two OSDs we replaced three months ago went down/out again. Is this the correct procedure for the replacement task?

Note: When we replaced the OSDs, we had to use a different SSD model.

1 - The faulty OSDs were down/out.
2 - Turned PVE2 off, replaced the new SSDs, and turned it back on. then run commands below.
3 - ceph osd destroy {id}
4 - ceph-volume lvm zap /dev/sdX
5 - ceph-volume lvm prepare --osd-id {id} --data /dev/sdX
6 - Start/In in the GUI.

Now, two new OSDs have failed in PVE3. Should we use exactly these commands to replace the OSDs?

Current OSD status

1722343526951.png

1722343577415.png
PVE2 Disk Status

1722343646997.png

PVE3 Disk Status

1722343714096.png
 
Hi, from what I know the steps to replace an OSD are:
1. systemctl stop ceph-osd@<id#>
2. ceph osd destroy osd.#
3. ceph osd crush remove osd.#
4. wait active+clean state
5. ceph osd rm osd.#
6. replace physical HDD/SDD
7. ceph-disk zap /dev/...
8. pveceph createosd /dev/...
9. systemctl start ceph-osd@#
 
Hi, from what I know the steps to replace an OSD are:
1. systemctl stop ceph-osd@<id#>
2. ceph osd destroy osd.#
3. ceph osd crush remove osd.#
4. wait active+clean state
5. ceph osd rm osd.#
6. replace physical HDD/SDD
7. ceph-disk zap /dev/...
8. pveceph createosd /dev/...
9. systemctl start ceph-osd@#
Thank you, do you think the new SSD should be same model?
 
I think the slowest hard disk (IOPS) is the speed of your cluster, so if they are all SSDs the difference should be barely noticeable, depending on the models.
 

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!