Hello
Running ceph v14.2.8 on everything. Pool is using replicated_rule with
size/min_size 2 with 2 OSD's. I have scrubbed and deep scrubbed the OSDs.
This pool was attached as data pool to cephfs containing alot of small
files. I have since removed all files and detached the pool from the fs.
Somehow the pool is still using 90GB.
POOLS:
POOL ID STORED OBJECTS USED %USED
MAX AVAIL QUOTA OBJECTS QUOTA BYTES DIRTY USED COMPR
UNDER COMPR
fast 54 90 GiB 5.25M 90 GiB 2.93
1.4 TiB N/A N/A 5.25M 0 B
0 B
# rados -p fast ls|wc -l
1312030
# rados -p fast stat 100073acce3.00000000
error stat-ing fast/100073acce3.00000000: (2) No such file or directory
# rados -p fast rm 100073acce3.00000000
error removing fast>100073acce3.00000000: (2) No such file or directory
# rados -p fast get 100073acce3.00000000 test
error getting fast/100073acce3.00000000: (2) No such file or directory
I get the same error for every single object in the pool
# rados purge fast --yes-i-really-really-mean-it
Warning: using slow linear search
Removed 2625749 objects
successfully purged pool fast
There was 5.25M objects in the pool before and after running this command.
No change in ceph df.
Any ideas how to reclaim the free space ? I can remove & recreate the pool,
but i would like to know why and how to deal with this situation when i
don't have that privilege
Best regards
Kári Bertilsson
Show replies by date