Ceph failed OSD disk replace

Hai

Member
Feb 17, 2021
20
8
8
25
Hello,

We have a failed OSD disk to replace on a production server. We have to hot replace it using remote hands in data center.

Are theese steps correct?

1.Set global OSD flags: noout/norebalance/nobackfill
2.Out and destroy failed disk
3.Wipe failed disk under Disks /dev/sdx
4.Physically remove failed disk.
5.Insert new disk
6.Create OSD with new disk
7. Remove global OSD flags.

Please advise, thank you!
 
  • Like
Reactions: XRedShark
Sounds okay.

3.Wipe failed disk under Disks /dev/sdx
Depending on how thorough you need to wipe the disk, the "Cleanup" option migh be enough. But IIRC it will only wipe the partition and LVM settings and won't zero out the disk. If it is an SSD, you want to issue a "secure erase" command anyway instead of zeroing it out manually.
 
  • Like
Reactions: Hai
Sounds okay.


Depending on how thorough you need to wipe the disk, the "Cleanup" option migh be enough. But IIRC it will only wipe the partition and LVM settings and won't zero out the disk. If it is an SSD, you want to issue a "secure erase" command anyway instead of zeroing it out manually.
Thank you, aaron!
 
Good to hear :)
 

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!