30 Mar
2021
30 Mar
'21
12:41 p.m.
On 3/30/21 12:55 PM, Boris Behrens wrote:
I just move one PG away from the OSD, but the diskspace will not get freed.
How did you move? I would suggest you use upmap: ceph osd pg-upmap-items Invalid command: missing required parameter pgid(<pgid>) osd pg-upmap-items <pgid> <osdname (id|osd.id)> [<osdname (id|osd.id)>...] : set pg_upmap_items mapping <pgid>:{<id> to <id>, [...]} (developers only) So you specify which PG has to move to which OSD.
Do I need to do something to clean obsolete objects from the osd?
No. The OSD will trim PG data that is not needed anymore. Gr. Stefan