* Problem with previously working SCSI tape drive
@ 2001-03-27 17:45 Ned C. Haubein
2001-03-27 18:04 ` Rob Turk
0 siblings, 1 reply; 2+ messages in thread
From: Ned C. Haubein @ 2001-03-27 17:45 UTC (permalink / raw)
I'm hoping someone here can shed some light on a problem we're having.
I've exhausted my knowledge and technical support wouldn't answer my
questions.
We have a Sony SDT-7000 tape drive and are running Tru64 Unix. Everything
was fine until yesterday when we had a dump time out while waiting for new
media (first time this filesystem took 2 tapes). Anyway, we couldn't
eject the tape b/ the SCSI bus needed to be reset. We didn't know how to
do this in software at the time (learned today that the scu utility will
do it) so we powered down the machine and the tape came out fine when it
came back up. I don't know if this is related.
Today we can't get it to dump (although it will restore previous dumps).
Error messages from dump and 'mt status' are shown below. Any ideas?
Thanks - ned
dump output:
-----------
dump: Date of this level 0 dump: Tue Mar 27 11:32:26 2001 CST
dump: Date of last level 0 dump: the start of the epoch
dump: Dumping /dev/rrz0a (/) to /dev/nrmt0h
dump: Mapping (Pass I) [regular files]
dump: Mapping (Pass II) [directories]
dump: Estimate: 71347 tape blocks on 1 volume(s)
dump: Dumping (Pass III) [directories]
dump: Volume 1, tape # 0001, begins with blocks from i-node 2
dump: Dumping (Pass IV) [regular files]
dump: 0.72% done -- finished in 00:02
dump: Check if tape is write protected.
dump: Write error -- wanted to write: 262144, only wrote: -1
slave_work(): write(): I/O error
dump: Write error - /dev/nrmt0h, volume 1, 1 feet -- cannot recover
dump: NEEDS ATTENTION: Do you want to restart this volume?: ("yes" or
"no") no
dump: SIGTERM received
dump: The ENTIRE dump is aborted)
'mt status' output:
------------------
DEVIOGET ELEMENT CONTENTS
---------------- --------
category DEV_TAPE
bus DEV_SCSI
interface SCSI
device SDT-7000
adpt_num 0
nexus_num 0
bus_num 0
ctlr_num 0
slave_num 3
dev_name tz
unit_num 3
soft_count 0
hard_count 10
stat 0x1
DEV_BOM
category_stat 0x20000
DEV_61000_BPI
DEVGETINFO ELEMENT CONTENTS
------------------ --------
media_status 0x10001
BOM POS_VALID
unit_status 0x181
Ready 2_FM_Close NO_Rewind Compacting 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 0x80 No error or no sense info.
FILE_MARK
mt_resid 1
mt_fileno 0
mt_blkno 0
DEV_EEI_STATUS
version 0x2
status 0x0 No EEI status available
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)
f0 0 80 0 0 0 1 12
0 0 0 0 0 1 0 0
0 0 0 0 0 0 0 3a
69 3a 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0
ASC/ASQ = 0/1 Filemark detected
__________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem with previously working SCSI tape drive
2001-03-27 17:45 Problem with previously working SCSI tape drive Ned C. Haubein
@ 2001-03-27 18:04 ` Rob Turk
0 siblings, 0 replies; 2+ messages in thread
From: Rob Turk @ 2001-03-27 18:04 UTC (permalink / raw)
"Ned C. Haubein" <nch425@merle.acns.nwu.edu> wrote in message
news:Pine.HPP.3.93.1010327113842.6198B-100000@merle.acns.nwu.edu...
>
> I'm hoping someone here can shed some light on a problem we're having.
> I've exhausted my knowledge and technical support wouldn't answer my
> questions.
[SNIP]
> MTIOCGET ELEMENT CONTENTS
> ---------------- --------
> mt_type MT_ISSCSI
> mt_dsreg 0x1
> DEV_BOM
> mt_erreg 0x80 No error or no sense info.
> FILE_MARK
> mt_resid 1
> mt_fileno 0
> mt_blkno 0
> DEV_EEI_STATUS
> version 0x2
> status 0x0 No EEI status available
> 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)
> f0 0 80 0 0 0 1 12
> 0 0 0 0 0 1 0 0
> 0 0 0 0 0 0 0 3a
> 69 3a 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0
> 0 0 0
> ASC/ASQ = 0/1 Filemark detected
> __________________________________________________________
Ned,
Are you trying to append to existing data on this tape? If so, it appears
the tape drive has ran into a filemark on tape when it didn't expect one.
This might have happened when the last dump wasn't properly closed. Recover
by using a new tape, or erase the current one.
Rob
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-03-27 18:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-27 17:45 Problem with previously working SCSI tape drive Ned C. Haubein
2001-03-27 18:04 ` Rob Turk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox