Unsolved
This post is more than 5 years old
51 Posts
0
2000
April 14th, 2009 12:00
symmaskdb list no_assignment - not showing correct output..
hello all,
the symmaskdb list no_assignment - not showing correct output.. though the lun is masked it is not showing in the no_assignment list. Is there any command to show the correct ouput of the luns which are not masked but mapped.
any help is highly appreciated.
thank you.
the symmaskdb list no_assignment - not showing correct output.. though the lun is masked it is not showing in the no_assignment list. Is there any command to show the correct ouput of the luns which are not masked but mapped.
any help is highly appreciated.
thank you.
No Events found!



xe2sdc
4 Operator
•
2.8K Posts
0
April 14th, 2009 12:00
nikam1
51 Posts
0
April 14th, 2009 13:00
Output:: 762
When I check the assignment, it is assigned few hbas.
$ sudo symmaskdb -sid 4199 -dev 762 list assignment
Symmetrix ID : 00000000xxxx
Device Identifier Type Dir:P
------ ---------------- ----- ----------------
0762 10000000c96daa05 FIBRE FA-7A:1
10000000c9711684 FIBRE FA-10A:1
10000000c9708aab FIBRE FA-7B:1
10000000c96dbc8e FIBRE FA-10B:1
Message was edited by: Edited the system ID.
KCSCP
xe2sdc
4 Operator
•
2.8K Posts
0
April 14th, 2009 13:00
I guess you have to build a script that collects a list of mapped devices (on any port) and a list of masked devices (again on any port).
The difference (fgrep -vf in unix terms) is the answer to your question.
xe2sdc
4 Operator
•
2.8K Posts
0
April 14th, 2009 13:00
Probably device 762 is mapped (and not masked) on other ports (and not only 7a:1, 7b:1, 10a:1, 10b:1). Can you please paste output of "symdev -sid 4199 show 762" ??
nikam1
51 Posts
0
April 14th, 2009 13:00
Front Director Paths (8):
{
----------------------------------------------------------------------
POWERPATH DIRECTOR PORT LUN
--------- ---------- ---- -------- ---------
PdevName Type Type Num Sts VBUS TID SYMM Host
----------------------------------------------------------------------
Not Visible N/A FA 07A:1 RW 000 00 097 N/A
Not Visible N/A FA 10A:1 RW 000 00 097 N/A
Not Visible N/A FA 07B:1 RW 000 00 097 N/A
Not Visible N/A FA 08B:0 RW 000 00 097 N/A
Not Visible N/A FA 08B:1 RW 000 00 097 N/A
Not Visible N/A FA 09B:0 RW 000 00 097 N/A
Not Visible N/A FA 09B:1 RW 000 00 097 N/A
Not Visible N/A FA 10B:1 RW 000 00 097 N/A
}
what is the best command in symcli to findout all the luns which are not masked but mapped to FAs?
KD8EWE
2 Intern
•
155 Posts
0
April 22nd, 2009 10:00
symdev -sid XXXX list -noport
Check address available
symcfg -sid XXXX -sa ALL address available list | more
symmask -sid XXXX -dir -p list logins
symmaskdb -sid XXXX list assignment dev
symcfg -sid XXXX list -connections
symcfg -sid XXXX list FA p= address available
you can combine all these commands and make a script or use it individually. Hope this helps
KD8EWE
2 Intern
•
155 Posts
0
April 22nd, 2009 10:00
symmaskdb list no_assignment
MikeMac1
2 Intern
•
292 Posts
0
May 6th, 2009 07:00
dynamox
9 Legend
•
20.4K Posts
0
May 11th, 2009 12:00
i understand that you are trying to get threads marked as answered but it marks some many posts that have not changed since April as having new content ..that it generates more confusion than helps.
Allen Ward
4 Operator
•
2.1K Posts
0
May 11th, 2009 12:00
MikeMac1
2 Intern
•
292 Posts
0
May 11th, 2009 13:00
xe2sdc
4 Operator
•
2.8K Posts
0
May 11th, 2009 14:00
Welcome back Allen.
Allen Ward
4 Operator
•
2.1K Posts
0
May 17th, 2009 07:00
Sort of a vacation, and sort of not
This week is actually going to be more of a vacation... I'm down in Orlando for EMC World. And if you have even been, you'll know that this isn't really much of a vacation either. It's well worth it, but exhausting in it's own way. I mean really! How many after hours partner sponsored parties can you attend in one evening. You just have to set limits and stick to them
MaximUnited
111 Posts
0
May 19th, 2009 07:00
First one does 'symmask list no_assign' and does 'symmask list assign -dev' on every device found. Whichever device is not masked to any host is marked as free and is sent to a unmap configuration file for later use. (The script also checks that devices not a Clone nor SRDF nor a VCM device).
The second one is pretty much like the first, except it checks each FA at a time. Meaning it finds devices which are unmasked per FA and send it to the unmap config file. This one takes a bit longer time to run.
Belvendran
1 Rookie
•
14 Posts
0
August 18th, 2010 08:00
Any one having full working script for this. I am having the same requirement “map dev but not masked to any port”