This post is more than 5 years old
45 Posts
0
1015
May 29th, 2009 13:00
Listing devices by their disk group
We have several disk groups set up in our environment. I know that I can do a
symdev -sid xxxx list -disk_group 3 and get a list of symid's belonging to that disk group. Initially I thought I had it, because several of the symid's were showing ***:** for their FA's. Unfortunately they're actually mapped (which a symdev showed me) but not reporting as mapped in a symdev list (see below).
( symdev list)
02FF Not Visible ***:* 01B:CB RAID-5 N/Grp'd (M) RW 34526
( cut/paste from the associated symdev show)
Front Director Paths (2):
{
----------------------------------------------------------------------
POWERPATH DIRECTOR PORT LUN
--------- ---------- ---- -------- ---------
PdevName Type Type Num Sts VBUS TID SYMM Host
----------------------------------------------------------------------
Not Visible N/A FA 07D:0 RW 002 00 004 N/A
Not Visible N/A FA 10D:0 RW 002 00 004 N/A
}
Here's my issue:
What I need to do do is segregate out devices in our environment that are in each disk group, and have been carved into hypers, but are not mapped or masked. This will let me get an available space report for each disk group by combining carved out but available hypers with the uncarved space. We have been doing several test environments which requires a lot of disk assigning and unassigning, which has left our environment a little confusing.
Going forward we plan to create a set of disk groups in ECC and manually copy devices to it when we unassign them, so I have a dynamic list of what devices belong to each group.
Unfortunately at present I have over 500 symdevs that I appear to need to manually check for their currently assigned disk group. SMC has been no use, because I'd still be looking at them one by one. I have been unable to find anything in symcli.
This is on a DMX3, with 5772 code and SE 6.5.2.0
Symmetrix Command Line Interface (SYMCLI) Version V6.5.2.0 (Edit Level: 891)
built with SYMAPI Version V6.5.2.0 (Edit Level: 891)
Thanks for any help and if that wasn't clear enough I'll be more than happy to try and make it more so.
symdev -sid xxxx list -disk_group 3 and get a list of symid's belonging to that disk group. Initially I thought I had it, because several of the symid's were showing ***:** for their FA's. Unfortunately they're actually mapped (which a symdev showed me) but not reporting as mapped in a symdev list (see below).
( symdev list)
02FF Not Visible ***:* 01B:CB RAID-5 N/Grp'd (M) RW 34526
( cut/paste from the associated symdev show)
Front Director Paths (2):
{
----------------------------------------------------------------------
POWERPATH DIRECTOR PORT LUN
--------- ---------- ---- -------- ---------
PdevName Type Type Num Sts VBUS TID SYMM Host
----------------------------------------------------------------------
Not Visible N/A FA 07D:0 RW 002 00 004 N/A
Not Visible N/A FA 10D:0 RW 002 00 004 N/A
}
Here's my issue:
What I need to do do is segregate out devices in our environment that are in each disk group, and have been carved into hypers, but are not mapped or masked. This will let me get an available space report for each disk group by combining carved out but available hypers with the uncarved space. We have been doing several test environments which requires a lot of disk assigning and unassigning, which has left our environment a little confusing.
Going forward we plan to create a set of disk groups in ECC and manually copy devices to it when we unassign them, so I have a dynamic list of what devices belong to each group.
Unfortunately at present I have over 500 symdevs that I appear to need to manually check for their currently assigned disk group. SMC has been no use, because I'd still be looking at them one by one. I have been unable to find anything in symcli.
This is on a DMX3, with 5772 code and SE 6.5.2.0
Symmetrix Command Line Interface (SYMCLI) Version V6.5.2.0 (Edit Level: 891)
built with SYMAPI Version V6.5.2.0 (Edit Level: 891)
Thanks for any help and if that wasn't clear enough I'll be more than happy to try and make it more so.
0 events found
No Events found!


DippityDell
79 Posts
0
May 29th, 2009 14:00
symdev list -noport -disk_group #
There are many variants of this command with optional switches that can be found in the Solutions Enabler Quick Reference Guide. Also reference the product guide: Symmetrix Array Management CLI.
smw61811
45 Posts
0
June 1st, 2009 07:00
Appreciate the response!
Alastair2
16 Posts
0
June 5th, 2009 00:00