This post is more than 5 years old
41 Posts
0
1961
symmaskdb list assignment question? Multiple Dev's
I am reading the documentation for this command and it states...
symmaskdb -sid SymmID [-v]
list assignment [-v]
-dev StartSymDevName:EndSymDevName
| SymDevName | SymDevName
I don't see how to list multiple devices in one command.
The following command works for example but only shows the last device entered /typed.
symmaskdb list assignment -dev xx2 -dev xx1
Am I doing something wrong?
symmaskdb -sid SymmID [-v]
list assignment [-v]
-dev StartSymDevName:EndSymDevName
| SymDevName | SymDevName
I don't see how to list multiple devices in one command.
The following command works for example but only shows the last device entered /typed.
symmaskdb list assignment -dev xx2 -dev xx1
Am I doing something wrong?
xe2sdc
2.8K Posts
0
May 7th, 2009 01:00
C:\Documents and Settings\ZZSDE64>symmaskdb -sid 793 list assignment -dev 0123,1234,033A
Symmetrix ID : 000xxxxxx793
Device Identifier Type Dir:P
------ ---------------- ----- ----------------
0123 10000000c958591b FIBRE FA-3A:1
033A - - -
1234 - - -
lunz3
41 Posts
0
May 6th, 2009 09:00
Invalid number of keywords. Running symcli 6.5
xe2sdc
2.8K Posts
0
May 6th, 2009 09:00
symmaskdb list assignment -dev xx1,xx2,xx3
xe2sdc
2.8K Posts
0
May 6th, 2009 09:00
I'll dig a little and come back to you asap...
xe2sdc
2.8K Posts
0
May 6th, 2009 09:00
Replace xx1,xx2,xx3 with appropriate devices you want to show in the output.
lunz3
41 Posts
0
May 6th, 2009 09:00
Then i get invalid number of keywords error message.
lunz3
41 Posts
0
May 6th, 2009 09:00
lunz3
41 Posts
0
May 6th, 2009 09:00
symmaskdb list assignment -dev xxx
device string contains a non-hex value
xe2sdc
2.8K Posts
1
May 6th, 2009 09:00
You can either specify a single dev( xxx), a range (xxx:yyy) or even a list of devices (xxx,yyy,zzz)
Can you please paste exact command line you issued ??
xe2sdc
2.8K Posts
0
May 6th, 2009 10:00
And I'm also moving home ... thus I'll be back later, after my dinner
lunz3
41 Posts
0
May 6th, 2009 10:00
xe2sdc
2.8K Posts
0
May 6th, 2009 10:00
symdev is a single word of 4 hex digits ... I can't understand what you are using as "symdev" in your command line if you don't show us the actual command line
Oh BTW showing symdevs isn't an issue. At least in my opinion
xe2sdc
2.8K Posts
0
May 6th, 2009 13:00
lunz3
41 Posts
0
May 7th, 2009 05:00
The issue I failed to mention was I was using Powershell not the command prompt. In power shell that same command has to be issued like this.
symmaskdb list assignment -dev "xxx1,xx2,xx3"
including the quotation marks, silly I know but powershell handles inputs differently than command prompt.
In the normal command prompt mode the normal command works without quotations as follows:
symmaskdb list assignment -dev xxx1,xx2,xx3
xe2sdc
2.8K Posts
0
May 7th, 2009 05:00
I guess you are right .. Probably powershell parses commandline before sending args to the command itself .. and makes strange changes to the line you entered ...
I'm glad you fixed your issue .. unfortunatly I never used a "powershell" .. I prefer bash