HP Tape manual Silicon Graphics systems, Irix, Mtcan and constants values

Page 27

UNIX sgi

hp learning products

http://www.hp.com/support/tape may have a later version

data protection

contact hp

home page

before you start operation

cartridge care

cleaning

specifications media compatibility

diagnostics troubleshooting

FAQs

SCSI configuration

UNIX configuration

hp systems

dec systems ibm RS/6000

systems

pc based UNIX systems silicon graphics sun systems

verify installation

UNIX glossary

ordering supplies

Silicon Graphics systems, IRIX

This topic is available in English only.

 

contents of this section

 

 

 

related topics

 

 

determining the SCSI ID

 

 

 

 

verifying installation

 

 

 

 

configuring the device files

 

 

 

 

glossary

 

 

MTCAN and constants values

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

determining the SCSI id

Before you configure your system to support your new HP Surestore DLT1 drive, you need to determine what SCSI ID to use. The SCSI ID must be unique for each device attached to the SCSI bus. To list the existing devices, use the following command:

% hinv -v grep SCSI

This will produce output similar to the following:

Integral SCSI controller 0: Version WD33C93B, revision D

Disk drive: unit 1 in SCSI controller 0

In this, “unit X” indicates the SCSI ID. Review the list of existing SCSI IDs and choose an available ID to assign to your new tape drive.

configuring the device files

To install the HP Surestore DLT1 drive on a Silicon Graphics system running IRIX, you will need to modify the kernel configuration file.

If you want tar to default to short block transfers, change the 512*512 in your tpsc or scsi HP entry to 128*512 (128-kilobyte blocks) or, better still, 64*512 (64-kilobyte blocks).

1Select the name of the kernel configuration file for your version of IRIX from the list below and open it with a text editor:

For IRIX 6.2 and later: /var/sysgen/master.d/scsi

2Find the following entry in the kernel configuration file and copy it to a new location in the file where you can edit it as appropriate for your tape drive:

For IRIX 6.2:

{DECDLT, TPDLT,8,4,"BNCHMARK","DLT1",0,0,{0},

MTCAN_BSFMTCAN_BSRMTCAN_APPEND

MTCAN_PREVMTCAN_SYNCMTCAN_SPEODMTCAN_CHKRDYMTCAN_VAR MTCAN_SETSZMTCAN_SILIMTCAN_SEEKMTCAN_COMPRESS, /*minimum delay to I/O is 4 minutes, because when a retry is *performed, the drive retries a number of times, and then

*rewinds to BOT, repositions, and tries again.*/ 40, 4*60, 20*60, 5*60, 512, 64*512, 0, (u_char*)0 },

For IRIX 6.4/6.5:

{ DATDLT, TPDLT, 8, 4, "BNCHMARK", "DLT1", 0, 0, {0},

MTCAN_BSFMTCAN_BSRMTCAN_APPEND

MTCAN_PREVMTCAN_SYNCMTCAN_SPEODMTCAN_CHKRDYMTCAN_VAR MTCAN_SETSZMTCAN_SILIMTCAN_SEEKMTCAN_COMPRESS,

/* minimum delay on i/o is 4 minutes, because when a retry is

* performed, the drive retries a number of times, and then

* rewinds to BOT, repositions, and tries again. */ 40, 4*60, 4*60, 5*60, 3*3600, 512, 512*512, tpsc_default_dens_count, tpsc_default_hwg_dens_names, tpsc_default_alias_dens_names,

{0}, 0, 0, 0,

0, (u_char *)0 },

For an explanation of the functions of the MTCAN values and constants, see "MTCAN and Constants Values".

3Recompile the kernel by running autoconfig and then reboot the system. When you reboot, the device files for the DLT1 drive will be created automatically.

The following device files will be created in /dev/rmt:

tps0d3

tps0d3cnrv

tps0d3nrns

tps0d3s

tps0d3c

tps0d3cns

tps0d3nrnsv

tps0d3sv

tps0d3cnr

tps0d3cnsv

tps0d3nrs

tps0d3v

tps0d3cnrns

tps0d3cs

tps0d3nrsv

tps0d3stat

tps0d3cnrnsv

tps0d3csv

tps0d3nrv

 

tps0d3cnrs

tps0d3cv

tps0d3ns

 

tps0d3cnrsv

tps0d3nr

tps0d3nsv

 

These device file names can be interpreted as follows:

Device Name

Function

c

Compression

nr

No rewind on close

v

Device supports variable block sizes

ns

Device does not byte-swap

s

Device does byte-swap

stat

Allows the device to be used when one of the other device

 

files specifying the same physical device is already opened

For example, the device file tps0d3 indicates a device on controller card 0 at SCSI ID 3, and the device file tps0d3nrv indicates a device on controller card 0 at SCSI ID 3 that does not rewind on close and supports variable block sizes.

Once the device files have been created, you should confirm that your new tape drive is working properly. See Verifying Installation.

MTCAN and constants values

The MTCAN values have the following functions:

MTCAN

Capability Enabled

value

 

APPEND

Append to existing tape data

BSF

Backspace file

BSR

Backspace record

CHKRDY

Determine if a tape cartridge is present

CHTYPEANY Change density and/or fixed to variable at points other than beginning of tape

COMPRESS Compression

PREV

Prevent media removal

SEEK

Seek to a particular block

SETSZ

Fixed block size can be set

SILI

Suppress illegal length indicators

SPEOD

Space to EOD (end of data)

SYNC

Synchronous mode SCSI

VAR

Variable block sizes

The constants have the following functions:

Constant

Description

40

Transfer time-out in "inverse ticks"

4*60

Minimum time-out in seconds for any command

4*60

Space command time-out in seconds

5*60

Time-out in seconds for long operations (such as rewinds)

512

Default block size in bytes for fixed block size mode

64*512 or

Recommended blocking factor in bytes for the upper limit of

512*512

read/write commands

© 2000, Hewlett-Packard Company

file:///C/Documents%20and%20Settings/topher.COL-SPRINGS/Desktop/manual/document/dlt1/user/reseller/eng/c_silcon.htm [12/3/2001 7:50:53 AM]

Image 27
Contents October CopyrightRevision history DateObtaining technical support North and south america Europe, middle east and africa Asia pacific Exclusions WarrantyWarranty conditions WarrantyCustomer service form Before you start Operation Switching on the driveIf you have problems during self test Resetting the driveReady second light Front panel lightsFront panel lights Write Protected first lightTo label a cartridge Loading and unloadingTo load a cartridge To unload a cartridgeCartridge care Cleaning the tape heads on a drive CleaningCleaning strategy Cleaning cartridgeChoose your model from the bulleted list below Features and specificationsHp surestore dlt1i Hp surestore dlt1e Non-operating limits storage rangesDlt1e DLT4000 DLT7000 Media compatibilityDLT1 compatibility matrix Action DriveDiagnostics Troubleshooting FAQs Frequently asked questionsScsi configuration Model This topic is available in English onlyExample HP-UX systems series 700 onlyDetermining the Scsi id Creating the device filesDEC systems, Digital Unix Configuring for Digital UnixDevice file names under AIX Configuring the device filesScsi configuration Unix configuration hp systems IBM RS/600 systems, AIXPC-based UNIX, SCO and Linux Mtcan and constants values Silicon Graphics systems, IrixValue Meaning Sun systems, Solaris 2 SunOSHp-data values For all adaptersSystem-specific arguments Verify the installationVerifying the installation OverviewGlossary Media Ordering suppliesAdapters Rail kitsOrdering supplies DLT1 Secure the drive Scsi ID Mounting hardware Scsi host bus adapterScsi ribbon cable Mounting bayBackup software HP Library & Tape Tools HP product registrationDrivers User documentationChecking the drive’s Scsi ID Page Preparing mounting bay in a Page Attaching tray for NetServer L-Series servers Page Installing the drive Page Attaching Scsi and power cables to internal drive Page Securing the drive side mounting screws shown Page Tape drive controls and indicators Ready Front panel LEDsWrite protecting cartridges Cleaning cartridges Write-protecting cartridgesLooking after cartridges Loading a cartridge Check operation To load a cartridgeTo unload a cartridge Using HP Library & Tape Tools Page If you do not have internet access If you have Internet access, register electronicallyNone of the drive’s LEDs illuminate Other sources of information Page External tape drive Connect the Scsi cable Connect the power cableTroubleshooting Check the drive’s Scsi IDScsi ID Scsi cable Backup software HP product registration Checking the Scsi ID Page Connecting the Scsi cable Page Connecting the power cable Page Tape drive front panel Front panel LEDs Write-protecting cartridges Write-protecting cartridges Loading a DLTtape cartridge Check operation Using HP Library & Tape Tools Page If you have internet access, register electronically All of the LEDs on the front panel blink continually None of the drive’s LEDs illuminateIs properly terminated