- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Creating a special device file....?
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
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
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
тАО03-22-2002 01:37 AM
тАО03-22-2002 01:37 AM
A new robotics tapedevice is added. With ioscan -f I see:
unknown -1 0/0/12/0/0.9.26.255.14.8.0 UNCLAIMED UNKNOWN STK L700
Now I should be able to create a special devicefile. Can anybody tell me HOW I can do this.
Thanks !
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2002 01:45 AM
тАО03-22-2002 01:45 AM
Re: Creating a special device file....?
I think it is stape, but noy sure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2002 02:09 AM
тАО03-22-2002 02:09 AM
Re: Creating a special device file....?
here's a note i sent to one of our guys regarding creating device files
The tape devices need to be character device files
to make these use the mknod command
The major and minor numbers can generally be copied by looking at the other device files on that system
or another system
For _6 I looked at the device files are 1m etc and the target file, ie
crw-rw-rw- 2 bin bin 205 0x011000 Apr 26 2000 c1t1d0BEST
crw-rw-rw- 2 bin bin 205 0x011080 Apr 26 2000 c1t1d0BESTb
crw-rw-rw- 2 bin bin 205 0x011040 Apr 26 2000 c1t1d0BESTn
crw-rw-rw- 2 bin bin 205 0x0110c0 Apr 26 2000 c1t1d0BESTnb
You can see at the beginning of the file there is a 'c' for character device
The major number (device driver used by the kernel is 205, the minor number is 0x011000
I saw that the device files for 1m were the same for the targets for 1m ie
crw-rw-rw- 2 bin bin 205 0x011000 Apr 26 2000 1m
crw-rw-rw- 2 bin bin 205 0x011000 Apr 26 2000 c1t1d0BEST
The minor numbers were the same
I then re created the device files for 0m etc using the following
mknod /dev/rmt/0m c 205 0x010000
mknod /dev/rmt/0mb c 205 0x010080
mknod /dev/rmt/0mn c 205 0x010040
mknod /dev/rmt/0mnb c 205 0x0100c0
You can then read the tape header
Hope this info is ok
Regards
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2002 02:14 AM
тАО03-22-2002 02:14 AM
Re: Creating a special device file....?
You still have to put stape and schgr driver in the kernel.
Normally if the correct drivers are in the kernel you have to run ioscan and maybe insf to create the special files.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2002 02:25 AM
тАО03-22-2002 02:25 AM
Re: Creating a special device file....?
(Reboot is difficult: not the command, but the users !)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2002 02:44 AM
тАО03-22-2002 02:44 AM
Re: Creating a special device file....?
I think it's the only extra driver needed but I will check a bit more.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2002 02:50 AM
тАО03-22-2002 02:50 AM
SolutionFor some more information see different manuals.
http://www.hp.com/cposupport/manindex/hpsurestor19258_eng_man.html
Especially tape library configuration.
As I read sctl driver is needed as well.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2002 02:53 AM
тАО03-22-2002 02:53 AM
Re: Creating a special device file....?
http://europe-support2.external.hp.com/cki/bin/doc.pl/sid=e9e6411f07aa729de6/screen=ckiDisplayDocument?docId=200000059736919
It depends on your hardware type - there are a couple of options.
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2002 02:57 AM
тАО03-22-2002 02:57 AM
Re: Creating a special device file....?
I'll reboot the system enabling the SCHGR driver.