Hi Martin,

On 2/26/2018 6:19 PM, Martin Emrich wrote:
Hi!

I just migrated my backup cluster from filestore to bluestore (8 OSDs, one OSD at a time, took two weeks but went smoothly).

I also enabled compression on a pool beforehand and am impressed by the compression ratio (snappy, agressive, default parameters). So apparently during backfilling, the compression got applied.

Now I'd like to apply it to another pool (with the even stronger zstd algorithm). But it apparently only works on new written data.

Is there a way to "trigger" compression on the already existing objects (similar to a background scrub?)

Unfortunately I don't know any way but rewrite data or move it to another pool.
Also, is there some reporting for the actual compression ratio?
I'm working on adding compression statistics to ceph/rados df reports. And AFAIK currently the only way to monitor compression ration is to inspect osd performance counters.

Thanks

Martin

Regards,
Igor
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to