Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

7444

January 31st, 2012 21:00

Search Device that belong to which storage group - Symcli

Hi,

How to search devices that belongs to which storage group with symcli

example,  i want to search devices "0247" and belongs to which storage group ,  i confuse because there is a lot of storage group if i search in SMC..

whether can you help me what command is it?

Thanks,

Hudan

8 Posts

January 31st, 2012 22:00

Hi,

Are you familiar with grep (Unix/Win)?

I'm using the following command;

symaccess -sid xxx list devinfo | grep 0247

Regards Anders

18 Posts

January 31st, 2012 22:00

Try this

#symdev show 0247

This will show which device group the device belongs to, pretty much the six or seventh line should be displaying the information.

Cheers,

Sarwar

18 Posts

January 31st, 2012 22:00

Hi Sarwar,

i already tried symdev show 0247, but i couldn't found information belongs to which storage group..

is there any other option

Thanks,

18 Posts

January 31st, 2012 23:00

Hi Sarwar

C:\Windows\system32>symcli

 

Symmetrix Command Line Interface (SYMCLI) Version V7.1.1.0 (Edit Level: 1026)

built with SYMAPI Version V7.1.1.0 (Edit Level: 1026)

Thanks,

18 Posts

January 31st, 2012 23:00

Hi Anfo,

Thanks for the command, yes i'm familiar with unix/linux command.

18 Posts

January 31st, 2012 23:00

Z:\>symdev show 017B|more

Symmetrix ID: 000190105523

    Device Physical Name     : Not Visible

    Device Symmetrix Name    : 017B

    Device Serial ID         : N/A

    Symmetrix ID             : 000190105523

    Device Group Name        : atm_grp

    Device Logical Name      : DEV039

    Attached BCV Device      : N/A

    Attached VDEV TGT Device : N/A

    Vendor ID                : EMC

    Product ID               : SYMMETRIX

    Product Revision         : 5773

    Device WWN               : 60060480000190105523533030313742

    Device Emulation Type    : FBA

    Device Defined Label Type: N/A

    Device Defined Label     : N/A

    Device Sub System Id     : 0x0002

    Cache Partition Name     : DEFAULT_PARTITION

    Device Block Size        : 512

Here is an output from my DMX here.

I guess it may be a Revision level or SYMCLI version mismatch.

18 Posts

February 1st, 2012 00:00

My bad...hudan.....sincerely.

I read your question in a hurry, and took Storage Group as Device Group.

18 Posts

February 1st, 2012 01:00

hehe, no problem Sarwar.

Thanks for your reply

6 Posts

February 1st, 2012 10:00

Try

symaccess -sid xxxx list -type storage -dev xxxx

448 Posts

February 1st, 2012 11:00

if you wanted to find it in SMC and you know what the device is just look under devices click on that device and it will show you in the bottom pane what storage group(s) it is in.  No need to look thrrough every storage group.

10 Posts

August 12th, 2015 13:00

Also, if this is on a windows machine, you can pipe it to "findstr /i". The /i means it's not case sensitive.

Example:

symaccess -sid xxx list devinfo | findstr /i 0247

No Events found!

Top