Project

General

Profile

Actions

Bug #12018

closed

rbd and pool quota do not go well together

Added by chuanhong wang almost 9 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
% Done:

0%

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

Description

The pool "rbd" is already full, but I still flatten a clone successfully. After flatten, "rbd" has more objects, but the "USED" space has no change, thar's weird.

[root@c8 ~]# ceph -s
cluster 927e8bfb-a47a-4538-aaab-b74a8c6163b9
health HEALTH_WARN
pool 'rbd' is full
monmap e1: 1 mons at {c7=10.118.202.97:6789/0}
election epoch 1, quorum 0 c7
osdmap e46: 2 osds: 2 up, 2 in
pgmap v605: 128 pgs, 2 pools, 2048 MB data, 518 objects
4180 MB used, 36759 MB / 40940 MB avail
128 active+clean
[root@c8 ~]# rbd list
im1
im1_clone1
[root@c8 ~]# ceph df
GLOBAL:
SIZE AVAIL RAW USED RAW USED
40940M 36759M 4180M 10.21
POOLS:
NAME ID USED %USED MAX AVAIL OBJECTS
rbd 0 2048M 5.00 18379M 518
volums 1 0 0 18379M 0
[root@c8 ~]# rbd flatten im1_clone1
Image flatten: 100
complete...done.
[root@c8 ~]# ceph -s
cluster 927e8bfb-a47a-4538-aaab-b74a8c6163b9
health HEALTH_WARN
pool 'rbd' is full
monmap e1: 1 mons at {c7=10.118.202.97:6789/0}
election epoch 1, quorum 0 c7
osdmap e46: 2 osds: 2 up, 2 in
pgmap v625: 128 pgs, 2 pools, 2048 MB data, 3078 objects
4216 MB used, 36723 MB / 40940 MB avail
128 active+clean
client io 614 B/s rd, 0 B/s wr, 145 op/s
[root@c8 ~]# ceph df
GLOBAL:
SIZE AVAIL RAW USED %RAW USED
40940M 36723M 4216M 10.30
POOLS:
NAME ID USED %USED MAX AVAIL OBJECTS
rbd 0 2048M 5.00 18360M 3078
volums 1 0 0 18360M 0


Related issues 2 (0 open2 closed)

Related to rbd - Bug #12069: ENOSPC hidden by cache not detected by callers of flattenResolvedJason Dillaman06/18/2015

Actions
Copied to rbd - Backport #14824: hammer: rbd and pool quota do not go well togetherRejectedActions
Actions

Also available in: Atom PDF