Operating System - HP-UX
1831296 Members
3452 Online
110022 Solutions
New Discussion

Adding disk drives didn't create the devices

 

Adding disk drives didn't create the devices

 
4 REPLIES 4
linuxfan
Honored Contributor

Re: Adding disk drives didn't create the devices

Hi Glenn,

what kind of disk drives did you add?

You may have to run
/usr/sbin/ioscan -fnC disk
insf -e
(to create the device files and then run )
"ioscan -fnC disk"

-HTH
Ramesh
They think they know but don't. At least I know I don't know - Socrates
Sanjay_6
Honored Contributor
Sridhar Bhaskarla
Honored Contributor

Re: Adding disk drives didn't create the devices

There might be the stale device files already on the system. Run ioscan -fn and identify the devices and do a rmsf on them (you can use them if you don't want them clean). Once it is done, run ioscan -f again and execute insf. They will create the device files fresh for you.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Bill McNAMARA_1
Honored Contributor

Re: Adding disk drives didn't create the devices

This will happen for sure when you hot plug or online attach disks.

Remember that the ioinit is done on boot.

To 'force' a hardware rescan
ioscan -f

To create the device files insf -eH

To verify creation
ioscan -fnk

Note that the -k option in ioscan is kernel based - ie what the kernel currently knows, rather that resetting the drivers to go out an look for extra/less h/w.

On the other hand, if you added disks and rebooted your server, and on boot up the device files weren't created then there's a problem. You probably don't have a driver installed.. ioscan -fnk after the bootup to figure out what HW is in a state of anything other than CLAIMED and figure out what H/W that corresponds to. You might need to apply some XSWHWCR Hardware enablement patch. You will know which one to add from looking at the device that isn't claimed.

Tell us more..

Bill
It works for me (tm)