background image

Document 6464215-01 Rev. B, January 2006

1

Installing a DLT, SDLT, VS,

LTO, or

 

DAT Tape Drive Into a

 Linux Operating System

Purpose

5

Scope

5

Conventions Used in This Guide

5

Reference Documents

6

Setting Up Communication with the Tape Drives

7

Before Installing the Tape Drive..............................................................................7
Installing the Tape Drive ..........................................................................................8
Verifying the st Module is Loaded .........................................................................8

Verifying Communication with the Tape Drives

9

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

Obtaining Device Information Using /proc/scsi/scsi

10

What is the /proc File System?..............................................................................10
Viewing /proc Files.................................................................................................10

Summary of Contents for DAT 160

Page 1: ...7 Before Installing the Tape Drive 7 Installing the Tape Drive 8 Verifying the st Module is Loaded 8 Verifying Communication with the Tape Drives 9 Displaying the Kernel Initialization Information 9...

Page 2: ...ng No Rewind Device Nodes 16 mt st Linux RPM Package 17 Verifying mt st is Installed 17 Installing mt st 17 mt Tape Device Tool 17 stinit and stinit def 18 Tape Device and Parameter Definitions 18 Ide...

Page 3: ...rive Into a Linux Operating System Document 6464215 01 Rev B January 2006 Contents 3 Appendix B Linux Reference Documentation 25 Appendix C Sample stinit def Definitions File 26 Recommendations 26 Sam...

Page 4: ...tion from time to time without notice COPYRIGHT STATEMENT Copyright 2006 by Quantum Corporation All rights reserved Your right to copy this document is limited by copyright law Making copies or adapta...

Page 5: ...em other than Red Hat or Novell SuSE If these instructions are not adequate refer to the Linux user guide for your system This document pertains to the following products Tape drives DLT 2000 DLT 2000...

Page 6: ...placeholder representing the rest of the file name Product Manual Title Document Number DLT 2000 DLT 2500 DLT 2700 Cartridge Tape Subsystem Product Manual 81 109132 03 DLT 2000XT DLT 2500XT DLT 2700X...

Page 7: ...2000 DLT 2500 or DLT 2700 product make sure it uses version V10 or higher controller firmware If it does not go to http www quantum com am service_support downloads default htm to download V10 The su...

Page 8: ...odescription SCSI Tape Driver author Kai Makisara license GPL parm buffer_kbs int description Default driver buffer size KB 32 parm max_buffers int description Maximum number of buffer allocated at i...

Page 9: ...0 st0 Block limits 4 16777212 bytes st Version 20030406 bufsize 32768 max init bufs 4 s g segs 16 SuSE9 output looks similar to the following Attached scsi tape st0 at scsi0 channel 0 id 3 lun 0 st0...

Page 10: ...ces If not you will need to create more See Creating Device Nodes on page 15 and Creating No Rewind Device Nodes on page 16 Obtaining Device Information Using proc scsi scsi 0 To obtain information ab...

Page 11: ...el SDLT600 Rev 1A1A Type Sequential Access ANSI SCSI revision 04 Accessing Devices Using dev st Device Nodes 0 You can access most devices by using a corresponding special device file stored in the de...

Page 12: ...listings are not present in the dev directory you need to create them Use the mknod commands described in Creating Auto Rewind Device Nodes on page 16 and Creating No Rewind Device Nodes on page 16 Re...

Page 13: ...rmission is granted a hyphen indicates write permission is denied The third character of each set identifies execute permissions An x indicates execute permission is granted a hyphen indicates execute...

Page 14: ...le n st0 Device Node Description This is also the actual file name n st identifies the device node as either auto rewind or no rewind as follows st identifies the device node as auto rewind See Creati...

Page 15: ...number by one and so on for each successive tape device You can have up to 32 tape devices per mode Mode Auto Rewind Node example a a The 0 in this table is an example representing the device In actua...

