For format updates one can use quick-fix command instead of repair, it might work a bit faster..

On 10/7/2022 10:07 AM, Stefan Kooman wrote:
On 10/7/22 09:03, Frank Schilder wrote:
Hi Igor and Stefan,

thanks a lot for your help! Our cluster is almost finished with recovery and I would like to switch to off-line conversion of the SSD OSDs. In one of Stefan's I coud find the command for manual compaction:

ceph-kvstore-tool bluestore-kv "/var/lib/ceph/osd/ceph-${OSD_ID}" compact

Unfortunately, I can't find the command for performing the omap conversion. It is not mentioned here https://docs.ceph.com/en/quincy/releases/octopus/#upgrading-from-mimic-or-nautilus even though it does mention the option to skip conversion in step 5. How to continue with an off-line conversion is not mentioned. I know it has been posted before, but I seem unable to find it on this list. If someone could send me the command, I would be most grateful.

for osd in `ls /var/lib/ceph/osd/`; do ceph-bluestore-tool repair --path  /var/lib/ceph/osd/$osd;done

That's what I use.

Gr. Stefan

--
Igor Fedotov
Ceph Lead Developer

Looking for help with your Ceph cluster? Contact us at https://croit.io

croit GmbH, Freseniusstr. 31h, 81247 Munich
CEO: Martin Verges - VAT-ID: DE310638492
Com. register: Amtsgericht Munich HRB 231263
Web: https://croit.io | YouTube: https://goo.gl/PGE1Bx

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

Reply via email to