root@erpdevserver $ vxassist -g devdg maxsize
Maximum volume size: 55207936 (26957Mb)
This is the output in vxvm(3.1).. my question is
how we can calculate this bytes(55207936) in to MB(output=26957) or in GB.plz tell how to calculate
root@erpdevserver $ vxassist -g devdg maxsize
Maximum volume size: 55207936 (26957Mb)
This is the output in vxvm(3.1).. my question is
how we can calculate this bytes(55207936) in to MB(output=26957) or in GB.plz tell how to calculate
1 KB = 1 KiloByte = 2^10 (1024) Bytes
1 MB = 1 MegaByte = 2^10 (1024) KiloBytes = 2^20 (1048576) Bytes
1 GB = 1 GigaByte = 2^10 (1024) MegaBytes = 2^20 (1048576) KiloBytes = 2^30 (1073741824) Bytes
and so on to TB, PB, EB, ZB, ....
And there's no way to get to ~26 GB from 55207936, so I highly doubt that's given in Bytes, but rather stripes (or something similar).
This number is in sectors. A sector is 512 bytes long.
55207936*512=28266463232=26957MiB.