Operating System - HP-UX
1752793 Members
6234 Online
108789 Solutions
New Discussion юеВ

Re: disk showing NO_HW question.

 
Dave Chamberlin
Trusted Contributor

disk showing NO_HW question.

Greetings. I have a DS2405 attached to rp7420, with 4 36G drives in it. I use the same disks in a couple of VA arrays and wanted to test a replacement disk. I put it in an open slot on the DS, and did a dd - which never returned. An ioscan shows NO_HW. Event though this disk prob has format for VA, shouldn't it show up as claimed in ioscan if the device files exist? Also - if N0_HW means the system cant communicate with the disk, how does it know the size and and type (in the description)? I have tried other identical disks, ioscan is the same for them. BTW - the dd is still hung out there. Are these all bad disks or id the hung dd causing ioscan to fail?

 

P.S. This thread has been moved from Disk to HP-UX > sysadmin . -HP Forum Moderator

9 REPLIES 9
Torsten.
Acclaimed Contributor

Re: disk showing NO_HW question.

Even a good replacement disk remains NO_HW until you reboot the server OR you use the fcmsutil ... replace_dsk command.

See syslog file for details.

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!   
Dave Chamberlin
Trusted Contributor

Re: disk showing NO_HW question.

The drive is on patch 1/0/14/1/1, with inquiry failed on device 0xc. So how do I indentify the /dev file to use in the fcmsutil command? Also - why the issue? Is it because the original drive tested was bad? I usually insert a drive into an empty slot, create device files and ioscan is ok.
Torsten.
Acclaimed Contributor

Re: disk showing NO_HW question.

If you replace a drive, the nportID remains but the WWN is changed. The driver does not allow the disk to log in. The replace_dsk command disables this check, so the drive can log in. You need to device file of the HBA (e.g. /dev/td0) and the nportID (from syslog).

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!   
Alzhy
Honored Contributor

Re: disk showing NO_HW question.

Reboot your server...
There is "something" that is preventing that dd from completing.

Have you done your customary ioscan;insf -e and see if it cures the dd issue?

you can also try doign an fcmsutil --get

fcmsutil /dev/tdN get remote all
fcmsutil /dev/tdN get fabric

where tdN or fcdN are your HBAs...

Hakuna Matata.
Dave Chamberlin
Trusted Contributor

Re: disk showing NO_HW question.

Yes I tried the insf command. How do I link the output of fcmsutil to the SCSI address reported for the card? Using the get remote all, shows target N_port_ids, Target Port WWW names, etc, but none of these match the port/www name information from STM on the card. Tried for fcd0 to fcd3.
Torsten.
Acclaimed Contributor

Re: disk showing NO_HW question.

Did you use the ...replace_dsk... command now?

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!   
Alzhy
Honored Contributor

Re: disk showing NO_HW question.

Tors -- been thinking about too -- but I am unsure if this gentleman is using HP-UX 11.31
Hakuna Matata.
Dave Chamberlin
Trusted Contributor

Re: disk showing NO_HW question.

Sorry - I omitted - HP-UX 11.23 is the OS. I can't do the replace disk command until I can resolve the HBA dev address. thanks
Torsten.
Acclaimed Contributor

Re: disk showing NO_HW question.

Why?

Where is the problem?



The command would be like this:


# fcmsutil /dev/td0 replace_dsk 0x0123


Take the HBA device file from ioscan, the nPortID from the message in syslog.

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!