This post is more than 5 years old
35 Posts
0
1904
Command Line NaviSECCLI GetRG -ucap
In navisphere I am able to get information in GB's of how much space is left in a Raid Group. I am trying to get the same information for all Raid groups using NaviSECCLI on how much space is left on each Raid Group but it comes back in blocks. Is there a switch I can use to convert this to GB's or MB's and if there isn't is, is there a formula to convert it?
Thanks
MPalumbo
Thanks
MPalumbo
Allen Ward
2.1K Posts
0
November 3rd, 2006 01:00
One block on a CLARiiON is actually 512 bytes (1/2 K) instead of 2K. You can find this in numerous documents relating to CLARiiON configuration.
seancummins
226 Posts
0
November 2nd, 2006 14:00
To convert Clariion blocks (per EMC Knowledgebase ID emc140555 http://knowledgebase.emc.com/emcice/login.do?sType=BX1990&id=emc140555 ):
"Divide the number of user blocks by 2 to get kilobytes (KB), divide KB by 1024 to get megabytes (MB), and then divide MB by 1024 to get gigabytes (GB)."
So a block is 2KB.
As an example, if NaviCLI says a RAID Group is 838,860,800 Blocks, and you want that number in GB:
838,860,800 / 2 = 419,430,400KB
419,430,400KB / 1024 = 409,600MB
409,600MB / 1024 = 400GB
Hope that helps,
- Sean
seancummins
226 Posts
1
November 3rd, 2006 04:00
The formula to convert blocks to KB/MB/GB above is correct though, just to clarify.
Thanks,
- Sean