Description of problem: Not a bug but a minor RFE, add human size format option to rbd ls command. As current inhuman bytes is less friendly for us lazy folk. Version-Release number of selected component (if applicable): ceph version 10.2.7-32.el7cp Not sure what^ translates to 2.X How reproducible: Every time Steps to Reproduce: 1. rbd -p [pool] ls -l 2. Look at size, oh the h command format option is missing here 3. Google convert to M/G/T. Actual results: # rbd -p [pool] ls -l NAME SIZE PARENT FMT PROT LOCK 007c3e4c-e584-48e6-a7fb-fcb07b663168 12957k 2 007c3e4c-e584-48e6-a7fb-fcb07b663168@snap 12957k 2 yes Expected results: Dunno maybe the good ol expected h # rbd -p [pool] ls -lh NAME SIZE PARENT FMT PROT LOCK 007c3e4c-e584-48e6-a7fb-fcb07b663168 12M or what it rounds out to 12.6 13. ..
Luminous received an improvement to display IEC units in v12.2.8. In the example above: $ rbd create --size 12957K test $ rbd ls -l NAME SIZE PARENT FMT PROT LOCK test 13 MiB 2
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0020