Operating System - HP-UX
1833053 Members
2678 Online
110049 Solutions
New Discussion

Re: Removing NO_HW instances without rebooting

 
SOLVED
Go to solution
Vincent Farrugia
Honored Contributor

Removing NO_HW instances without rebooting

Hello,

I want to know whether it is possible to remove the NO_HW instances of ioscan. I know it can be done simply by removing the device drivers and rebooting the machine, but is it possible to do it without rebooting the machine?

Thanks
Tape Drives RULE!!!
4 REPLIES 4
Stefan Farrelly
Honored Contributor
Solution

Re: Removing NO_HW instances without rebooting


Sorry, only way to cleanup NO_HW entries is to reboot or plug in the hardware on that same channel/id and do an ioscan.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Vincent Farrugia
Honored Contributor

Re: Removing NO_HW instances without rebooting

Thanks very much for your help.
Tape Drives RULE!!!
Tim D Fulford
Honored Contributor

Re: Removing NO_HW instances without rebooting

Hi

You can remove the devices from /dev/ using rmsf command (do man rmsf as there are options & I do not know what you are removing)

Usually if there is NO_HW the device has become disconnected whilst the machine is on. This is doddgy as it can damage the cards.

I usually have the reverse problem, it is connected but is registered as NO_HW. I use ioscan -f usually ioscan -fCtape to put it back into the CLAIMED state then insf -H or insf -C or if I'm feeling lazy insf -e, to get the device files installed (if it is not already installed)

Lastly why do you want to remove the NO_HW in ioscan? If you have intensionally removed the H/W and the device drivers are removed from /dev what harm will it do in waiting 'till the next boot?
-
Vincent Farrugia
Honored Contributor

Re: Removing NO_HW instances without rebooting

Just out of curiosity... like when a customer does not want to reboot his machine...

Thnaks all, case closed :-)
Tape Drives RULE!!!