tape drive - Device inoperable (needs initialize)?

From: Huegli Dominique (hud@semafor.ch)
Date: Tue Jul 02 2002 - 05:39:32 EDT


Hello...

I replaced a defective tape drive with the same drive. It's a
Scorpion 240 DDS-4 Autoloader. Amanda (backup system,
uses dump) did one correct backup after the installation.
But now, nothing works....

Thanks
Dominique

hud@semafor.ch

AMANDA error:

Amanda Tape Server Host Check
-----------------------------
/usr/dumps: 10170888 KB disk space available, that's plenty.
amcheck-server: slot 5: slot is empty
amcheck-server: slot 6: slot is empty
amcheck-server: slot 1: slot is empty
amcheck-server: slot 2: slot is empty
amcheck-server: slot 3: slot is empty
amcheck-server: slot 4: slot is empty
ERROR: new tape not found in rack.
        (expecting a new tape)
NOTE: skipping tape-writable test.
Server check took 12.564 seconds.

Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 0.190 seconds, 0 problems found.

(brought to you by Amanda 2.4.1p1)

(The tapelist is empty....)

> mt -f /dev/rmt0h status

DEVIOGET ELEMENT CONTENTS
---------------- --------
category DEV_TAPE
bus DEV_SCSI
interface SCSI
device DAT 0
adpt_num 0
nexus_num 0
bus_num 0
ctlr_num 0
slave_num 4
dev_name tz
unit_num 4
soft_count 0
hard_count 0
stat 0x5
                         DEV_BOM DEV_OFFLINE
category_stat 0x0
                         DEV_97000_BPI

DEVGETINFO ELEMENT CONTENTS
------------------ --------
media_status 0x10001
                         BOM POS_VALID
unit_status 0x1a2
                         Offline 2_FM_Close Rewind Compacting Buffered
record_size 0
density (current) 97000 BPI
density (on write) 0 BPI
Filemark Cnt 0
Record Cnt 0
Class 2 - RDAT

MTIOCGET ELEMENT CONTENTS
---------------- --------
mt_type MT_ISSCSI
mt_dsreg 0x5
                         DEV_BOM DEV_OFFLINE
mt_erreg 0x2 Unit is not ready.
mt_resid 0
mt_fileno 0
mt_blkno 0
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 0
                          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



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:45 EDT