Operating System - HP-UX
1830498 Members
2256 Online
110006 Solutions
New Discussion

/opt/fcms/bin/fcmsutil /dev/td1 get remote all

 
Michael Palmgren
Frequent Advisor

/opt/fcms/bin/fcmsutil /dev/td1 get remote all

Problem with this command
/opt/fcms/bin/fcmsutil /dev/td1 get remote all
I get this error
Error: nport_id (all) is not a valid number
System information
HP-UX n09000 B.11.00 U 9000/800

Michael
12 REPLIES 12
Steve Steel
Honored Contributor

Re: /opt/fcms/bin/fcmsutil /dev/td1 get remote all

Hi


Bad command format

see

http://www.docs.hp.com/en/B2355-90681/fcmsutil.1M.html


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Patrick Wallek
Honored Contributor

Re: /opt/fcms/bin/fcmsutil /dev/td1 get remote all

Hmmm....I just tried it on one our 11.0 boxes and it worked fine. Maybe you need a fcmsutil patch?

Here is what my fcmsutil command looks like:

# what /opt/fcms/bin/fcmsutil
/opt/fcms/bin/fcmsutil:
fcmsutil : Version: B.11.00.13
[ root@hqudb01:/tmp ]
# ll /opt/fcms/bin/fcmsutil
-r-xr-xr-x 1 bin bin 69632 Jun 15 2001 /opt/fcms/bin/fcmsutil*

Possible applicable patches:

s700_800 11.00 Fibre Channel Mass Storage Driver Patch - PHKL_29962
s700_800 11.00 Tachyon TL Fibre Channel Driver Patch - PHSS_30597

Be sure to get any dependences for these patches as well.
Peter Godron
Honored Contributor

Re: /opt/fcms/bin/fcmsutil /dev/td1 get remote all

Michael,
do you need to specify the raw device (i.e. < /dev/rdsk/c?t?d?) at the end?
Or has somebody 'played' with the card or cable?
Can you run a test or devstat?
Regards
Michael Palmgren
Frequent Advisor

Re: /opt/fcms/bin/fcmsutil /dev/td1 get remote all

Hi!
command
/opt/fcms/bin/fcmsutil /dev/td1 get remote all

Works on other 11.00 system
Jeff Schussele
Honored Contributor

Re: /opt/fcms/bin/fcmsutil /dev/td1 get remote all

Hi Michael,

Is this a FC JBOD device like an FC10 or 60 or such?
If so, have any of the disks been replaced lately?
If yes, then someone may have forgot to run
fcmsutil /dev/td1 replace_dsk remote-N-Port-ID
This must be done whenever a disk is replaced.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Florian Heigl (new acc)
Honored Contributor

Re: /opt/fcms/bin/fcmsutil /dev/td1 get remote all

Michael, I've never seen that command return such a nasty error, but... my workmates keep trying to convince me that nowadays the 'tdutil' command residing in the same path should be chosen over fcmsutil.

Would You mind checking if this shows the same error?
yesterday I stood at the edge. Today I'm one step ahead.
Jeff Schussele
Honored Contributor

Re: /opt/fcms/bin/fcmsutil /dev/td1 get remote all

Hi Florian,

Why do I get the idea that you might be an HP employee?
If so why are you reluctant to adhere the "blue-blood" icon upon your moniker?

Just Curious,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Jannik
Honored Contributor

Re: /opt/fcms/bin/fcmsutil /dev/td1 get remote all

do this:
fcmsutil /dev/td1

What does the line Driver Version say:
Driver Version = @(#) PATCH_11.00: libtd.a : Jul 15 2002, 11:34:12, PHSS_26798

Now all the HP fellows will be happy :-)

This seems to be a typing error (hidden charaters) or a patch error, but the last seems fare out.

Try to type the command:
# ioscan -funC fc
make sure the devices are claimed!

On the other td do this:
# fcmsutil /dev/td0
Driver state should look like this: Driver state = ONLINE
# fcmsutil /dev/td0 get remote all
The command should work for the other device!

Now do it again for td1:
# fcmsutil /dev/td1
Driver state should look like this: Driver state = ONLINE
# fcmsutil /dev/td1 get remote all


Post all output so we can have a look on it!
jaton
Florian Heigl (new acc)
Honored Contributor

Re: /opt/fcms/bin/fcmsutil /dev/td1 get remote all

Jeff,
I'm no hp employee, I just work in a enviromnment which is large enough to create a permanent level of interesting errors and I like the troubleshooting more than day-to-day work.

Like being able to tell HP support, "yes we changed GBIC, switchport and cabling. And, by the way, we had a failing tachyon XL2 8 weeks ago in a server that was shipped at the same time." :)
yesterday I stood at the edge. Today I'm one step ahead.
Jeff Schussele
Honored Contributor

Re: /opt/fcms/bin/fcmsutil /dev/td1 get remote all

Hi (again) Florian,

Well then, OK, I stand corrected.
I must say your skills are very welcome here.
What took you so long?

Cheers my friend,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Michael Palmgren
Frequent Advisor

Re: /opt/fcms/bin/fcmsutil /dev/td1 get remote all

Hi sorry for the delay.
this machin is connected to XP an we have
replaced disk so when I do en ioscan it
look like this
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 79 0/4/0/0.8.0.4.0.0.0 sdisk NO_HW DEVICE HP DI
SK-SUBSYSTEM

and this generate error message in the syslog.
This command I use to get the nport id
/opt/fcms/bin/fcmsutil /dev/td0 get remote all and it thosent work

I can also see the nport id in the syslog


And this comman ./tdutil /dev/td0 replace_dsk 0x000014 I get this error message
Failure in ioctl: No such device or address

so i can not get away the error message in
the syslog.

I have than done this on seven othe hp

servers an it works
Michael Palmgren
Frequent Advisor

Re: /opt/fcms/bin/fcmsutil /dev/td1 get remote all

Hi!

Thanks for all answer.
In need to uppgrade fiber channel driver
from 11.00.02 to 11.00.03 or later.
the resent version is 11.00.10

Regards
Michael