tar on tape?

From: Dan Kirkpatrick <dkirk_at_physics.syr.edu>
Date: Fri, 18 Jan 2002 11:33:32 -0500

has anyone seen the following "No space left on device" when trying to
extract a tar from a tape?
no read errors, perhaps the tape is empty? I've tried tar and restore,
different blocking, different densities, different tape drives.

root:> tar xvf /dev/nrmt1h
tar: [offset 0]: No space left on device

root:> restore -ivf /dev/nrmt1h
Verify tape and initialize maps
Tape read error: No space left on device

User says it's a tar, used tar cvf /dev/rmt0 to create.

Thanks... more info on device follows...

>With tape in the drive and rewound:
>root:> mt -f /dev/nrmt1h status
>
>DEVIOGET ELEMENT CONTENTS
>---------------- --------
>category DEV_TAPE
>bus DEV_SCSI
>interface SCSI
>device EXB-8500
>adpt_num 0
>nexus_num 0
>bus_num 0
>ctlr_num 0
>slave_num 4
>dev_name tz
>unit_num 4
>soft_count 0
>hard_count 0
>stat A
> DEV_EOM DEV_WRTLCK
>category_stat 40000
> DEV_54000_BPI
>
>DEVGETINFO ELEMENT CONTENTS
>------------------ --------
>media_status 0xa
> EOM WrtProt
>unit_status 0x101
> Ready 2_FM_Close NO_Rewind Buffered
>record_size 0
>density (current) 54000 BPI
>density (on write) 45434 BPI
>Filemark Cnt <Not Valid>
>Record Cnt <Not Valid>
>Class 5 - 8MM
>
>MTIOCGET ELEMENT CONTENTS
>---------------- --------
>mt_type MT_ISSCSI
>mt_dsreg 0
>mt_erreg 0
>mt_resid 0
>
>root:>
>
>
>With tape ejected out of drive:
>
>root:> mt -f /dev/nrmt1h rewo
>root:> mt -f /dev/nrmt1h status
>
>DEVIOGET ELEMENT CONTENTS
>---------------- --------
>category DEV_TAPE
>bus DEV_SCSI
>interface SCSI
>device EXB-8500
>adpt_num 0
>nexus_num 0
>bus_num 0
>ctlr_num 0
>slave_num 4
>dev_name tz
>unit_num 4
>soft_count 0
>hard_count 8
>stat F
> DEV_BOM DEV_EOM DEV_OFFLINE DEV_WRTLCK
>category_stat 40000
> DEV_54000_BPI
>
>DEVGETINFO ELEMENT CONTENTS
>------------------ --------
>media_status 0xb
> BOM EOM WrtProt
>unit_status 0x102
> Offline 2_FM_Close NO_Rewind Buffered
>record_size 0
>density (current) 54000 BPI
>density (on write) 45434 BPI
>Filemark Cnt <Not Valid>
>Record Cnt <Not Valid>
>Class 5 - 8MM
>
>MTIOCGET ELEMENT CONTENTS
>---------------- --------
>mt_type MT_ISSCSI
>mt_dsreg 0
>mt_erreg 0
>mt_resid 0
>
>root:>




=======================================================
Dan Kirkpatrick dkirk_at_physics.syr.edu
Computer Systems Manager
Department of Physics
Syracuse University, Syracuse, NY
http://www.physics.syr.edu/help/ Fax:(315) 443-9103
=======================================================
Received on Fri Jan 18 2002 - 16:33:41 NZDT

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