Project

General

Profile

Actions

Support #38640

closed

fs: garbage in cephfs pool and tier pool after delete all files

Added by Fyodor Ustinov about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Component(FS):
Labels (FS):
Pull request ID:

Description

Hi!

  1. ceph version
    ceph version 13.2.4 (b10be4d44915a4d78a8e06aa31919e74927b142e) mimic (stable)

After removing all files from cephfs I see that situation:

#ceph df
POOLS:
NAME ID USED %USED MAX AVAIL OBJECTS
fsd 2 0 B 0 233 TiB 11527762
fsdtier 3 240 KiB 0 9.6 TiB 2048

#rados df
POOL_NAME USED OBJECTS CLONES COPIES MISSING_ON_PRIMARY UNFOUND DEGRADED RD_OPS RD WR_OPS WR
fsd 0 B 11527761 270 69166566 0 0 0 137451347 61 TiB 46169087 63 TiB
fsdtier 240 KiB 2048 0 6144 0 0 0 234897999 53 TiB 199347641 8.5 TiB

fsdtier pool is a tier for fsd pool.

pool fsd contain objects like that:
10000bd3d0a.00000000
10000af4b02.00000000
100002a3b4a.00000000
100001a1876.00000000
10000bbda52.00000000
10000a09fcd.00000000
10000b54612.00000000

pool fsdtier do not contain any object:
#rados -p fsdtier ls|wc -l
0

Actions #1

Updated by Patrick Donnelly about 5 years ago

  • Project changed from Ceph to CephFS
  • Subject changed from Garbage in cephfs pool and tier pool after dlete all files to fs: garbage in cephfs pool and tier pool after delete all files

The garbage is just inodes left behind, probably by some MDS bug in the past. Presumably you don't need these files anymore since you deleted the rest?

Actions #2

Updated by Patrick Donnelly about 5 years ago

  • Tracker changed from Bug to Support
  • Start date deleted (03/08/2019)
Actions #3

Updated by Fyodor Ustinov about 5 years ago

Patrick Donnelly wrote:

The garbage is just inodes left behind, probably by some MDS bug in the past. Presumably you don't need these files anymore since you deleted the rest?

The previous version was 13.2.1 ugraded to 13.2.2 upgraded to 13.2.4. I did not see in the description of the corrected errors anything like this.

Yes, I don’t need these files anymore.

What about 2048 objects in a different pool?

Actions #4

Updated by Patrick Donnelly about 5 years ago

  • Status changed from New to Closed

Fyodor Ustinov wrote:

Patrick Donnelly wrote:

The garbage is just inodes left behind, probably by some MDS bug in the past. Presumably you don't need these files anymore since you deleted the rest?

The previous version was 13.2.1 ugraded to 13.2.2 upgraded to 13.2.4. I did not see in the description of the corrected errors anything like this.

Yes, I don’t need these files anymore.

What about 2048 objects in a different pool?

I would just delete both pools and recreate them.

Actions

Also available in: Atom PDF