Project

General

Profile

Feature #2601

rbd: Show image size with an "ls"

Added by Wido den Hollander over 11 years ago. Updated almost 11 years ago.

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

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

On the mailinglist the request came if the "rbd" tool could be modified to not only show image names when doing an ls, but also show the image size.

We could do something like:

rbd --extended ls

And then show:

alpha 10G
beta 50G
charlie 400G
delta 1T

History

#1 Updated by Dan Mick over 11 years ago

We've also heard from others that having a better estimate of rbd usage and expected usage would be good; taking into account pool replication settings and reporting them could be useful, or could be noise, I'm not personally sure yet. Imagining something like

rbd ls -x

pool 'rbd': replication level 2

Name Max Current Cluster
image1 16GB 24kB 48kB
image2 64GB 56GB 112GB

Discussion about names of headings and validity of columns is definitely warranted, but...

#2 Updated by Sage Weil over 11 years ago

  • Project changed from Ceph to rbd
  • Category deleted (common)

#3 Updated by Sage Weil almost 11 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF