Unsolved
This post is more than 5 years old
1 Rookie
•
22 Posts
0
2647
January 26th, 2012 08:00
How to find devices that are mapped but unmasked on DMX4 array
Is there any symcli to find devices that are mapped but unmasked easily?
Trying to identify all unused devices on a DMX4 array.
Easy to identify all of the device unmapped with symdev -sid xxx list -noport.
symmaskdb -sid xxx list no assignment is some help however I have devices that may be mapped to 4 ports but then only masked to 2 ports that show in the output for the different FA ports.
symmaskdb -sid xxx list assignment xxxx:xxxx (full range of symmetrix devices) tells me all devices that are masked but does not tell me whether the device is a meta head or a member which cannot be masked.
Probably going to put the output together from symmaskdb -sid xxx list assignment xxxx:xxxx and symdev -sid xxx list to try and work this out unless somebody has an easier way.
LEOG4
1 Rookie
•
22 Posts
0
January 26th, 2012 08:00
I know i can get this from SMC from the Device icon but trying to find this from CLI.
anoopcr
148 Posts
0
January 27th, 2012 04:00
what I understood from LEOG question is he required list of devices which are mapped but not masked.So if we follow above steps, we will get the list of devices which are not masked to NONE of the FAs.If the devices mapped to 4 and masked to only to 2,list assign will show those 2 masking details,ie that device cant use for any other provisioning.
anoopcr
148 Posts
0
January 27th, 2012 04:00
combination of below two commands will give output that you are looking for
1. symmaskdb -sid list no_assignment -- This will give list of devices that are mapped but not masked on a FA port wise
2.symmaskdb -sid xxxx list assign -dev xxxx -- Issue this command with 1 first command ouput devices.
The device which are not showing any masking info in second command when we use the 1st command output devices will be the devices which you required
dynamox
9 Legend
•
20.4K Posts
0
January 27th, 2012 04:00
this will not work for devices that are mapped to 4 FAs but masked to only 2 ..that's what OP is asking.
LEOG4
1 Rookie
•
22 Posts
0
January 27th, 2012 05:00
I was not involved in the initial config of this array.
What I am trying to identify is any devices that are not presented to a host on the array.
Devices not mapped is easy with a symdev -sid xx list noport
I realise you can get the stats by merging 2 sets of symcli output but I was wondering if there was a single symcli command to get what should be a simple query.
Don't know why devices have been mapped to 4 ports then masked to 2 ports also have a mix of devices mapped to 2/4 ports and not masked to any
.
dynamox
9 Legend
•
20.4K Posts
0
January 27th, 2012 06:00
Its possible somebody was moving devices between FA and did not bother to unmap the from the old FA. Sounds like a fun scripting project ;)