From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,229a28be047df94b,start X-Google-Attributes: gidfa528,public X-Google-Thread: 1020c6,229a28be047df94b,start X-Google-Attributes: gid1020c6,public X-Google-Thread: fbad3,229a28be047df94b,start X-Google-Attributes: gidfbad3,public X-Google-ArrivalTime: 2001-03-27 09:56:08 PST Path: supernews.google.com!sn-xit-03!supernews.com!64.71.136.253.MISMATCH!news!news.he.net!news-hog.berkeley.edu!ucberkeley!newsfeed.acns.nwu.edu!news.acns.nwu.edu!merle.acns.nwu.edu!nch425 From: "Ned C. Haubein" Newsgroups: comp.unix.admin,comp.periphs.scsi,comp.unix.tru64 Subject: Problem with previously working SCSI tape drive Date: Tue, 27 Mar 2001 11:45:23 -0600 Organization: Northwestern University, Evanston, IL, US Message-ID: Reply-To: Ned Haubein NNTP-Posting-Host: merle.acns.nwu.edu Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Xref: supernews.google.com comp.unix.admin:9593 comp.periphs.scsi:12001 comp.unix.tru64:1964 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 __________________________________________________________