Project

General

Profile

Fix #19091

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

Added by Tang Jin almost 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

History

#1 Updated by Jason Dillaman almost 7 years ago

  • Status changed from New to Need More Info
  • Target version deleted (v11.0.0)
  • Release deleted (master)
  • Affected Versions deleted (v12.0.0)
  • ceph-qa-suite deleted (rbd)

Looks like this was an unintended consequence of commit 1ccdcb5b6c1cfd176a86df4f115a88accc81b4d0.

#2 Updated by Jason Dillaman over 6 years ago

  • Status changed from Need More Info to Rejected

Also available in: Atom PDF