1832617 Members
3044 Online
110043 Solutions
New Discussion

NO_HW

 
SOLVED
Go to solution
jerry1
Super Advisor

NO_HW

I created two new luns on the VA and then
removed them later. How do I get rid of the
EMS message about NO_HW on the servers now?
Or how do I remove them from showing up in iscan?

ioscan -funCdisk shows(one lun listed here):

/dev/dsk/c24t1d6 /dev/rdsk/c24t1d6
disk 121 0/12/0/0.1.20.0.0.1.7 sdisk NO_HW DEVICE HP A6
218A
/dev/dsk/c24t1d7 /dev/rdsk/c24t1d7
disk 122 0/12/0/0.1.20.0.0.2.0 sdisk NO_HW DEVICE HP A6
218A
7 REPLIES 7
Pete Randall
Outstanding Contributor
Solution

Re: NO_HW

Try using rmsf to remove the device file - that should stop the messages.


Pete

Pete
Torsten.
Acclaimed Contributor

Re: NO_HW

Once the system is rebooted, you won't see any of them in ioscan. But the system "remembers" as long as it runs.


The reboot will solve your problem.


BTW

Make sure you properly remove all related LVM information while removing disk devices.

(lvremove, vgremove, rmsf for VGs on removed disks).

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!   
Patrick Wallek
Honored Contributor

Re: NO_HW

You can remove them from ioscan by doing:

# rmsf -H 0/12/0/0.1.20.0.0.1.7
# rmsf -H 0/12/0/0.1.20.0.0.2.0

You will need to have EMS rebuild its psmdata file.

Do the following:

Disable EMS (run /etc/opt/remon/lbin/monconfig and choose 'K' to kill EMS).

Verify the psmctd is not running. If it is stop diagnostics (/sbin/init.d/diagnostic stop).

Now go to /var/stm/data and mv or remove the psm_data file.

If you had to stop diagnostics, restart them (/sbin/init.d/diagnostic start). If you didn't then ignore this step.

Now restart EMS (run /etc/opt/resmon/lbin/monconfig and choose 'E' to enable).

That should do it.
MANOJ SRIVASTAVA
Honored Contributor

Re: NO_HW

rmsf -H < hardware Path >

rmsf -a < device file > - this will remove alld evice files associated with it . However if you are using veritas the /dev/vx/rdmp stil doenst get removed which has to be done manually or you ahve to reboot the system . After rmsf , ioscan -fuC disk will resacn the disks and the No_HW entries will go off .

Manoj
Geoff Wild
Honored Contributor

Re: NO_HW

rmsf the device files (either via -H or each one individually) though not absolutely necessary- good practise.

Then do a:

ioscan -fnC disk
insf -eC disk

then

ioscan -funC disk

Still there? then the path to the luns may still be there..

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.
jerry1
Super Advisor

Re: NO_HW

That got it. But I have no:

/etc/opt/remon/lbin/monconfig
Patrick Wallek
Honored Contributor

Re: NO_HW

Sorry, that should be 'resmon'.

/etc/opt/resmon/lbin/monconfig