From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,af687589b3c7930e,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-03-29 15:13:50 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!newsserver.jvnc.net!netnews.upenn.edu!msuinfo!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!cs.utexas.edu!uunet!butch!flynn!lj10839 From: lj10839@flynn (David Ferreira) Subject: "mt_resid" field of mt Message-ID: Sender: news@butch.lmsc.lockheed.com Organization: Lockheed Missiles & Space Co. X-Newsreader: TIN [version 1.1 PL6] Date: Tue, 29 Mar 1994 23:13:50 GMT I am having problems with an Exabyte 8500 tape drive. It will not read a tape written by an identical type of drive, we keep getting the following error. # dd if=/dev/rmt0h of=tmp dd read error: No space left on device 0+0 records in 0+0 records out The only difference I found was the last entry in the mt -f status command: DEVIOGET ELEMENT CONTENTS ---------------- -------- category DEV_TAPE bus DEV_UB interface device TZxx adpt_num 1 nexus_num 0 bus_num 1 ctlr_num 1 slave_num 112 dev_name tz unit_num 14 soft_count U hard_count U stat 9 DEV_BOM DEV_WRTLCK category_stat 40000 DEV_54000_BPI MTIOCGET ELEMENT CONTENTS ---------------- -------- mt_type MT_ISSCSI mt_dsreg 0 mt_erreg 0 mt_resid 1 Does anyone out there know what a status code of "1" means in the "mt_resid" field of "mt". I looked in the file /usr/include/sys/mtio.h and it only says that it is of type short and is the "Resudual count"????? Please e-mail if you have any ideas? David Ferreira Lockheed Missiles and Space davef@lmsc.lockheed.com