Operating System - HP-UX
1834804 Members
2837 Online
110070 Solutions
New Discussion

Re: insf to create device files

 
SOLVED
Go to solution
Ninad_1
Honored Contributor

insf to create device files

Hi,

There were some LUNs added from a Netapp filer - connected via FC.
In ioscan I can see the LUNs but no device files are associated with them, hence cannot add into VGs.
Now to use insf to create device files, is the following syntax sufficient/correct
insf -e -C disk
Also the man page for insf says
WARNINGS
insf should only be run in single-user mode. It can change the mode,
owner, or group of an existing special file, or unlink and recreate
one; special files that are currently open may be left in an
indeterminate state.

Do I need to really run insf in single user mode or can run in the current run level 3 ?

Thanks,
Ninad
4 REPLIES 4
Tiziano Contorno _
Valued Contributor
Solution

Re: insf to create device files

Just do a "insf -C disk", in this way you don't touch existing specialfiles.

However I used insf -e on running systems without problems.

Regards.
A. Clay Stephenson
Acclaimed Contributor

Re: insf to create device files

It is very common to run insf for disk devices in multi-user mode; after all, SAM does this. You should drop the "-e" option because you really only want to add new device nodes and leave the existing ones alone.
If it ain't broke, I can fix that.
Ninad_1
Honored Contributor

Re: insf to create device files

Thanks both.
Ran insf -C disk and created device files succesfully.

Ninad
Ninad_1
Honored Contributor

Re: insf to create device files

Thanks very much for the instant reply.

Ninad