This post is more than 5 years old
18 Posts
0
7444
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
AnFo
8 Posts
0
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
javydxplorer
18 Posts
0
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
hudan
18 Posts
0
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,
hudan
18 Posts
0
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,
hudan
18 Posts
0
January 31st, 2012 23:00
Hi Anfo,
Thanks for the command, yes i'm familiar with unix/linux command.
javydxplorer
18 Posts
0
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.
javydxplorer
18 Posts
0
February 1st, 2012 00:00
My bad...hudan.....sincerely.
I read your question in a hurry, and took Storage Group as Device Group.
hudan
18 Posts
0
February 1st, 2012 01:00
hehe, no problem Sarwar.
Thanks for your reply
eliyaz1
6 Posts
1
February 1st, 2012 10:00
Try
symaccess -sid xxxx list -type storage -dev xxxx
RobertDudley
448 Posts
1
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.
ryan_clair
10 Posts
0
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