Project

General

Profile

Actions

Fix #19091

closed

rbd: rbd du cmd calc total volume is smaller than used

Added by Tang Jin about 7 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The result which rbd du a snapshot image is good, but rbd du a original image seems unreasonable, because the PROVISIONED volume is smaller than the USED volume
e g:
rbd du test_pool/test_image
NAME PROVISIONED USED
test_image@testsnap 10240M 10240M
test_image@testsnap111 10240M 10240M
test_image 10240M 0
10240M 20480M

rbd du test_pool/test_image@testsnap111
NAME PROVISIONED USED
test_image@testsnap 10240M 10240M
test_image@testsnap111 10240M 10240M
20480M 20480M

Actions

Also available in: Atom PDF