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

Also available in: Atom PDF