- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- device file not created automatically
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2013 12:29 AM
02-15-2013 12:29 AM
Hi everybody,
I have added a LUN to the HP-UX11iv3 server, after adding the LUN the device file not created automatically.
due to this my lvm activity got failed. is it mandatory to run the insf command after adding the LUN.??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2013 02:29 AM
02-15-2013 02:29 AM
Re: device file not created automatically
It could cause problems if you present the same LUN# again.
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!

- Tags:
- ioscan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2013 04:37 AM
02-15-2013 04:37 AM
Re: device file not created automatically
Thanks Torsten,
when the kernel finds the new hardware it should create a specaial file for the device ..right??
then why do we need to run ioscan command ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2013 05:36 AM
02-15-2013 05:36 AM
Re: device file not created automatically
Hi,
The kernel finds the new hardware once you run ioscan -fnN on hp-ux 11.31. And on 11.31 the ioscan -fnN will then do automatically the insf -e -v command to create device files for the new hardware.
So on hp-ux 11.31 this is the sequence for the new hardware to get discovered.
1. assign new hardware to the host.
2. run ioscan -fnN
# ioscan -fnN
3. check dmesg//var/adm/syslog/syslog.log to see if indeed the new hardware is found.
# dmesg
# vi /var/adm/syslog/syslog.log
Best Regards,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2013 04:56 PM
02-15-2013 04:56 PM
Solution>> when the kernel finds the new hardware it should create a specaial file for the device ..right??
>> then why do we need to run ioscan command ??
The kernel never finds new hardware by itself. ioscan (without the -k option) commands each of the drivers to look for new devices. When found, each driver's response update the memory-resident kernel tables. But device files require filesystem changes, again something that the kernel does not do. Instead, insf must be used to create device files for the new hardware.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2013 12:03 AM
02-20-2013 12:03 AM
Re: device file not created automatically
After that, you can create a new file by ioscan -fnC disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2013 11:23 AM
02-27-2013 11:23 AM
Re: device file not created automatically
> insf can delete the file equipment.
> After that, you can create a new file by ioscan -fnC disk
This is NOT correct.
rmsf is used to remove existing device files.
As Bill states above, insf is required to create (or re-create) device files.
-Bob
Was this helpful? Like this post by giving me a thumbs up below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2013 04:53 PM
03-05-2013 04:53 PM
Re: device file not created automatically
rmsf to remove...
But as I discovered, there is an undocumented feature in ioscan (at least the man pages and patch descriptions don't mention this). ioscan apparently does install new device files. This was tested on both PARISC and IA. Note that this was a casual test (one tape drive). But running insf after ioscan will always work on any version 10 and higher (assuming the driver recognizes the new hardware).
Bill Hassell, sysadmin