Operating System - HP-UX
1752272 Members
5472 Online
108786 Solutions
New Discussion юеВ

Re: is der any option in HP-UX to flash led of faulty disk?

 
Torsten.
Acclaimed Contributor

Re: is der any option in HP-UX to flash led of faulty disk?

With some hardware you can do this, with other hardware you cannot - it depends.



Please post the results of these commands first:

# model
# ioscan -fn
# echo "map"|/usr/sbin/cstm

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!   
Fabien GUTIERREZ
Frequent Advisor

Re: is der any option in HP-UX to flash led of faulty disk?

you cannot but to ensure you re replacing the disk you can use a trick dd if=yourbaddisk of=/dev/null
this ll bring activity to your faulty disk and ll make it "flash"
Torsten.
Acclaimed Contributor

Re: is der any option in HP-UX to flash led of faulty disk?

I strongly doubt if you can "bring activity" to a dead disk, because the status is "NO_HW" already ...

;-)

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!   
Fabien GUTIERREZ
Frequent Advisor

Re: is der any option in HP-UX to flash led of faulty disk?

a faulty disk do not switch to no hardware since it s connected and visible and won t change until you do an ioscan that could result in such a status
Torsten.
Acclaimed Contributor

Re: is der any option in HP-UX to flash led of faulty disk?

But Avinash already posted this line:

disk 6 6/2/0.4.0 sdisk NO_HW DEVICE SEAGATE ST39175LC

BTW, not only the admin is running an ioscan, the diagnostic does it periodically.

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!   
Hein van den Heuvel
Honored Contributor

Re: is der any option in HP-UX to flash led of faulty disk?

Avinash,

How many "good" disks are there?

If is it not too many you can use the 'dd' trick Fabian mentioned to create activity on the good disks and thus make clear which disks NOT to touch.

Create a little script to go over a list of good disk, and in a constant loop issue:
dd /if=$good /of=/dev/null count=100

fwiw,
Hein.



Fabien GUTIERREZ
Frequent Advisor

Re: is der any option in HP-UX to flash led of faulty disk?

oh yess missed that line from avinash so no way to make it blink unfortunately
Torsten.
Acclaimed Contributor

Re: is der any option in HP-UX to flash led of faulty disk?

It's a good idea to exclude good disks, but on a very busy system this may not 100% safe.
IMHO the most reliable is to follow the hardware path ...

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!