Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1520

August 6th, 2012 07:00

VMAX Device info

Hi all,

We have a Symmetrix VMAX array. We use Virtual Provisioning (VP).

I have a set of thin devices, which are bound to a pool and presented to host(s).

Now, for some reason I'd like to get the Storage group, in which these devices exist. Is there a way out to get this via SymCLi through some direct command(s)?

Tried symdev show on the device, but does not display SG\MV info. Tried symsg list -v | find "Device ID" but missing a track of the SG, as it only gives device info.

Thx,

SreeHari

56 Posts

August 6th, 2012 09:00

Hi Sree,

There is no single symcli comand to get this but you can use below one line script to get you desired result.

You can even format more if you need output in different way. This is the way I am using for myself. In case you get single comand which give Device list and Sg name for that device in better format repost here.

for i in `symcfg -sid 30 list -tdev -pool 300_03_F_1  -thin | grep 300_03_F_1 | awk '{print $1}'`; do echo $i ; symaccess -sid 30 list -type storage dev $i | grep SG ; done

Regards,

Mrinal Dani

August 7th, 2012 00:00

Mrinal,

Many thanks for the quick response, its working real good for me...

Thanks,

SreeHari

56 Posts

August 7th, 2012 07:00

Your welcome Sree. If you get a better let me also know it will be helpful.

September 12th, 2012 12:00

i guess this should work -

1. for getting SG info-

symaccess -sid xxxx list -type storage -dev ####

2. for getting MV info

symaccess -sid xxxx list -assignment -dev ####

No Events found!

Top