Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1961

May 6th, 2009 09:00

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?

2.8K Posts

May 7th, 2009 01:00

It worked flawless ..

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 - - -

41 Posts

May 6th, 2009 09:00

I get the following:

Invalid number of keywords. Running symcli 6.5

2.8K Posts

May 6th, 2009 09:00

Can you try the following command ??

symmaskdb list assignment -dev xx1,xx2,xx3

2.8K Posts

May 6th, 2009 09:00

I was simply trying .. I don't have symcli available right now :-/

I'll dig a little and come back to you asap...

2.8K Posts

May 6th, 2009 09:00

I hope you don't have symdevs xx1 xx2 and xx3 in your DMX .. :-)

Replace xx1,xx2,xx3 with appropriate devices you want to show in the output.

41 Posts

May 6th, 2009 09:00

symmaskdb list assignment -dev xx1,xx2,xx3


Then i get invalid number of keywords error message.

41 Posts

May 6th, 2009 09:00

Hah.. Not listing the customers real devices on public forum, that is just for here, I am using real valid devices and getting that error message.

41 Posts

May 6th, 2009 09:00

This is the error you get if you were to use xxx..

symmaskdb list assignment -dev xxx
device string contains a non-hex value

2.8K Posts

May 6th, 2009 09:00

Straight from S.E. 6.5. manuals ...

symmaskdb -sid SymmID [-v] list assignment
    -dev SymDevStart:SymDevEnd | SymDevName | SymDevName,SymDevName...


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 ??

2.8K Posts

May 6th, 2009 10:00

Oh BTW since this thread deals with solution enabler commands, I'm moving the thread at a better location within a few minutes ..
And I'm also moving home ... thus I'll be back later, after my dinner :D

41 Posts

May 6th, 2009 10:00

I am using real devices that exist on the dmx, same ones from any normal symdev list output command.

2.8K Posts

May 6th, 2009 10:00

That's why I asked to see actual command line ...

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 :-)

2.8K Posts

May 6th, 2009 13:00

Unfortunatly I don't have access to a host where I can issue symcli commands .. I'll try again tomorrow...

41 Posts

May 7th, 2009 05:00

Thanks for your help I was inputing the command correctly and yet still getting the error message... Found problem / solution.

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

2.8K Posts

May 7th, 2009 05:00

Eheheheheh :D
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 ;-)
No Events found!

Top