More tape problems

From: Calvin Meadows <cmeadows_at_smith.edu>
Date: Fri, 18 Dec 1998 13:44:32 -0500

Now that I can see my libraries, I can not use them (see SUMMARY:Tape
configuration problems).

I suspect that the problems I am having is still a configuration issue. I
can not write
to ether of the tape drives without getting an I/O error, [5] using vdump
and tar.

I used MAKEDEV tz24 tz26 to create the *rmt* files which allowed me to
access the tapes
(see tape movement). What's strange is when I do a "file /dev/rmt0h or
/dev/rmt1h", I
get the following.

# file /dev/rmt0h
/dev/rmt0h: character special (9/49154) SCSI #3 EXB-8505 tape #35 (SCSI
ID #0) (SCSI LUN #0) errors = 0/3254 61000_bpi

# file /dev/rmt1h
/dev/rmt1h: character special (9/51202) SCSI #3 EXB-8505 tape #37 (SCSI
ID #2) (SCSI LUN #0) errors = 0/6511 61000_bpi

Notice the Tape #'s. Shouldn't they be 24 and 26? Also, below is what I get
when I try to
get a status of one of the tape drives.


Thanks,
Calvin


# mt -f /dev/nrmt1h status



DEVIOGET ELEMENT CONTENTS
---------------- --------
category DEV_TAPE
bus DEV_SCSI
interface SCSI
device EXB-8505
adpt_num 0
nexus_num 0
bus_num 3
ctlr_num 3
slave_num 37
dev_name tz
unit_num 37
soft_count 0
hard_count 6511
stat 0x1
                        DEV_BOM
category_stat 0x20000
                        DEV_61000_BPI

DEVGETINFO ELEMENT CONTENTS
------------------ --------
media_status 0x10001
                        BOM POS_VALID
unit_status 0x101
                        Ready 2_FM_Close NO_Rewind Buffered
record_size 0
density (current) 61000 BPI
density (on write) 0 BPI
Filemark Cnt 0
Record Cnt 0
Class 2 - RDAT

MTIOCGET ELEMENT CONTENTS
---------------- --------
mt_type MT_ISSCSI
mt_dsreg 0x1
                        DEV_BOM
mt_erreg 0x43 Nonrecoverable medium error.
                        EOM
mt_resid 0
mt_fileno 0
mt_blkno 0
DEV_EEI_STATUS
        version 0x2
        status 0x3400 Device hardware error (hard error)
        flags 0x1000007
                        CAM_STATUS SCSI_STATUS SCSI_SENSE CAM_DATA
        cam_status 0x4 CCB request completed with an err
        scsi_status 0x2 SCSI_STAT_CHECK_CONDITION
        scsi_sense_data (hex)
                        70 0 43 0 0 0 1 15
                         0 0 0 0 9 0 0 0
                         0 0 0 1 0 0 0 69
                        6f 90 3 0 ae 0 0 0
                         0 0 0 0 0 0 0 0
                         0 0 0 0 0 0
        ASC/ASQ = 9/0 Track following error




////// ////// Calvin J. Meadows Jr.
// // UNIX/VMS Systems Administrator
// // Smith College
////// // Northampton, MA 01063
    // // E-Mail: cmeadows_at_smith.edu
    // // Tel:(413) 585-4475
////// ////// Fax: (413) 585-3073
Received on Fri Dec 18 1998 - 18:46:08 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT