- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Incorrect Tape device/description
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
тАО09-05-2003 05:38 AM
тАО09-05-2003 05:38 AM
Incorrect Tape device/description
tape 8 10/16/8.3.0 tape2 CLAIMED DEVICE DT00 C6280-7000
/dev/diag/rmt/c6t3d0 /dev/rmt/c6t3d0BEST
/dev/rmt/8m /dev/rmt/c6t3d0BESTb
/dev/rmt/8mb /dev/rmt/c6t3d0BESTn
/dev/rmt/8mn /dev/rmt/c6t3d0BESTnb
/dev/rmt/8mnb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2003 05:45 AM
тАО09-05-2003 05:45 AM
Re: Incorrect Tape device/description
As long as there are no conflicts with other device files you can use this procedure to recreate them with whatever name you desire:
1. Use "ioscan" to find out what the current device files look like and what the instance number is:
ioscan -kfnCtape
2. Use "mksf" to create each of the four types of device files:
/sbin/mksf -d stape -I 12 -a -b BEST rmt/12m
/sbin/mksf -d stape -I 12 -u -b BEST rmt/12mb
/sbin/mksf -d stape -I 12 -a -n -b BEST rmt/12mn
/sbin/mksf -d stape -I 12 -u -n -b BEST rmt/12mnb
3. Use "ll" to compare your newly created device files with those created by the system. Major and minor
numbers should match between corresponding entries (205 0x061000 for both 12m and the equivalent c6t1d0BE
ST):
ll /dev/rmt |more
crw-rw-rw 1 bin bin 205 0x061000 Mar 17 08:40 12m
.
.
.
crw-rw-rw 1 bin bin 205 0x061000 Mar 17 08:40 c6t1d0BEST
.
.
.
4. repeat the ioscan to double check that your new device files are associated with the correct tape driv
e:
ioscan -kfnCtape
I was using 12m in the example but you can use anything you want.
Hope this helps!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2003 05:50 AM
тАО09-05-2003 05:50 AM
Re: Incorrect Tape device/description
lssf /dev/rmt/c6t3d0BEST
I think that this is due to some history in the adding of the tapes.
You can force the binding with ioscan and insf, but this can cause some problem later, so i think that is best to make it work now with the new config.
The instance number usually is involved in the name of the special files, your guess is right.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2003 06:00 AM
тАО09-05-2003 06:00 AM
Re: Incorrect Tape device/description
Also, you can create your own /dev/rmt/2m with 'mknod' command. What you have to do is find out the major number (ls -la /dev/rmt/8m) and the minor number (ioscan -fn).
# mknod /dev/rmt/XXX c major minor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2003 06:42 AM
тАО09-05-2003 06:42 AM
Re: Incorrect Tape device/description
lssf for device shows -
tape2 card instance 6 SCSI target 3 SCSI LUN 0 at&t best density available at ad
dress 10/16/8.3.0 /dev/rmt/c6t3d0BEST
lssf /dev/rmt/8m
tape2 card instance 6 SCSI target 3 SCSI LUN 0 at&t best density available at ad
dress 10/16/8.3.0 /dev/rmt/8m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2003 07:29 AM
тАО09-05-2003 07:29 AM
Re: Incorrect Tape device/description
Yes, something is dirty
device file name should be c8t3d0, but maybe that some other equipment stole that address in the past.
If rmsf -H do not work, i think that the only way to get it clean is:
- find how why the description string has changed
- clear it all and have a reboot (this will clean entry in ioconfig)
- shudown -h, put the tape in and then reboot another time
Massimo