1752525 Members
4397 Online
108788 Solutions
New Discussion юеВ

howto get rid of NO_HW?

 
DuKul
Regular Advisor

Re: howto get rid of NO_HW?

Hi Denver,
no, it is no need to put an ioscan output.
I would like to remove exactly the items fcp domain and ext_bus - you are staying that they cannot be removed....and I do not like the reboot....
DuKul
Denver Osborn
Honored Contributor

Re: howto get rid of NO_HW?

That's correct, you won't be able to remove those. The ioscan output is as clean as it's going to get without a reboot.

There shouldn't be any harm in having them on the box until you have a scheduled outage. Worst case scenerio is you may see an EMS alert from that device which could be ignored or put into ems' disabled instances.

-denver
DuKul
Regular Advisor

Re: howto get rid of NO_HW?

Hi Denver,
that's clear....
However, I hoped to have the procedure to clean out the NO_HW from ioscan. I do not know why it is principially impossible.
DuKul
Jacob Alexander
Occasional Advisor

Re: howto get rid of NO_HW?

Use this script... it works for me

#!/usr/bin/ksh
# Script Name : clean_NO_HW_path.sh
# Author : Alexander Jacob
# Description : This script collects data with ioscan and executes rmsf
# cleans-up NO_HW path
################################################################
/sbin/ioscan -fn > /tmp/ioscan.out
d=$(date "+%Y%M%d%H%M")
echo "Cleaning NO_HW path devices with chk_NO_HW_path.sh script at `date`"
echo "Verify status in /var/tmp/chk_NO_HW_path.log.${d}"
echo "It will take time, pl. wait....."
(echo "Cleaning NO_HW path devices with chk_NO_HW_path.sh script at `date`"
echo -----------------------------------------------------------------
echo
egrep 'disk|dsk' /tmp/ioscan.out|while read a
do
if echo $a|grep disk > /dev/null
then
echo "$a \c"
else
echo "$a"
fi
done|grep NO_HW|awk '{print $9,$3,$0}'|while read d h o
do
echo $o
if echo $o|grep GGC >/dev/null
then
grep "$d" /var/tmp/avail_clar.out
else
grep "$d" /var/tmp/avail3.out
fi
grep "$d" /var/tmp/powermtdisp.out
#echo $o
echo "rmsf -H $h "
/usr/sbin/rmsf -H $h
done
echo "Cleanup of NO_HW path process completed at `date`"
echo "--------------------------------------------------"
) > /var/tmp/chk_NO_HW_path.log.${d} 2>&1 &

Sp4admin
Trusted Contributor

Re: howto get rid of NO_HW?

Hello,

Just run the "insf -e" command and then try your ioscan command again.

sp,
Geoff Wild
Honored Contributor

Re: howto get rid of NO_HW?

As sad as it brings me to say this, I have seen NO_HW remain even after the rmsf -H

Have you rebooted since the san change? (that's the sad part)

I had to do that once whne we had a san change and it cleared up the NO_HW

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
DuKul
Regular Advisor

Re: howto get rid of NO_HW?

Jacob - the script deals only with disks, which is not my case....
Geoff - no, I have not rebooted - I would like to avoid it, or - let's say - I had to avoid it.
Anyway, thanks to all with relevant answers....
It seems that this really could not be done without reboot under HP-UX.
feeble
Valued Contributor

Re: howto get rid of NO_HW?

I know this is an old thread, but I just ran into this issue. We are on 11.31 and using the multipathing. In our case we could not see a newly presented disk. I thought it was an NO_HW fcp issue. Anyway, I used rmsf -H on the actual fc's, not the fcp and it cleared up my issue. It did not remove the NO_HW for the fcp's, but I was then able to see the disk. Hope this helps someone in the future.

Torsten.
Acclaimed Contributor

Re: howto get rid of NO_HW?

for 11.31 try

rmsf -x

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!