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
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
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 |
s | Device does |
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 |
4*60 | Minimum |
4*60 | Space command |
5*60 | |
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 |