Operating System - HP-UX
1833767 Members
2249 Online
110063 Solutions
New Discussion

How do you rebuild devices in HP-UX?

 
SOLVED
Go to solution
John E. Goetz
Frequent Advisor

How do you rebuild devices in HP-UX?

What are the steps needed in order to rebuild devices in 11.23?
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor

Re: How do you rebuild devices in HP-UX?

Hi John:

If you mean special device files, then 'insf'. See the manpages.

Regards!

...JRF...
Tim Nelson
Honored Contributor

Re: How do you rebuild devices in HP-UX?

insf -e

With the -e option, insf reinstalls the special files for pseudo-drivers and existing devices. This is useful for restoring special files when one or more have been removed.


Hemmetter
Esteemed Contributor

Re: How do you rebuild devices in HP-UX?

Hi John,

if you mean rebuild "special device files" then do
$ ioscan
to discover new HW and then
$ insf -e

rgds
HGH
John E. Goetz
Frequent Advisor

Re: How do you rebuild devices in HP-UX?

I know about ioscan and insf, but is there a way to cleanup or remove any unused devices files and rebuild the devices even if it requires a reboot. We are having issues after upgrading to 11.23 from 11.11. It gives us devices errors and wanted to know a way to total remove all devices except rootdg and rescan/rebuild.
Tim Nelson
Honored Contributor
Solution

Re: How do you rebuild devices in HP-UX?

Example: remove old non-existant disk devices.

ioscan -kfnC disk|grep NO_HW

rmsf -H HW_ADDR_FROM_ABOVE

Hemmetter
Esteemed Contributor

Re: How do you rebuild devices in HP-UX?

Hi John,

with a reboot all devices are recreated from ground up. Did you really NOT reboot since upgrade?

And what error messages do you see exactly?

rgds
HGH


Torsten.
Acclaimed Contributor

Re: How do you rebuild devices in HP-UX?

"It gives us devices errors" - details, please?

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!