Quantum DAT 160 Reference

Installation into a linux os
Hide thumbs Also See for DAT 160:
Table of Contents

Advertisement

Quick Links

Document 6464215-01 Rev. B, January 2006
Installing a DLT, SDLT, VS,
LTO, or DAT Tape Drive Into a
Linux Operating System
Before Installing the Tape Drive..............................................................................7
Installing the Tape Drive ..........................................................................................8
Verifying the st Module is Loaded .........................................................................8
Displaying the Kernel Initialization Information .................................................9
Reviewing the Kernel Initialization Information..................................................9
Identifying the Tape Devices .................................................................................10
What To Do if Device Information is Missing.....................................................10
What is the /proc File System?..............................................................................10
Viewing /proc Files.................................................................................................10
5
5
5
6
7
9
10
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DAT 160 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Quantum DAT 160

  • Page 1: Table Of Contents

    Purpose Scope Conventions Used in This Guide Reference Documents Setting Up Communication with the Tape Drives Before Installing the Tape Drive...7 Installing the Tape Drive ...8 Verifying the st Module is Loaded ...8 Verifying Communication with the Tape Drives Displaying the Kernel Initialization Information ...9 Reviewing the Kernel Initialization Information...9 Identifying the Tape Devices ...10 What To Do if Device Information is Missing...10...
  • Page 2 Accessing Devices Using /dev/st* Device Nodes mt-st Linux RPM Package mt Tape Device Tool stinit and stinit.def mtx Tape Library Tool Appendix A – Tape Drive and Cartridge Compatibility Contents Installing a DLT, SDLT, VS, LTO, or DAT Tape Drive Into a Linux Operating System Generating a List of Device Files ...11 Reviewing the List of Device Files ...11 What To Do if a Device Node is Missing ...12...
  • Page 3 Appendix B – Linux Reference Documentation Appendix C – Sample stinit.def Definitions File Appendix D – Troubleshooting Contents Installing a DLT, SDLT, VS, LTO, or DAT Tape Drive Into a Linux Operating System Recommendations ...26 Sample File...26 Document 6464215-01 Rev. B January 2006...
  • Page 4 Made in the USA. Quantum Corporation provides this publication “as is” without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability or fitness for a particular purpose. Quantum Corporation may revise this publication from time to time without notice.
  • Page 5: January

    Purpose This document provides instructions for integrating a Quantum® DLTtape® drive, a Super DLTtape™ drive, a DLT VS tape drive, an LTO tape drive, or a DAT tape drive into Red Hat® Linux, Novell® SuSE® Linux, or other Linux operating system.
  • Page 6: Reference Documents

    As you install and work with your Linux system, you should have the manual for your tape drive available to refer to. Following is a list of all the product manuals for Quantum tape drives. Product Manual Title DLT 2000/DLT 2500/DLT 2700 Cartridge Tape Subsystem...
  • Page 7: Setting Up Communication With The Tape Drives

    If you do not have the correct product manual, you can view and download it from the Quantum Web site at: Setting Up Communication with the Tape Drives This section describes how to install the tape drive and how to configure the Red Hat Linux and Novell SuSE Linux operating systems to recognize and communicate with the tape drive.
  • Page 8: Installing The Tape Drive

    Installing the Tape To install the tape drive, follow these steps: Drive Verifying the st Module is Loaded a module to support SCSI tape devices. You must verify that assure that the kernel supports SCSI tape devices. Setting Up Communication with the Tape Drives Installing a DLT, SDLT, VS, LTO, or DAT Tape Drive Into a Linux Operating System 1 Shut down your workstation or server and remove AC power from the system.
  • Page 9: Verifying Communication With The Tape Drives

    Verifying Communication with the Tape Drives You must ensure the a tape device, you must verify that the You do this by displaying and reviewing the kernel initialization information which contains Displaying the Kernel You can display the kernel initialization information by using any of the Initialization following three methods: Information...
  • Page 10: Identifying The Tape Devices

    Executing the file will render your terminal unusable. Attached devices: Host: scsi0 Channel: 00 Id: 03 Lun: 00 Vendor: QUANTUM Model: SDLT320 Type: Sequential-Access Host: scsi1 Channel: 00 Id: 03 Lun: 00 6464215-01, Rev B January 2006 is always “...
  • Page 11: Accessing Devices Using /Dev/St* Device Nodes

    Host: scsi2 Channel: 00 Id: 04 Lun: 00 Vendor: NEC Model: CD-ROM DRIVE:466 Rev: 1.06 Type: CD-ROM Host: scsi3 Channel: 00 Id: 04 Lun: 00 Vendor: QUANTUM Model: SDLT600 Type: Sequential-Access directory. /dev directory device file names by executing the /dev For this type of device...
  • Page 12: Auto Rewind

    You should see a block of four listings for each device. The list will look similar to the following: If one or more device node listings are not present, see Node is Missing For an explanation of what each part of the listing means, see Device Node File Listing If any of the What To Do if a Device...
  • Page 13: Interpreting The Device Node File Listing

    Interpreting the Device The following table explains each part of the displayed device node listing Node File Listing shown in Column Text Format Description First These ten characters describe access type and permissions. crw-rw---- column The first character indicates type of access device as follows: •...
  • Page 14: Identifying Device Nodes

    Column Text Format Description Sixth Date. Not applicable. Mmm DD YYYY column Seventh (n)stna Device Node Description. This is also the actual file name. column, represents (n)st section a numeric follows: heading character; • represents an alpha character. • In the example: n (the numeric character) (n)st0*...
  • Page 15: Identifying Device Modes

    Identifying Device Each node has four modes. Both the auto-rewind and no-rewind functions Modes use the same modes. Creating Device Nodes This section shows each identification parameters. The next two sections — No-Rewind Device Nodes device nodes. The following table shows the numbering you use to identify the first tape device in each mode.
  • Page 16: Creating Auto-Rewind Device Nodes

    Creating Auto-Rewind Use the Device Nodes rewind device nodes. The table shows only the first two tape devices. You can have up to 32 tape devices per mode. For instructions on numbering more than two, see Creating No-Rewind Use the Device Nodes device nodes.
  • Page 17: Mt-St Linux Rpm Package

    mt-st Linux RPM Package following tools: • • In order to use the package, you must ensure that following chapters: • • Verifying mt-st is To perform the actions described from this point forward in this guide, you must ensure Installed To check whether This command returns the name of the package followed by a version...
  • Page 18: Stinit And Stinit.def

    stinit and stinit.def Tape Device and Parameter Definitions stinit and stinit.def Installing a DLT, SDLT, VS, LTO, or DAT Tape Drive Into a Linux Operating System automatically initializes SCSI tape drive modes at system startup or stinit reboot by sending commands to the drive.
  • Page 19: Identifying Tape Devices And Parameters

    The following table lists the most common tape device keywords. Keyword Description manufacturer= Specifies the string that must match the vendor identification returned by the tape device; for example, QUANTUM model= Specifies the string that must match the product identification returned by the tape device; for example, SDLT600 revision= Specifies the string that must match the product revision level returned by the tape device;...
  • Page 20: Mtx Tape Library Tool

    Installing a DLT, SDLT, VS, LTO, or DAT Tape Drive Into a Linux Operating System Keyword Description The tape block size can be set to value bytes. Quantum block[size]=value recommends using the default block[size] = 0, signifying variable block mode.
  • Page 21: Installing Mtx

    Installing mtx RHEL3.0). To install where the asterisk represents the remaining portion of the file name (in this case, it is the version number). For a detailed description of these access modes, refer to the appropriate product manual for your DLTtape mini-library. mtx Tape Library Tool Installing a DLT, SDLT, VS, LTO, or DAT Tape Drive Into a Linux Operating System is typically included on your Linux installation CD-ROMs (except for...
  • Page 22: Appendix A - Tape Drive And Cartridge Compatibility

    Appendix A – Tape Drive and Cartridge Compatibility This section provides information about tape cartridge and tape drive compatibility. Use these tables to determine which cartridges to use in your tape drive. Tape Drive and Cartridge Compatibility – DLT DLT 2000 DLT 2500 Tape Cartridge DLT 2700...
  • Page 23: Tape Drive And Cartridge Compatibility - Sdlt

    Tape Drive and Cartridge Compatibility – SDLT Tape Cartridge 20/40 GB (read only) DLTtape IV 35/70 GB (read only) (CompacTape IV) 40/80 GB (read only) Super DLTtape I Super DLTtape II DLTtape VS1 Cleaning Tape III SDLT Cleaning Tape Tape Drive and Cartridge Compatibility –...
  • Page 24: Tape Drive And Cartridge Compatibility - Lto

    Tape Drive and Cartridge Compatibility – LTO Tape Cartridge Ultrium 1 Ultrium 2 Ultrium 3 Ultrium Cleaning Tape Tape Drive and Cartridge Compatibility – DDS/DAT Tape Cartridge DDS2 DDS3 DDS4 DAT 72 Cleaning Tape Appendix A – Tape Drive and Cartridge Compatibility Installing a DLT, SDLT, VS, LTO, or DAT Tape Drive Into a Linux Operating System Drive Type LTO-1...
  • Page 25: Appendix B - Linux Reference Documentation

    Appendix B – Linux Reference Documentation For further information about the topics discussed in this guide, refer to the following documentation: • • • • • • • • Appendix B – Linux Reference Documentation Installing a DLT, SDLT, VS, LTO, or DAT Tape Drive Into a Linux Operating System stinit(8) man page /usr/share/doc/mt-st-<version>/stinit.def.examples st(4) man page...
  • Page 26: Appendix C - Sample Stinit.def Definitions File

    Appendix C – Sample stinit.def Definitions File This section provides a sample stinit.def Recommendations This sample contains Quantum’s recommendations for setting up your stinit.def You may use the information provided here (you can copy and paste the information directly into your modify this information as needed.
  • Page 27 # CERTANCE ULTRIUM 3 # CERTANCE ULTRIUM 2 # CERTANCE ULTRIUM # CERTANCE DAT72 # QUANTUM DLT-V4 # QUANTUM DLT VS160 # BNCHMARK DLT1 # /usr/src/linux-<kernel revision>/Documentation/devices.txt # 9 --> Kernel Device Index Number # char --> Character Device # 0-255 --> SCSI Tape Device Node...
  • Page 28 # can-partitions=0 # QUANTUM SDLT600 manufacturer=QUANTUM model="SDLT600" { timeout=3600 long-timeout=14400# 4 hour long timeout can-partitions=0 mode1 blocksize=0 density=0x4A compression=1 # SDLT600 density, compression on mode2 blocksize=0 density=0x4A compression=0 # SDLT600 density, compression off mode3 blocksize=0 density=0x49 compression=1 # SDLT320 density, compression on...
  • Page 29 # DAT72 density, compression on mode2 blocksize=512 density=0x47 compression=0 # DAT72 density, compression off mode3 blocksize=512 density=0x26 compression=1 # DDS4 density, compression on mode4 blocksize=512 density=0x25 compression=1 # DDS3 density, compression on # QUANTUM DLT-V4 manufacturer=QUANTUM model="DLT-V4" { timeout=3600 long-timeout=14400...
  • Page 30 Installing a DLT, SDLT, VS, LTO, or DAT Tape Drive Into a Linux Operating System 6464215-01, Rev B January 2006 # QUANTUM DLT VS160 manufacturer=QUANTUM model="DLT VS160" { timeout=3600 long-timeout=14400 can-partitions=0 mode1 blocksize=0 density=0x50 compression=1 # VS160 density, compression on...
  • Page 31: Appendix D - Troubleshooting

    Appendix D – Troubleshooting This section covers common errors. Problem You receive a non- recoverable error that looks similar to this after performing the command: tar: /dev/st0: Wrote only 0 of 10240 bytes tar: Error is not recoverable: exiting now No information is returned when you execute the command...
  • Page 32 Problem driver does not see all attached tape devices. Appendix D – Troubleshooting Installing a DLT, SDLT, VS, LTO, or DAT Tape Drive Into a Linux Operating System Explanation The connector cable may be Verify that the connector cable length too long.

Table of Contents