[daip] error with DAT and FITTP
Patrick P Murphy
pmurphy at nrao.edu
Thu Oct 7 09:37:37 EDT 2004
Writing to daip instead of Kevin directly, in case Eric or Amy or
someone gets to it first.
On Tue, 21 Sep 2004 10:17:06 -0700 (MST), Kevin Healy
<KEVIN.HEALY at asu.edu> said:
> I'm trying to write some data onto a DAT tape using FITTP. I am getting the
> following errors:
yso.la> FITTP1: Writing beginning-of-write EOFs
yso.la> FITTP1: ZTAPE: LUN128 IO ERROR AT 1 OP OF BEGW SYS ERR CODE 0005
yso.la> FITTP1: ZERROR: IN ZTAP2 ERRNO = 5 (Input/output error)
yso.la> FITTP1: ERROR 3 BEGINNING WRITES WITH EOFS
> The machine is a PC architecture workstation running RedHat Linux 7.x.
> The DAT drive is connected by a SCSI bus.
Here's a checklist for him:
1. Verify that the no-rewind device (/dev/nst0) is used in the
$NET0/TPDEVS.LIST file.
2. Check permissions on /dev/nst0; does he have read/write access?
3. Perform "mt -f /dev/nst0 status" which should show, e.g.:
SCSI 2 tape drive:
File number=-1, block number=-1, partition=0.
Tape block size 0 bytes. Density code 0x0 (default).
Soft error count since last status=0
General status bits on (4050000):
WR_PROT DR_OPEN IM_REP_EN
With a tape in the drive at BOT, the file and block numbers
should be zero. If the tape block size is not 0, set it thus:
mt -f /dev/nst0 setblk 0
(Though I think the AIPS Z routines do this anyway).
4. Verify that he can write stuff to tape:
dd if=/some/FITS-file.fits bs=2880 count=1 of=/dev/nst0
5. Check /var/log/messages for "st0:" or "st1:" or whatever errors.
It could well be a flaky drive, in which case step 5 will show up
something.
HTH.
- Pat
More information about the Daip
mailing list