coreos / torus

Torus Distributed Storage
https://coreos.com/blog/torus-distributed-storage-by-coreos.html
Apache License 2.0
1.77k stars 172 forks source link

The size of volume and storage node always output with an IEC size like GiB, MiB #376

Closed nak3 closed 7 years ago

nak3 commented 7 years ago

description

The size of volume and storage node always output with an IEC size like GiB, MiB.

version

b1259ec

steps to reproduce

1. create block with SI size. (10GB)

./bin/torusctl volume create-block test 10G

2. ouptut volume

./bin/torusctl volume list
VOLUME NAME  SIZE     TYPE
test         9.3 GiB  block

Even though volume was created by GB, the output is always GiB.