Operating System - HP-UX
1837900 Members
3346 Online
110123 Solutions
New Discussion

fcmsutil not working/helping

 
James IOCANE
Advisor

fcmsutil not working/helping

Hi
hopefully quick. Replaced an fc tape drive in a library, into the same port of the fabric. All other servers connected to it either picked it up straight away or (with the 11.31 server) after massaging using scsimgr.

One of the 11.11 servers hasn't tagged onto the new drive. The command I thought should work was

fcmsutil /dev/fcd1 replace_dsk 0x050600

where 0x050600 is the N_Port_id of the drive, from 'get all'. It seems to work, comes back with

Disk at nportid 0x050600 will not be authenticated

But ioscan still shows NO_HW. What am I doing wrong?

James
11 REPLIES 11
Johnson Punniyalingam
Honored Contributor

Re: fcmsutil not working/helping

insf -e
Problems are common to all, but attitude makes the difference
James IOCANE
Advisor

Re: fcmsutil not working/helping

insf -e no help. Sorry.
Johnson Punniyalingam
Honored Contributor

Re: fcmsutil not working/helping

any errors reported --> /var/adm/syslog/syslog.log
dmesg

ioscan -fun
/opt/fcms/bin/fcmsutil device_file enable


Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: fcmsutil not working/helping

How verify the FCMS adapter!! is function properly
**********************************************

1. Verify that the fiber optic cable is functional and securely
attached to the Fibre Channel Mass Storage Adapter.
2. After checking the cabling, execute a loopback test on the
FCMS Adapter using fcmsutil. Command syntax is as follows:
/opt/fcms/bin/fcmsutil lb plm

Example:-

# /opt/fcms/bin/fcmsutil /dev/td11 lb plm

WARNING: This is a DESTRUCTIVE test.
This might result in failure of current I/O requests.
Do you want to continue? (y/n) [n]...y
Data came back intact
Problems are common to all, but attitude makes the difference
James IOCANE
Advisor

Re: fcmsutil not working/helping

dmesg has

1/0/1/1/1: Device at device id 0x50300 has disappeared from Name Server GPN_FT
(FCP type) response, or its 'Port World-Wide Name' has changed.
device id = loop id, for private loop devices
device id = nport ID, for fabric/public-loop devices
System won't be able to see LUNs behind this port.

1/0/1/1/1: Device at device id 0x50300 is back in Name Server GPN_FT (FCP type)
response, and its 'Port World-Wide Name' remains the same as
original.
device id = loop id, for private loop devices
device id = nport ID, for fabric/public-loop devices
System will be able to see LUNs behind this port
(might need to run 'ioscan' first).



but nothing else seems to help. The system seems to be working, and I can see the wwn of the new drive in fcmsutil, but it isn't coming up in ioscan as present.

James
Johnson Punniyalingam
Honored Contributor

Re: fcmsutil not working/helping

Hi James,

insf -e

ioscan

fcmsutil /dev/fcd1 --> need output

have you checked fiber optic cable is functional and securely
attached to the Fibre Channel Mass Storage Adapter..?

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: fcmsutil not working/helping

also like to try

/opt/fcms/bin/fcmsutil device_file enable
Problems are common to all, but attitude makes the difference
James IOCANE
Advisor

Re: fcmsutil not working/helping

Yep, tried all of those.

Can't give you the fcmsutil output just atm, however it is normal. The drive is hooked up fine, several other servers are using it already.
Johnson Punniyalingam
Honored Contributor

Re: fcmsutil not working/helping

/opt/fcms/bin/fcmsutil -f device_file enable
(force enable)

suspecting "kernal have confused" .:)
do you any chances for "reboot" ..? or downtime.?

Rgds,
Johnson
Problems are common to all, but attitude makes the difference
James IOCANE
Advisor

Re: fcmsutil not working/helping

I have tried a force reset. Not a force enable, though. However, the other three tape drives in the library are still visible, so I don't believe the card has a problem, expept with this drive.

I've readjusted the backups to miss that drive. Next reboot we'll see how it goes.
Johnson Punniyalingam
Honored Contributor

Re: fcmsutil not working/helping

ioscan -fn

(without -H ...)?

fcmsutil /dev/fcd1 get remote all

which would show us what targets the FC card thinks it can see.


Look for the FCID (N_Port_id)

can you post me the output


Rgsd,
Johnson
Problems are common to all, but attitude makes the difference