Find Mapped but Unmasked devices

Finding all the mapped devices in a DMX/Vmax array , which are not masked to any host is a tedious task. We do have a straightforward Solution-Enabler command to list these type of devices , use 'no_assignment' option with symmaskdb/symaccess command . But we rather end up by listing repetitive devices on each FA ports. I often used to follow the below steps .

1

Get all Mapped devices

First step is to get the list of all devices which are mapped to ATLEAST one FA port.

symdev -sid 1234 list -firstport -nomember

We can use the below command to list a range of devices( for eg. from AAA to BBB ), incase don't want to check the entire devices on the array.

symdev -sid 1234 list -firstport -range AAA:BBB -nomember

OR , if we have the list of devices( for eg. from AAA:AAF,BBB ) with latest Solution Enabler.

symdev -sid 1234 list -firstport -devs AAA:AAF,BBB -nomember

2

Make device list

Note down all the devices from the above command output and seperate them with commas . This utility specifically created for the same purpose.

For eg.

AAA
AAB
AAC

to..
AAA,AAB,AAC

3

List Unmasked devices

Use the below command to get the unmasked devices

On DMX

#On Unix SE Host
symmaskdb -sid 1234 list assign -dev AAA,AAB,AAC | grep ' - '


#On Windows SE Host
symmaskdb -sid 1234 list assign -dev AAA,AAB,AAC | find ' - '

On VMax

#On Unix SE Host
symaccess -sid 1234 list -type storage -dev AAA,AAB,AAC | grep ' - '


#On Windows SE Host
symaccess -sid 1234 list -type storage -dev AAA,AAB,AAC | find ' - '