Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: lj10839@flynn (David Ferreira)
Subject: "mt_resid" field of mt
Date: Tue, 29 Mar 1994 23:13:50 GMT	[thread overview]
Message-ID: <CnG8J3.uq@butch.lmsc.lockheed.com> (raw)

 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 <tape> 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


                 reply	other threads:[~1994-03-29 23:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox