Hi all,

We are discussing different approaches how to replace a disk with DB (typically SSD or NVMe disk) for BlueStore. When the disk with DB died it will cause inaccessibility of all depended OSDs (six or eight in our environment), so we are looking for a way to minimize data loss or time for DB reconstruction.

1. The easiest way is just replace DB disk with a new one, but in this case, the reconstruction will take a long time. 2. When DB disk is not completely dead and has only relocated sectors without bad sectors ... we can add new disk to the server and make a copy from old to the new one (using dd or similar tools). After that we only switch symbolic links in associated OSDs (in /var/lib/ceph/osd/osd-*/block.db). But this does not work with a completely dead disk. 3. It would be nice to have some command/script which can prepare data on new/replaced DB disk (scan over all disks) and accelerate DB disk replacement.

How do you do it in your environment?

Thank you

Regards
Michal
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to