[SunHELP] Reinitialize tape drive on Digital Alpha Unix


Fri Oct 18 21:12:11 CDT 2002


Hello all,

There is this old machine in the datacentre with its tape drive
not working. Anybody knows how to re-detect the tape drive
again. I have looked and it doesn't have 'tapes', 'devlinks' or
'drvconfig' commands.

I've include some commands result below.

Thanks in advance
khairul



# uname -a
OSF1 phrssr01 V4.0 878 alpha
#
#
# mt st

DEVIOGET ELEMENT        CONTENTS
----------------        --------
category                DEV_TAPE
bus                     DEV_SCSI
interface               SCSI
device                  TLZ07
adpt_num                0
nexus_num               0
bus_num                 0
ctlr_num                0
slave_num               1
dev_name                tz
unit_num                1
soft_count              0
hard_count              4
stat                    0x4
                        DEV_OFFLINE
category_stat           0x20000
                        DEV_61000_BPI

DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x10000
                        POS_VALID
unit_status             0x182
                        Offline 2_FM_Close NO_Rewind Compacting Buffered
record_size             0
density (current)       61000 BPI
density (on write)      0 BPI
Filemark Cnt            0
Record Cnt              69
Class                   2 - RDAT

MTIOCGET ELEMENT        CONTENTS
----------------        --------
mt_type                 MT_ISSCSI
mt_dsreg                0x4
                        DEV_OFFLINE
mt_erreg                0x2 Unit is not ready.
mt_resid                0
mt_fileno               0
mt_blkno                69
DEV_EEI_STATUS
        version         0x2
        status          0x3200  Device inoperable (needs initialize)
        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  2  0  0  0  0  a
                         0  0  0  0 3a  0  0 29
                         0  0  0  0  0  0  0  0
                         0  0  0  0  0  0  0  0
                         0  0  0
        ASC/ASQ = 3a/0  Medium not present

#



More information about the SunHELP mailing list