Operating System - HP-UX
1820649 Members
3303 Online
109626 Solutions
New Discussion юеВ

Re: Added disk drives, but devices didn't get created

 

Added disk drives, but devices didn't get created

I added a HP SureStore E Disk System HVD10 which has 10 drives to a HP D370 10.20 system. When I powered up and ran ioscan -fnCdisk, I see the new hardware but not what device (/dev/dsk/c?t?d?) they are. The devices didn't get created. I'm used to seeing the devices being created automatically. Does anyone know why they wern't and the easiest way to?
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: Added disk drives, but devices didn't get created

Hi Glenn:

To create your device files, use 'mksf':

# mksf -C disk -I INSTANCE -v
# mksf -C disk -I INSTANCE -v -r

...where INSTANCE is the instance number from your ioscan. The '-r' option creates the raw device files you need. The '-v' specifies verbose messages.

Regards!

...JRF...
Sanjay_6
Honored Contributor

Re: Added disk drives, but devices didn't get created

Hi,

Here is another post from you for the same question.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x8874abe92dabd5118ff10090279cd0f9,00.html

thanks
Roger Baptiste
Honored Contributor

Re: Added disk drives, but devices didn't get created

Glen,

Devices don't get created automatically.
You would need to run ?nsf command to
create the device entries.

Get the Hardware path of the device(s)
from the ioscan -nf output. Then, run

insf -e -H to create the devices.

The devices which you thought got
created automatically may have been done
by the device install scripts (whichever
device they are) or by a Reboot (insf runs
during boot process).

HTH
raj

Take it easy.
A. Clay Stephenson
Acclaimed Contributor

Re: Added disk drives, but devices didn't get created

Hi Glenn:

If you want to do this from SAM, it's quite easy as well:

SAM->Disks & Filesystems -> Disk Devices -> Actions -> Diagnose Missing Disks.

It will essentially do the mksf command for you.
If it ain't broke, I can fix that.
Frank Slootweg
Honored Contributor

Re: Added disk drives, but devices didn't get created

One possible cause for device files not being created is if there *used to be* hardware at the 'new' addresses. ioinit(1M) 'remembers' this and no new device files will be created. This is an intentional feature for temporary unavailable hardware, for example a card/device needs to be repaired and (of course) you do not want all device names to change as a result.

This can be fixed with "rmsf -k -H ...".