- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- HPE 9000 and HPE e3000 Servers
- >
- DAT drive deveice files - which to use ?
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
тАО08-06-2001 02:01 AM
тАО08-06-2001 02:01 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2001 02:55 AM
тАО08-06-2001 02:55 AM
Re: DAT drive deveice files - which to use ?
ioscan -funC tape
then use insf or mksf with hardware path specified in ioscan output to create device files.
We use use 0m or 1m files as device files for tape backups.
good luck
-suranji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2001 09:38 AM
тАО08-06-2001 09:38 AM
Re: DAT drive deveice files - which to use ?
Check with the following command to see which one is used by the hp-ux kernel :
ioscan -fnkCtape
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2001 11:07 AM
тАО08-06-2001 11:07 AM
Re: DAT drive deveice files - which to use ?
use ioscan to check the hardware path, ioscan -funCtape will give you the device files, and lssf /dev/rmt/0m should show you the correlation between the device file and the hardware path.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2001 02:26 PM
тАО08-06-2001 02:26 PM
Re: DAT drive deveice files - which to use ?
0m will rewind the tape after it finishes whatever it is doing.
0mn will NOT rewind the tape after it finished. This is useful if you want to put more than one tar, or similar, archive on the tape.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2001 06:28 PM
тАО08-06-2001 06:28 PM
Re: DAT drive deveice files - which to use ?
First do an "ioscan -fnC tape" and check as whether the drive had got sensed, if so and also if the S/W state is CLAIMED, you can use the drive with the device file which you are getting in the ioscan output.
(Normally /dev/rmt/0m)
Eg:
#ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
tape 0 10/2/2/0.3.0 stape CLAIMED DEVICE QUANTUM DLT7000
/dev/rmt/0m /dev/rmt/c5t3d0BEST
/dev/rmt/0mb /dev/rmt/c5t3d0BESTb
/dev/rmt/0mn /dev/rmt/c5t3d0BESTn
/dev/rmt/0mnb /dev/rmt/c5t3d0BESTnb
Regards,
N.Harinath.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2001 12:52 PM
тАО08-10-2001 12:52 PM
Re: DAT drive deveice files - which to use ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2001 10:35 AM
тАО08-11-2001 10:35 AM
Re: DAT drive deveice files - which to use ?
I think in 10.X and 11.X device /dev/rmt/0m, 1m , etc is the best option for each one. In 9.x /dev/rmt/0m wasn't the best option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2001 07:42 PM
тАО08-11-2001 07:42 PM
Solution-The 'best' choice is usually the best choice but is usually identical to 0m and we all prefer less typing. The important thing to remember is: use lssf in the /dev directory. This command is often unknown and it decodes everything about a device file. The BEST name means that the driver will negotiate with the tape drive for highest performance (typically means hardware compression).
-The default device files are all AT&T behavior which is best described as: bizarre. The reason is that the tape will be respoitioned when closed in the middle of a file. For instance, position a tape to the middle of a file using mt fsf 2 using the no-rewind device file. Now read two records from the same no-rewind device file. This should leave the tape at the start of record 3, so read again. Oops, we are now at record 1 of the next file, not record 3 of the current file.
The AT&T rules are to always position past the EOF mark of the curent file at close. If you want true tape positioning behavior, use the Berkeley device files, specifically no-rewind Berkeley. Read more about Berkeley files in the mt(1) and mt(7) man pages. (hint: man 1 mt, and man 7 mt)
Bill Hassell, sysadmin