Re: slow "rados ls"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-08-27 13:29, Marcel Kuiper wrote:
> Sorry that had to be Wido/Stefan

What does "ceph osd df" give you? There is a column with "OMAP" and
"META". OMAP is ~ 13 B, META 26 GB in our setup. Quite a few files in
cephfs (main reason we have large OMAP).

> 
> Another question is: hoe to use this ceph-kvstore-tool tool to compact the
> rocksdb? (can't find a lot of examples)

If you want to do a whole host a the time:

systemctl stop ceph-osd.target

wait a few seconds till all processes are closed.

for osd in `ls /var/lib/ceph/osd/`; do (ceph-kvstore-tool bluestore-kv
/var/lib/ceph/osd/$osd compact &);done

This works for us (no seperate WAL/DB). Check the help of the
ceph-kvstore-tool if you have to do anything special with separate DB /
WAL devices.

Gr. Stefan
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux