The mt command and a tar archive

From: Paulo Gomes <paulo_at_dexel.co.za>
Date: Fri, 21 Nov 1997 15:43:04 +0200

Hello osf managers,

I am doing a tar restore command # tar xv
and the error is [offset 0] : no space left on device.

The tar backup archives # tar cv .
were run on two seperate unix machines both running unix 4.0
with same model tape devices.

I then ran the mt status command for both tapes and the only difference
is the mt_resid parameter. Is anyone able to tell me what this
parameter
does?

The output from the tape that did not work with the tar command is as
follows:

DEVIOGET ELEMENT CONTENTS
---------------- --------
category DEV_TAPE
bus DEV_SCSI
interface SCSI
device Python 2
adpt_num 0
nexus_num 0
bus_num 0
ctlr_num 0
slave_num 1
dev_name tz
unit_num 1
soft_count 0
hard_count 0
stat 9
                        DEV_BOM DEV_WRTLCK
category_stat 20000
                        DEV_61000_BPI

DEVGETINFO ELEMENT CONTENTS
------------------ --------
media_status 0x9
                        BOM WrtProt
unit_status 0x101
                        Ready 2_FM_Close NO_Rewind Buffered
record_size 0
density (current) 61000 BPI
density (on write) 0 BPI
Filemark Cnt <Not Valid>
Record Cnt <Not Valid>
Class 2 - RDAT

MTIOCGET ELEMENT CONTENTS
---------------- --------
mt_type MT_ISSCSI
mt_dsreg 0
mt_erreg 0
mt_resid 1

#######################################################################
The output from the tape that worked with a tar command.


DEVIOGET ELEMENT CONTENTS
---------------- --------
category DEV_TAPE
bus DEV_SCSI
interface SCSI
device Python 2
adpt_num 0
nexus_num 0
bus_num 0
ctlr_num 0
slave_num 1
dev_name tz
unit_num 1
soft_count 0
hard_count 0
stat 9
                        DEV_BOM DEV_WRTLCK
category_stat 20000
                        DEV_61000_BPI

DEVGETINFO ELEMENT CONTENTS
------------------ --------
media_status 0x9
                        BOM WrtProt
unit_status 0x101
                        Ready 2_FM_Close NO_Rewind Buffered
record_size 0
density (current) 61000 BPI
density (on write) 0 BPI
Filemark Cnt <Not Valid>
Record Cnt <Not Valid>
Class 2 - RDAT

MTIOCGET ELEMENT CONTENTS
---------------- --------
mt_type MT_ISSCSI
mt_dsreg 0
mt_erreg 0
mt_resid 0

Any suggestions would be appreciated.
Received on Fri Nov 21 1997 - 15:04:45 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT