- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Special files for Tape
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
10-06-2004 12:55 AM
10-06-2004 12:55 AM
I have a L1000 with a DAT DDS3 (rmt0) and id scsi 3.
I need install another device (TZ89 Compaq) and I wont see it with rmt0 and not a DDS.
I have setting at 2 id SCSI of TZ and 5 a DAT.
Do you now why when I reboot my system the result is:
TZ rmt1
DAT rmt2
thanks to all
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 01:00 AM
10-06-2004 01:00 AM
Re: Special files for Tape
can u post the o/p of
#ioscan -fnC tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 01:01 AM
10-06-2004 01:01 AM
Solution1. Use "ioscan" to find out what the current device files look like and what th
e 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 c6t1d0BEST):
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 w
ith the correct tape drive:
ioscan -kfnCtape
I was using 12m in the example but you can use anything you want.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 01:10 AM
10-06-2004 01:10 AM
Re: Special files for Tape
Where can I find info on what major/minor number combinations to use for various hardware?
Thanks!
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 02:13 AM
10-06-2004 02:13 AM
Re: Special files for Tape
Try lsdev.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 02:46 AM
10-06-2004 02:46 AM
Re: Special files for Tape
man 7 mt
A major number is just a pointer to a specific driver. The lsdev command will list all the major numbers. Section 7 man pages for the various classes of drivers (tape, stape, scsi_disk, cent, etc) will detail the minor numbers.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 04:42 AM
10-06-2004 04:42 AM
Re: Special files for Tape
Thanks for the info. Can't leave you points, consider yourself each to have a guinness due from me!
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 02:06 AM
10-07-2004 02:06 AM
Re: Special files for Tape
At reboot of my system with a mksf(thanks to Pete) command and only TZ89 connected I have this configuration:
tape 1 0/0/1/0.2.0 stape CLAIMED DEVICE DEC TZ89 (C) DEC
/dev/rmt/0m /dev/rmt/c0t2d0BEST
/dev/rmt/0mb /dev/rmt/c0t2d0BESTb
/dev/rmt/0mn /dev/rmt/c0t2d0BESTn
/dev/rmt/0mnb /dev/rmt/c0t2d0BESTnb
After I have connected a DAT and with ioscan and insf -v the special file for a DAT is:
tape 0 0/0/1/0.3.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/c0t3d0BEST /dev/rmt/c0t3d0DDS
/dev/rmt/c0t3d0BESTb /dev/rmt/c0t3d0DDSb
/dev/rmt/c0t3d0BESTn /dev/rmt/c0t3d0DDSn
/dev/rmt/c0t3d0BESTnb /dev/rmt/c0t3d0DDSnb
I don't understand why not are
/dev/rmt/1m /dev/rmt/c0t3d0BESTn
/dev/rmt/1mb /dev/rmt/c0t3d0BESTnb
/dev/rmt/1mn /dev/rmt/c0t3d0DDS
/dev/rmt/1mnb /dev/rmt/c0t3d0DDSb
And why, in other L1000 if I disconnect a DAT,reboot a system, insert a TZ see it with /dev/rmt/0m with't mksf.
Thank to all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 02:16 AM
10-07-2004 02:16 AM
Re: Special files for Tape
is different from one system to another ?
Class I H/W Path Driver S/W State ==========================================
tape 0 0/0/1/0.3.0 stape CLAIMED DEVICE HP C1537A
Class I H/W Path Driver S/W State ==========================================
tape 4 0/0/1/0.3.0 stape CLAIMED DEVICE HP C1537A
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 02:45 AM
10-07-2004 02:45 AM
Re: Special files for Tape
But leave both tape drives attached and reinstall HP-UX and now the drive attached to the SCSI card will be instance 0 (it will be found first) and the drive connected to the combo board will be instance 1. To make things a bit more confusing, many sysadmins remove and add devices without informing the kernel and the instance numbers will not make much sense. The proper way is to use rmsf so the instance number is freed up.
However, instance numbers can just be looked at as arbitrary characters in the devicefile name. You can use mknod to create any devicefile name you would like to use. Or you can rename the devicefile. The minor number has the instance number which is the devicefile's connection to the device. All the other characters (BEST, DDS, etc) are just descriptive mnemonics. You can call the first tape /dev/rmt/dds3 and the second tape /dev/rmt/tz89 if you want. There are some commands like tar and mt that assume /dev/rmt/0m is the default tape but I never use defaults as I work on too many different machines.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 07:21 PM
10-07-2004 07:21 PM
Re: Special files for Tape
My problem is caused from an application of a GUI that for error it has wired within the code rmt0 and must absolutely address the TZ in the simpler way why the operation will have to be made in several installations in the world and to make it they will not be just of the technicians.
Always thanks for your availability.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 11:48 PM
10-07-2004 11:48 PM
Re: Special files for Tape
ln -s /dev/rmt/1m /dev/rmt/rmt0
Or you can create a duplicate devicefile with the required name using mknod. Use ll to show the major and minor number and use those values for mknod.
Bill Hassell, sysadmin