System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

replacing disk with TACHYON fibre channel hba

SOLVED
Go to solution
Lee Abell
Frequent Advisor

replacing disk with TACHYON fibre channel hba

We had a disk fail in the HP SureStore 2405. I am only the backup admin and had not done a replacement like this before. The disk was mirrored, so I did a lvreduce and then a vgreduce. I also did a vgscan after saving the /etc/lvmtab. Then we swapped the disk and did an ioscan which showed NO_HW.

After reading many posts, I saw that I should have run the fcmsutil command with the replace_disk option.

So, I tailed the /var/adm/syslog.log and saw the message:
Jun 16 13:08:58 hp72 vmunix: 0/10/0/0: 'World-wide name' (unique identifier) for device at nport ID 0xe4 has
Jun 16 13:08:58 hp72 vmunix: changed. If the device has been replaced intentionally, please use the
Jun 16 13:08:58 hp72 vmunix: fcmsutil(1M) command's replace_dsk option to allow the new device to be used.
Jun 16 13:08:58 hp72 vmunix: 0/10/0/0: Fibre Channel Driver detected a parse error in the FLOGI/PLOGI response
Jun 16 13:08:58 hp72 vmunix: returned by nport ID 0xe4. FLOGI/PLOGI Fail Code = 0x6.

Then I ran: fcmsutil /dev/td2 replace_disk 0xe4

but I get this in response:
*************************************************************************
***** IOCTL functions available to the TD driver *****
*************************************************************************

fcmsutil < TD device_file >
< TD device_file > echo [data_size] [count]
< TD device_file > test [data_size] [count]
< TD device_file > rls
< TD device_file > [-f] lb plm|crpat|cjtpat [count]
< TD device_file > read_cr
< TD device_file > read [pci]
< TD device_file > write [pci]
< TD device_file > vpd
< TD device_file > get fabric
< TD device_file > get remote {all | }
< TD device_file > [-k] ns_query_ports
< TD device_file > reset
< TD device_file > [-f] bdr
< TD device_file > replace_dsk
< TD device_file > stat [-s]
< TD device_file > clear_stat
< TD device_file > nsstat
< TD device_file > clear_nsstat
< TD device_file > devstat {all | }
< TD device_file > clear_devstat {all | }
< TD device file > enable
< TD device file > [-f] disable
Note: can be substituted with -w
or -l (only in PRIVATE_LOOP) for all options
that take as an argument.

I've tried running the fcmsutil command with the -l option and supplying the loop id and get the same response.

Can someone tell me what I'm doing wrong, please?
3 REPLIES
cnb
Honored Contributor
Solution

Re: replacing disk with TACHYON fibre channel hba

Looks like a typo in your command?

s/b < TD device_file > replace_dsk

and your command:

Then I ran: fcmsutil /dev/td2 replace_disk 0xe4

remove the *i* in replace_d*i*sk

hth,
Lee Abell
Frequent Advisor

Re: replacing disk with TACHYON fibre channel hba

Duh...Thanks so much. New glasses. :-)
Torsten.
Acclaimed Contributor

Re: replacing disk with TACHYON fibre channel hba

New glasses - LOL ;-))

Just to add this: If the disks are dual pathed or this is a cluster you need to run the same command for each connected HBA!

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!