Project

General

Profile

Actions

Bug #21567

closed

rbd does not delete snaps in (ec) data pool

Added by Henrik Korkuc over 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Jason Dillaman
Target version:
-
% Done:

0%

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

Description

After deleting RBD image snapshots space is not reclaimed. Reproduced with:
rbd-ec(id 1, EC 4+2) and rbd-meta (id 2, replicated). 6 1TB images mounted via NBD. large file is created on each image, snapshoted and then rewritten and snapshoted few times. After snapshot deletion no space is reclaimed.

Posting one of OSD logs with debug_osd 20/20 and debug_rbd 20/20 (I have rbd output with this debug level, can attach if needed)

ceph-post-file: 295eab8b-2a06-40ac-be7f-bed2e8ef64d6

Ceph version: 12.2.0-178-gba746cd (ba746cd14ddd70a4f24a734f83ff9d276dd327d1)

Cluster is idle, PGs do not change to snaptrim:

  data:
    pools:   2 pools, 2560 pgs
    objects: 7158k objects, 28571 GB
    usage:   43140 GB used, 218 TB / 260 TB avail
    pgs:     2560 active+clean


Related issues 2 (0 open2 closed)

Copied to rbd - Backport #21639: luminous: rbd does not delete snaps in (ec) data pool ResolvedActions
Copied to rbd - Backport #36476: jewel: rbd does not delete snaps in (ec) data pool ClosedKefu ChaiActions
Actions

Also available in: Atom PDF