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.
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.
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...
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.
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.
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...
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...
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: •...
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*...
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.
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.
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...
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.
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;...
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.
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...
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...
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...
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...
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 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...
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.
Need help?
Do you have a question about the DAT 160 and is the answer not in the manual?
Questions and answers