Project

General

Profile

Actions

Feature #2601

closed

rbd: Show image size with an "ls"

Added by Wido den Hollander almost 12 years ago. Updated over 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
Actions #1

Updated by Dan Mick almost 12 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...

Actions #2

Updated by Sage Weil almost 12 years ago

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

Updated by Sage Weil over 11 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF