HP LTO-4 Ultrium 1760 Скачать руководство пользователя страница 1

HP LTO Ultrium tape drives
technical reference manual
LTO 4 FC, SCSI and SAS drives

volume 5: UNIX, Linux and OpenVMS configuration guide

Edition 1, May 2007

Содержание LTO-4 Ultrium 1760

Страница 1: ...HP LTO Ultrium tape drives technical reference manual LTO 4 FC SCSI and SAS drives volume 5 UNIX Linux and OpenVMS configuration guide Edition 1 May 2007 ...

Страница 2: ...lated into another language without the prior written consent of Hewlett Packard The information is provided as is without warranty of any kind and is subject to change without notice The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services Nothing herein should be construed as constituting an additional warranty HP s...

Страница 3: ...s in a library 7 SAS drives 7 Backup applications 7 2 HP HP UX servers and workstations 9 Determining a suitable SCSI ID 9 Adding stape and schgr autoloader driver to the kernel 12 Add device files 15 What next 17 3 HP OpenVMS servers and workstations 19 Determining attached devices 19 What next 19 4 HP Tru64 5 1x servers and workstations 21 Determining attached devices 21 What next 21 5 Linux ker...

Страница 4: ... Sun Solaris 8 9 10 servers and workstations 31 Fibre Channel drives 31 Configuring the device files 31 SCSI drives 31 Determining the SCSI ID 31 Configuring the device files 32 HP data values 34 8 Verifying the installation 37 Verifying the installation of the drive UNIX 37 To verify the installation 37 Example 38 Glossary 41 Index 43 ...

Страница 5: ... to http www lto technology com Documentation map The following will help you locate information in the Technical Reference Manual A reference like 1 HW Integration ch 7 means Volume 1 Hardware Integration Guide of the HP LTO Ultrium Technical Reference Manual chapter 7 Drives general Installation and configuration FC Drives SCSI Drives SAS Drives Connectors 1 HW Integration ch 4 1 HW Integration ...

Страница 6: ...on ch 5 1 HW Integration ch 9 Managing the use of cartridges 2 SW Integration ch 1 Use of cartridges 2 SW Integration ch 3 FC Drives SCSI Drives SAS Drives FC SCSI and SAS host interface guide 3 Host Interface Commands 3 Host Interface ch 5 Error codes 1 HW Integration ch 6 1 HW Integration ch 10 Implementation 3 Host Interface ch 1 Interpreting sense data 2 SW Integration ch 3 Messages 3 Host Int...

Страница 7: ...Integration ch 10 Handling errors 2 SW Integration ch 5 Logs see the LOG SENSE command 3 Host Interface ch 4 Recovering from write and read errors 2 SW Integration ch 7 Software response to error correction 2 SW Integration ch 3 Software response to logs 2 SW Integration ch 3 TapeAlert log 2 SW Integration ch 7 FC Drives SCSI Drives SAS Drives Autoload 1 HW Integration ch 2 Automation Control Inte...

Страница 8: ...pies of documents of other standards bodies can be obtained from INCITS 11 West 42nd Street New York NY 10036 8002 USA ISO CP 56 CH 1211 Geneva 20 Switzerland ECMA 114 Rue du Rhône CH 1204 Geneva Switzerland Tel 41 22 849 6000 Web URL http www ecma ch Global Engineering Documents 2805 McGaw Irvine CA 92714 USA Tel 800 854 7179 or 714 261 1455 ...

Страница 9: ...ty details available that arrived after the release notes were published See Chapter 8 on page 37 for details of how to verify the installation LTO Ultrium drives in a library Although LTO Ultrium drives may also be used in a library instructions about installing device drivers for automatic robotics are not included in this manual SAS drives SAS drives are only supported on Redhat and SLES Linux ...

Страница 10: ...Introduction 8 ...

Страница 11: ...able SCSI ID The tape drive SCSI ID setting must be unique for the SCSI bus to which the drive is attached In many cases the drive will be the only device on a SCSI bus1 in which case the default SCSI ID setting of 3 is suitable See the tape drive User Guide for details of how to alter the SCSI ID setting physically usually accessible at the rear panel of the drive Scan the system to list the exis...

Страница 12: ...i CLAIMED INTERFACE IPMI Controller processor 0 128 processor CLAIMED PROCESSOR Processor processor 1 129 processor CLAIMED PROCESSOR Processor NOTE If you are installing a SCSI drive onto a Storage Area Network SAN the fibre channel SCSI router will also appear in the list of attached devices For a particular SCSI device in the ioscan listing the SCSI bus ID and the drive s SCSI ID and LUN ID can...

Страница 13: ...x1a estape CLAIMED DEVICE online HP SDLT600 0 2 1 0 0x3 0x0 dev rtape tape12_BEST dev rtape tape12_BESTb dev rtape tape12_BESTn dev rtape tape12_BESTnb For a particular SCSI device you can decode the SCSI bus ID and the drive s SCSI ID and LUN ID from the lunpath hardware path For example Class I Lun H W Path Driver S W State H W Type Health Description tape 0 64000 0xfa00 0x16 estape CLAIMED DEVI...

Страница 14: ...I 3 64 bit LUN identifier Adding stape and schgr autoloader driver to the kernel For HP UX 11i v1 11i v2 If your tape drive or autoloader does not appear in ioscan listing or is listed with H W Type UNKNOWN you may need to install the appropriate drivers Use the sam utility Sam runs as a mouse driven GUI Figure 1 on a system with full graphics capability or as a console text based interface Figure...

Страница 15: ...e kernel both Current State and Pending State will read Out 4 Select the following Actions Add Driver to Kernel The Pending State will now read In 5 To add the new driver to the kernel select Actions Create a New Kernel The stape driver is added to the kernel 6 If you are going to attach an autoloader use a similar procedure to change schgr to static 7 Reboot the system For HP UX 11i v2 11 23 1 En...

Страница 16: ...terface smh w This will attempt to launch a web browser Mozilla browser1 is the default when HP UX 11i v3 is installed 2 From the SMH Tools page see Figure 3 select Modules from the Kernel Configuration section Figure 3 SMH web based interface HP UX11i v3 3 In the Search box on the Kernel Configuration page type stape and execute the search The search results list will include both estape and stap...

Страница 17: ...n with Next Boot State as static 8 For autoloaders use a similar procedure to prepare the eschgr with schgr module 9 From the right hand panel on the Kernel Configuration page click View Pending Changes and reboot and proceed to reboot the system as directed 10 Following the reboot re run SMH and search again for the driver as in step 3 above Current State and Next Boot State should both be listed...

Страница 18: ...ave exited sam run ioscan to see the tape drive sbin ioscan fnC tape All default device files displayed have compression enabled NOTE HP recommends the Berkeley device files for most applications cXtYdZBESTnb Berkeley no rewind best available density cXtYdZBESTb Berkeley with rewind best available density where X card number Y target number drive SCSI ID Z LUN number For HP UX 11i v3 HP UX 11 31 1...

Страница 19: ...When the browser returns to the HP UX Peripheral Device Tool page click the Refresh button one or more times until the list of device files appears under the Properties header What next Once device files have been created you should confirm that your new tape drive is working properly Chapter 8 on page 37 provides instructions on backing up and restoring a sample file to test your installation 1 D...

Страница 20: ...HP HP UX servers and workstations 18 ...

Страница 21: ...KD300 Online 0 use this value in the next command line sho dev MKD300 full Magtape SIT058 MKD300 device type HP Ultrium 4 SCSI is online file oriented device available to cluster error logging is enabled controller supports compaction compaction disabled device supports fastskip per_io Error count 0 Operations completed 0 Owner process Owner UIC SYSTEM Owner process ID 00000000 Dev Prot S RWPL O R...

Страница 22: ...HP OpenVMS servers and workstations 20 ...

Страница 23: ...est successfully initiated hwmgr v d HWID Device Name Mfg Model Location 4 dev dmapi dmapi 5 dev scp_scsi 6 dev kevm 149 dev disk dsk0c COMPAQ BD03685A24 bus 2 targ 0 lun 0 150 dev disk dsk1c COMPAQ BD03664553 bus 2 targ 1 lun 0 151 dev disk cdrom0c TEAC CD W216E bus 3 targ 0 lun 0 152 dev random 153 dev urandom 237 dev ntape tape0 HP Ultrium 4 SCSI bus 1 targ 3 lun 0 What next Once device files h...

Страница 24: ...HP Tru64 5 1x servers and workstations 22 ...

Страница 25: ...relevant drivers loaded To see the device drivers loaded currently execute lsmod This will give output similar to Module Size Used by sgm 4376 1 ide scsi 7200 0 lockd 30792 1 sunrpc 53316 1 st 24656 0 sym53c8xx 52096 1 aic7xxx 136184 2 The lines of interest here are Latest SCSI controller drivers for Linux are available from the manufacturer s web site In order to communicate with a tape device th...

Страница 26: ...e edit the file usr src linux drivers scsi st_options h and change the definition of ST_BUFFER_BLOCKS If you want requests to space to end of data EOD to be faster you should also enable ST_FAST_MTEOM in the same file After changing this file rebuild the modules and install the new binary At the very least this requires make modules make modules_install from the usr src linux directory See your ke...

Страница 27: ...IX Linux and OpenVMS configuration guide 25 What next Once device files have been created you should confirm that your new tape drive is working properly Chapter 8 on page 37 provides instructions on backing up and restoring a sample file to test your installation ...

Страница 28: ...Linux kernel 2 6 x servers and workstations 26 ...

Страница 29: ...I Disk Drive rmt1 Defined 00 00 0S 2 0 Other SCSI Tape Drive The SCSI ID is in the series 00 00 0S X 0 where X is the SCSI ID Review the list of existing SCSI IDs and choose an available ID to assign to the new tape drive Configuring the device files To install an HP LTO Ultrium drive on an IBM workstation create the appropriate device files for the drive To change to variable block mode use the f...

Страница 30: ...device has been configured at this address before choose connection addresses as appropriate 4 The following details are displayed Check the following values and change them if necessary BLOCK Size 0 Use EXTENDED file marks no RESERVE RELEASE support yes Set maximum delay for the READ WRITE command 1200 Click on the DO button to apply the changes ...

Страница 31: ...Otherwise select change show characteristics of a tape drive 3 A pop up window is displayed Select ost or Other SCSI tape drive as the tape drive you wish to change If no device has been configured at this address before choose connection addresses as appropriate 4 The following details are displayed Check the following values and change them if necessary BLOCK Size 0 Use EXTENDED file marks no RE...

Страница 32: ...e first device 1 is the second and so on Filename Rewind on Close Retension on Open Compression dev rmtn Yes No enabled dev rmtn 1 No No enabled dev rmtn 2 Yes Yes enabled dev rmtn 3 No Yes enabled dev rmtn 4 Yes No disabled dev rmtn 5 No No disabled dev rmtn 6 Yes Yes disabled dev rmtn 7 No Yes disabled Rewind on Close Normally the drive repositions the tape to BOT Beginning of Tape when the devi...

Страница 33: ...dicates that the drive is configured and the device files built In this example c3 50060b000xxxxxxx is the attachment point identifier with 50060b000xxxxxxx being the WWN of the drive port attached to the SAN and visible to the HBA If you do not see anything similar to the example above recheck the SAN connections and the zoning configuration to ensure that the HBA and drive ports are visible to e...

Страница 34: ...t m grep st X where X is the SCSI ID Identify the line for the tape drive For example if the drive was at SCSI ID 2 look for the line containing st 2 0 This might be as follows but on a single line lrwxrwxrwx 1 root root 63 Mar 1 00 00 dev rmt 0m devices sbus 1f 0 espdma e 8400000 esp e 8800000 st 2 0 m Here you could use dev rmt 0m shown underlined above as the device file For optimal performance...

Страница 35: ... 4 HP Ultrium LTO 4 HP_LTO_GEN_4 HP_LTO_GEN_4 2 0x3B 0 0x18659 4 0x00 0x42 0x44 0x46 3 60 1200 600 1200 600 600 18000 name st class scsi target X lun 0 where X is the SCSI target address of the device you have attached See HP data values on page 34 below for the values of the parameters in these lines 2 If you are replacing an existing tape device on the same SCSI ID remove the contents of the dev...

Страница 36: ...alue Meaning version 1 or 2 Indicates the format of the following parameters type 0x36 or 0x3B The value for an LTO Ultrium drive in usr include sys mtio h For Solaris 8 0x36 indicates a type of MT_ISOTHER Later versions of Solaris support the value 0x3B which indicates a type of MT_LTO bsize 0 Indicates variable block size options 0xd639 or 0x18659 This value is derived from constants provided in...

Страница 37: ...e acknowledge success variable records not limited to 64 KB auto density over ride and MODE SELECT compression Similarly 0x018659 indicates variable record length bsf and bsr enabled automatic density determination EOD recognition unloadable device driver variable records not limited to 64 KB and device selection of mode pages for controlling compression no of densities 4 There are four densities ...

Страница 38: ...Sun Solaris 8 9 10 servers and workstations 36 ...

Страница 39: ...connection to the tape drive by performing a rewind a If there is a tape cartridge already in the drive remove it b Insert a new tape cartridge c Rewind the tape using the command line mt f device file rewind For example on HP UX 11i v1 or 11i v2 mt f dev rmt c4t3d0BESTnb For example on HP UX 11i v3 using a persistent device file mt f dev rtape tape0_BESTnb rewind If the command completes successf...

Страница 40: ...is verifies that the installation is correct The arguments are Example Suppose you are verifying the installation of an HP LTO Ultrium tape drive on an HP UX 11 X system The procedure would be as follows 1 Use ioscan to obtain the tape drive device file options sbin ioscan fnC tape Identify the Berkeley no rewind option for example dev rmt c4t3d0BESTnb 2 Change directory to root cd 3 Back up stand...

Страница 41: ...ves technical reference manual volume 5 UNIX Linux and OpenVMS configuration guide 39 6 Compare the original with the restored version cmp stand vmunix tmp stand vmunix Note that the original filename is not prefixed with ...

Страница 42: ...Verifying the installation 40 ...

Страница 43: ... strings of bytes with codewords In LTO Ultrium drives the data is compressed using the LTO DC compression format which is based on ALDC licensed from Stac IBM with two enhancements One limits the increase in size of data that cannot be compressed that ALDC produces The other is the use of embedded codewords data transfer phase On a SCSI bus devices put in requests to be able to transfer informati...

Страница 44: ...iate bit when sending a SCSI WRITE FILEMARKS command On the other hand data is not flushed to tape in response to a filemark command infinite flush By default the buffer in the drive is flushed every 5 seconds Infinite flush avoids frequent starting and stopping of the mechanism when using a very slow application It also avoids losing capacity through the flushing of partly written groups On the o...

Страница 45: ...ilenames under AIX 30 H HP Alpha 21 HP Tru64 21 HP UX systems 9 determining attached devices 9 I IBM AIX 27 determining SCSI ID 27 device files 27 immediate mode 42 infinite flush 42 installation verifying 37 L Linux 23 determining SCSI ID 23 LUN 42 M mode AT T 41 Berkeley 41 immediate 42 O OpenVMS servers and workstations determining attached devices 19 P persistent dsf 9 S SAN 42 SCSI 3 SCSI ID ...

Страница 46: ...44 V verifying installation 37 W wide data transfer 41 ...

Отзывы: