Start a Conversation

Unsolved

This post is more than 5 years old

A

5 Practitioner

 • 

274.2K Posts

1313

August 22nd, 2007 12:00

how do I get the max number of raidgroups id using naviseccli?

How do I get the max number of raidgroup id using naviseccli?

same with lun id

2 Intern

 • 

20.4K Posts

August 22nd, 2007 16:00

what do you mean by max number of raidgroup id? Do you want to list all raid groups and then find the last one used ?

5 Practitioner

 • 

274.2K Posts

August 23rd, 2007 06:00

No, I know how to get the id's in use. The problem is that I a writing a generic script that should work in all cx and cx3 series. So, to know what range of ids to display, I have to know the type of storage system e.g. (cx3-80, cx400..) because they differ in the max number of raid group ids. I need a naviseccli command that tells me the type of storage via a serial number or the max number of raid group ids allowed.

2 Intern

 • 

20.4K Posts

August 23rd, 2007 06:00

how about naviseccli -h ss1_spa getagent ..and grep for "Model"

5 Practitioner

 • 

274.2K Posts

August 23rd, 2007 10:00

Thanks this solved it...

17 Posts

August 23rd, 2007 10:00

more specifically,

navicli -h spname/ip adrress getagent -serial

Returns the serial number of the storage system.

Cheers !!
Munish

17 Posts

August 23rd, 2007 11:00

so you got the command for getting the raid group ids also ?

iam curious to know that..

Cheers !!
Munish

17 Posts

August 23rd, 2007 11:00

cool dude...

Cheers!!

5 Practitioner

 • 

274.2K Posts

August 23rd, 2007 11:00

Yes I know how to get raid group ids using getrg. I just need it to know the max id count which is static; but to determine the correct max number, I need it to know which storage system I am talking to which is solved by the model from getagent

5 Practitioner

 • 

274.2K Posts

August 23rd, 2007 11:00

Thanks every one for helping me.

Malacara ;-)

5 Practitioner

 • 

274.2K Posts

August 24th, 2007 07:00

Perhaps someone gets some points?
No Events found!

Top