- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Device files not created at reboot..
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
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
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
тАО08-12-2003 04:30 AM
тАО08-12-2003 04:30 AM
Device files not created at reboot..
If I am not wrong, default devicefiles for a new tape drive should be created automatic at reboot. This seems not to work on one of our systems . There are several tape drives connected to the system and visible with ioscan but no device files is created when rebooting.
Is there any config parameter, controlling device file creation or is there something wrong with my system.
The hardware is A400, OS is HP-UX 11.11, drives is DLT and Ultrium.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2003 05:02 AM
тАО08-12-2003 05:02 AM
Re: Device files not created at reboot..
In those cases, the manual installation worked.
Does the manual thing work weel in your server ?
insf -C tape -H ...........
Are the stape/tape2 drivers loaded in the kernel ?
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2003 05:14 AM
тАО08-12-2003 05:14 AM
Re: Device files not created at reboot..
was there Tape devices attached to that system before?
If not you have first add the driver to the kernel. Do it with sam (peripheral devices). Sam will automatical test if the driver is in the kernel. If not it ask you to add the driver and rebots the system with the new driver.
Chech if these two drivers are in your kernel
tape2, stape
# cat /stand/system |grep tape
If not add it and at next reboot the devidce files will be created.
( if you have still attached the tape )
HTH
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2003 05:41 AM
тАО08-12-2003 05:41 AM
Re: Device files not created at reboot..
All drives has been used on this system before and all drivers is in the kernel. Manual device file creation works and also device file creation from SAM. "insf -C tape" don't work but I am not sure about this command, I have not used it before.
There has been a number of problems with drives and my idea was to begin with recreating all device files (and also remove some unnessesary files). So I removed all files in the /dev/rmt directory (except for stape_config) and rebooted the system.
I am sure about device files has been created automatic before. For about tree month ago I installed a number of HP-UX patches on the system, this may bee the reason.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2003 05:52 AM
тАО08-12-2003 05:52 AM
Re: Device files not created at reboot..
# insf -e
Are the devices show in ioscan -fn command? If yes, is it UNCLAIMED?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2003 06:14 AM
тАО08-12-2003 06:14 AM
Re: Device files not created at reboot..
i think to understand better now.
How did you remove the files, using the rm or ther rmfs ?
I suspect that you used rm, and not rmfs.
Then the system, in ioconfig, still thinks that the drives are there, and device files are not re-created automatically, because in its opinion are still there. THe fact that the device file are missing is a "human error" in this case.
Try re-creating the files, remove the special files using rmfs and then reboot again.
Or use, as suggested, "insf -e -C tape".
With this command the system will re-create eveng existing device files (like in your case!)
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2003 06:32 AM
тАО08-12-2003 06:32 AM
Re: Device files not created at reboot..
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2003 07:32 AM
тАО08-12-2003 07:32 AM
Re: Device files not created at reboot..
Shiju,
"insf -e" works, the default devicefiles is created again. What is strange to me is that this is not done at reboot.
Massimo and Roland,
You was correct, I used the rm command, not rmsf. I recreated the devicfiles with insf -e, deleted the files again (for one drive) with rmsf -H and rebooted. But do device files was created for the device.
When I first noticed this problem (for some weeks ago) it was with a new drive. I created the files manually at that time and hoped it was a temporary problem. And I am (nearly) sure I have removed devicefiles with rm before and get them recreated automatic.
The problem is not so much the missing devicefiles, it is possible to create manual. But I suspect there was some mismatch when I patched the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2003 08:05 AM
тАО08-12-2003 08:05 AM
Re: Device files not created at reboot..
# man ioconfig
# man ioinit
Also, if your tape drives are not directly connected (if attached through hubs or bridges) to the server, it is possible that the system won't create device files for it during boot time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2003 11:04 PM
тАО08-12-2003 11:04 PM
Re: Device files not created at reboot..
There is no difference if the drives is local or SAN-attached, no device files is created for any of them. I have created the files manually and will see if my original problems remains.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2003 11:37 PM
тАО08-12-2003 11:37 PM
Re: Device files not created at reboot..
#insf -e -C tape should work for you. Hp systems automatically executes insf -e command at the time of booting and creates device files for new devices, provided driver present in the kernel. Even if you will give #insf -e command in live system nothing will happen it will recreate all device files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2003 12:02 AM
тАО08-13-2003 12:02 AM
Re: Device files not created at reboot..
I've not taken the time to read the whole thread, so this may be a repeat. I had something very similar a while ago. What had happened was that new tape device was added (actualyy replaced, DLT for Ultrium) but the device files seemed to be missing. For some reason the OLD device files were left lying around, which blocked the creation of the new files. I knew this because the minor numbers were not right. What I did was a belt & braces approach, you can probably skip step 1!!
1 - removed ALL tape devices
# rmsf -H
2 - this left the dubious devices
rm
3 - install every thing
ioscan -f
insf -e
ioscan -f
& bingo everything back to normal. I know I can do the above more elagently. (ioscan -fCtape, insf -C tape,... or something similar)
Good luck
Regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2003 12:50 AM
тАО08-13-2003 12:50 AM
Re: Device files not created at reboot..
yogesh,
"insf -e -C tape" works normal when executed manually. My problem seems to be that "insf -e" is not executed at bootup but the problem is not with the command itself (as it work if executed manually). When, in the startup phase, is the command executed (in a startup file or ?).
Tim,
I have seen the same problem as you, no files is created if there is old files that causes name conflicts. But this problem is different, no files is created at bootup, regardless if there is any old files or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2003 02:33 AM
тАО08-13-2003 02:33 AM
Re: Device files not created at reboot..
# ioinit -i; echo $?
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2003 03:21 AM
тАО08-13-2003 03:21 AM
Re: Device files not created at reboot..
# ioinit -i; echo $?
0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2003 03:33 AM
тАО08-13-2003 03:33 AM
Re: Device files not created at reboot..
Then, I'm at one wits end.
If it would be different than 0 then /etc/ioconfig would be corrupt. But it isn't. And if it is corrupt it prevent insf to create special files (sf) for new hw.
Perhaps, another has a good idea.
I have one more idea but it could be risky but this is it not worth, because you have sf even though you have to create them manually.
Sorry
Roland