Page 16: ...irst two tape devices You can have up to 32 tape devices per mode For instructions on numbering more than two see Creating Device Nodes Mode SCSI Tape Device Command 1 First mknod m 666 dev st0 c 9 0...

Page 17: ...alled To check whether mt st is installed execute the following command rpm qa grep mt st This command returns the name of the package followed by a version number for example RHEL3 returns mt st 0 7...

Page 18: ...e stinit def file is stored By default stinit searches your present working directory to find the stinit def file If stinit cannot find stinit def in the working directory it searches etc stinit def F...

Page 19: ...For a more thorough description of the keywords used for tape devices and parameters see the following references stinit 8 man page st 4 man page usr src linux kernel revision drivers scsi README st...

Page 20: ...rpm qa mtx This command returns the name of the package followed by a version number for example RHEL2 1 returns mtx 1 2 13 1 If no information is returned mtx is not installed on the system To insta...

Page 21: ...typically included on your Linux installation CD ROMs except for RHEL3 0 To install mtx execute the following command rpm ivh mtx where the asterisk represents the remaining portion of the file name i...

Page 22: ...idge Compatibility DLT 0 Drive Type Tape Cartridge DLT 2000 DLT 2500 DLT 2700 DLT 2000XT DLT 2500XT DLT 2700XT DLT 4000 DLT 4500 DLT 4700 DLT 7000 DLT 8000 DLTtape III CompacTape III 10 20 GB 10 20 GB...

Page 23: ...20 40 GB read only 35 70 GB read only 40 80 GB read only N A Super DLTtape I 110 220 GB 110 220 GB 160 320 GB 110 220 GB read only 160 320 GB read only Super DLTtape II N A N A 300 600 GB DLTtape VS1...

Page 24: ...and Cartridge Compatibility DDS DAT 0 Drive Type Tape Cartridge LTO 1 LTO 2 LTO 3 Ultrium 1 100 200 100 200 read only 100 200 read only Ultrium 2 N A 200 400 200 400 read only Ultrium 3 N A N A 400 80...

Page 25: ...ux Reference Documentation 0 For further information about the topics discussed in this guide refer to the following documentation stinit 8 man page usr share doc mt st version stinit def examples st...

Page 26: ...modify this information as needed You may also create your own stinit def file Sample File 0 Red Hat Linux 9 0 EL 2 1 EL 3 0 Novell SuSE Linux 8 0 9 0 Quantum Corporation Jeff Willener 8 29 2003 Initi...

Page 27: ...off DLTtape VS1 0x99 160 0 GB compression on DLTtape VS1 BNCHMARK DLT1 0x40 40 0 GB DLTtape IV 0x86 40 0 GB compression off DLTtape IV 0x87 80 0 GB compression on DLTtape IV usr src linux kernel revis...

Page 28: ...out long timeout 14400 4 hour long timeout can partitions 0 mode1 blocksize 0 density 0x49 compression 1 SDLT320 density compression on mode2 blocksize 0 density 0x49 compression 0 SDLT320 density com...

Page 29: ...M density compression off CERTANCE ULTRIUM manufacturer SEAGATE model ULTRIUM06242 XXX timeout 800 long timeout 14400 can partitions 0 mode1 blocksize 0 density 0x40 compression 1 ULTRIUM density comp...

Page 30: ...n 0 VS160 density compression off mode3 blocksize 0 density 0x40 compression 1 VS80 density compression on mode4 blocksize 0 density 0x40 compression 0 VS80 density compression off BNCHMARK VS80 manuf...

Page 31: ...erify mt st is installed mt st is not installed Install mt st see Installing mt st on page 17 No information is returned when you execute the command rpm qa mtx to verify mtx is installed mtx is not i...

Page 32: ...ons listed in your product manual Your SCSI bus may not be terminated properly Ensure the SCSI bus is terminated properly see your product manual for instructions You don t have enough st tape device...

Reviews: