rbd: Show image size with an "ls"
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
#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...