Operating System - HP-UX
1752822 Members
4118 Online
108789 Solutions
New Discussion юеВ

Re: replace_dsk command issue

 
SOLVED
Go to solution
likid0
Honored Contributor

replace_dsk command issue

Hy people:
I get this error in syslog:

0/0/14/0/0: Unable to access previously accessed device at nport ID 0x757613.
Jul 7 20:16:42 vmunix: 0/0/14/0/0: 'World-wide name' (unique identifier) for device at nport ID 0x757613 has
Jul 7 20:16:42 vmunix: changed. If the device has been replaced intentio nally, please use the
Jul 7 20:16:42 vmunix: fcmsutil(1M) command's replace_dsk option to allo w the new device to be used.
Jul 7 20:16:42 vmunix: 0/0/14/0/0: Fibre Channel Driver detected a parse error in the FLOGI/PLOGI response
Jul 7 20:16:42 vmunix: returned by nport ID 0x757613. FLOGI/PLOGI Fail C ode = 0x6.
Jul 7 20:16:42 grifo1 vmunix:

I imagine i get this error because a wwn has changed for a disk in the san ??

do i get this error using?:


fcmsutil /dev/td0 replace_dsk 0x757613


is it safe to do it with the disks on-line and working?

thnx a lot for your help!
Windows?, no thanks
8 REPLIES 8
Chauhan Amit
Respected Contributor

Re: replace_dsk command issue

Hello Daniel,

You are right in mentioning that you are getting this error because wwn has changed.

It is very much safe to run the fcmsutil commmand on an on-line disk , if still the error exists you need to remove the corresponding H/W path and reboot the system.

-Amit
PS: do remember to assign points
If you are not a part of solution , then you are a part of problem
likid0
Honored Contributor

Re: replace_dsk command issue

And which is the nport i have to put in the command ??

beacuse i get this message:

0/0/14/0/0: Unable to access previously accessed device at nport ID 0x757613.
0/0/14/0/0: 'World-wide name' (unique identifier) for device at nport ID 0x75761 3 has
changed

i get two nport ids 0x757613 and 0x75761 which one is the one i have to include with the command replace_dsk ??
Windows?, no thanks
Chauhan Amit
Respected Contributor
Solution

Re: replace_dsk command issue

You need to give the following command:

#fcmsutil /dev/td0 replace_dsk 0x757613

After running the above command, you will get a message indicating the port will
not be authenticated:
Disk at nportid 0x757613 (Loop_id x) will not be authenticated

Hope this helps,
Amit
If you are not a part of solution , then you are a part of problem
likid0
Honored Contributor

Re: replace_dsk command issue

Thnx a lot for your help the msg has gone.

But for my knoledge, what does replace_dsk exacly do?

or a link to some doc about this command, im not clear what i just did ;d
Windows?, no thanks
Chauhan Amit
Respected Contributor

Re: replace_dsk command issue

Hello,

The replace_dsk option of fcmsutil is neccessary in order to change a device and keep the same nport_id but primarily, it should be used when replacing a bad disk. When this option is used, no authentication on that device is performed the next time system communicates with it thus avoiding the error message in the syslog.

-Amit
PS - Do remember to assign points.
If you are not a part of solution , then you are a part of problem
Torsten.
Acclaimed Contributor

Re: replace_dsk command issue

Did you replace anything?

This indicates normally, a device with the same nport ID now has another WWN. The driver will block this device and you will see NO_HW in ioscan. Now you are going to tell the driver, "let the device in" by issuing the repace_dsk command.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
likid0
Honored Contributor

Re: replace_dsk command issue

So u use the command to block or unblock the disc??

lets say u have a faulty disc, before u remove it you give it a replace_dsk the change the disc and its wwn changes... do you have to do something else to see the new disk??

ups getting mixed up here ;D

Thnx all
Windows?, no thanks
marie-noelle jeanson_1
Trusted Contributor

Re: replace_dsk command issue

Hi,

For all details, look at the FC support guide here:
http://docs.hp.com/en/J6374-90035/ch04s03.html

Scroll to Device Replacement without System Reboot. It tells you all about the replace_dsk command,

Marie.