Project

General

Profile

Actions

Bug #58052

open

Empty Pool (zero objects) shows usage.

Added by Brian Woods over 1 year ago. Updated about 1 year ago.

Status:
Need More Info
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I have a pool that was/is being used in a CephFS. I have migrated all of the files off of the pool and was preparing to remove it. But even after a day of the pool being empty (zero objects), it still shows as consuming space. It also shows statistics for objects under compression:

POOL_NAME                          USED  OBJECTS  CLONES    COPIES  MISSING_ON_PRIMARY  UNFOUND  DEGRADED    RD_OPS       RD    WR_OPS       WR  USED COMPR  UNDER COMPR
...
CephFS-Erasure-ByOSD-D4F2-Data  6.3 GiB        0       0         0                   0        0         0   5971837  5.9 TiB   2495150   39 GiB     365 MiB      730 MiB
...

I recently added about a dozen OSDs and it is going to take another day or so for that re-balancing to finish. Is it possible that this is because things are still re-balancing?

I tried a few things to see if I could figure out what was going on:

rbd -p CephFS-Erasure-ByOSD-D4F2-Data du
#No results.
rados -p CephFS-Erasure-ByOSD-D4F2-Data ls
#No results.

I also made sure that there was nothing leftover from any benchmarks:

rados -p CephFS-Erasure-ByOSD-D4F2-Data cleanup
#No change.

This pool was only used for CephFS and was not used for any block devices, nor have I used any snapshots.

The cluster started out as 17.2.3 but is currently running 17.2.4.

I would like to remove this pool, but I am not sure if it is safe to do so. I am not sure if I have run into some sort of an orphaning issue, or if this is just the statistics not calculating correctly.

Thanks!


Files

Logs.zip (783 KB) Logs.zip Brian Woods, 12/02/2022 05:39 PM
server1.zip (349 KB) server1.zip Brian Woods, 12/02/2022 06:09 PM
server2.zip (363 KB) server2.zip Brian Woods, 12/02/2022 06:09 PM
Actions

Also available in: Atom PDF