Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1904

November 2nd, 2006 13:00

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

2.1K Posts

November 3rd, 2006 01:00

Not to argue with the EMC guys, but you'll notice this correction if you do the math anyway...

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.

226 Posts

November 2nd, 2006 14:00

MPalumbo,

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

226 Posts

November 3rd, 2006 04:00

Thanks Allen, you are correct there. A block is 512 bytes, not 2k.

The formula to convert blocks to KB/MB/GB above is correct though, just to clarify.

Thanks,

- Sean
No Events found!

Top