>From bouche@nova.astro.umass.edu Wed Nov 1 11:24:25 2000
From: Nicolas Bouche <bouche@nova.astro.umass.edu>
To: Mike Fitzpatrick <fitz@noao.edu>
Subject: Re: tapecap
X-Status: Mike,> Check the ownerships and permissions on /dev/st1 and /dev/nst1,
> they should be owned by root with permission -rw-rw-rw-. The lok file
> isn't created because the alloc failed before then, but you should also
> check that the /tmp on nova has world write permission.OK, this is fixed now. But, i still can't read the tape! Here is what i get:ms> alloc nova!mtexb1
ms> mscrfits nova!mtexb1 temp
nova!mtexb1[1] -> temp0001.fits:ERROR on line 23: Bad tapecap entry for
magtape device (nova!mtexb1)
mscrfits (input=nova!mtexb1, output=temp)
The tape is a backup from our observations. I am assuming, it's ben
written with mscred (the observation were done with MOSAIC), but i am not
100% sure.
What are the other possiblities? It seems like it isn't a tar file.Thanks again,N>From fitz Wed Nov 1 11:29:06 2000
To: bouche@nova.astro.umass.edu
Subject: Re: tapecapNicolas,
Did you fix the ":tc=generic-exabyte" typo (should be 'generic-exb')
I mentioned earlier?? A "bad tapecap entry" usually means there's a typo
in the tapecap entry for the device, e.g. a missing '\' escape and the end
of a line, or a space after the '\', or a ":tc" field that is invalid.
You can use the SHOWCAP task to help track this down, e.g. cl> set graphcap = dev$tapecap (or some explicit filename)
cl> showcap
cmd : `set' device
| `*' (to dump full graphcap entry
| cc [arg1 [arg2 [arg3]]]
; cc : a two chararacter capcode (e.g., 'cm')
| an encoder program (non alpha first char)
; * set mtexb1 (you type this at the "*" prompt)You'll need to to this on nova directly, if you can't spot this feel free
to send me your tapecap file. -Mike>From bouche@nova.astro.umass.edu Wed Nov 1 11:39:05 2000
To: Mike Fitzpatrick <fitz@noao.edu>
Subject: Re: tapecapMike,I did fix the typo.Here is what i got with the showcap:
* set mtexb1
:al=st1 nst1:dv=nst1:lk=st1:dt=Exabyte EXB-8200 8mm tape drive:\
tt=P6-120MP:ts#2347794:bs#0:mr#32768
r#32768:fb#10:rs#2000:fs#188416:\
mf:
The tapecap file has: (is attached to this email)# Unit assignments (Linux).
# ---------------------------mtdlt0|mtst0-dlt|DLT drive:\
:dt=DLT drive:al=st0 nst0:\
:dv=/dev/nst0:lk=st0:tc=generic-dat:mtdat1|mtst1-dat|HP DAT drive unit 1:\
:dt=HP 35480A Helical Scan DAT drive:al=st1 nst1:\
:dv=nst1:lk=st1:tc=generic-dat:mtexb0|mtst0-exb|Exabyte drive on ST 0:\
:al=st0 nst0:\
:dv=nst0:lk=st0:tc=generic-exabyte:mtexb1|mtst1-exb|Exabyte drive on ST 1:\
:al=st1 nst1:\
:dv=nst1:lk=st1:tc=generic-exb:[tapecap deleted]>From fitz Wed Nov 1 12:16:21 2000
To: bouche@nova.astro.umass.edu
Subject: Re: tapecapNicolas,
Any chance you sent me the tapecap file from smurf, or have a
dev$tapecap.nova on nova, or redefined your 'tapecap' environment variable
somewhere? The file you sent looks fine and the showcap output displays
all the fields so unless the file is the wrong one I don't see where the
error is. IRAF first looks for a 'dev$tapecap.<nodename>' file and if
that's not found falls back to 'dev$tapecap', assuming the 'tapecap'
environment variable hasn't named some other file to be used instead.
The tapecap file used would be the ones on nova which is why I asked
whether you're sure the files are from there and not smurf. Is the tape
readable on nova itself or do you get the same error?-Mike>From bouche@nova.astro.umass.edu Wed Nov 1 13:24:15 2000
To: Mike Fitzpatrick <fitz@noao.edu>
Subject: Re: tapecapMike,I am pretty sure the tapecap is from nova. There is no tapecap.nova
though. The tapecap is linked to tapecap.linux. There is no tapecap on
smurf, only tapecap.linuxI dont know if it's readable on nova because the package mscred is not
installed on nova. (that's partly why we go through all this)>From nova, devstat gives:
device for which status is desired (mtexb1):
# Magtape unit mtexb1 status Wed 14:17:02 01-Nov-2000 user bouche
file = -1
record = -1
nfiles = 0
tapeused = 0 Kb
pflags = 0
cl> >From smurf, devstat gives:ms> alloc nova!mtexb1
ms> devstat nova!mtexb1
# Magtape unit nova!mtexb1 status Wed 15:01:17 01-Nov-2000 user bouche
file = -1
record = -1
nfiles = 0
tapeused = 0 Kb
pflags = 0
ms> Nicolas>From fitz Thu Nov 2 10:56:21 2000
To: bouche@nova.astro.umass.edu
Subject: Re: tapecapNicolas,
I'm not sure what to suggest at this point since I see nothing
wrong with the tapecap you sent. What I'd try is to put a scratch tape
in the drive and try reading/writing it on nova to see if you get the
same errors using the standard RFITS/WFITS tasks. If you have an old
version of MSCRED there's a chance it may be a conflicting task name
in TTOOLS or FITSION (are either of these loaded???), but this shouldn't
complain about the tapecap entry. You might also try creating a tapecap.nova
file on nova with *only* the mtexb1/generic-exb entries to rule out a
control char or something in the file causing a premature EOF (but then
you wouldn't be able to alloc the drive).
If you like I could log in from here to check on things, let me
know. Otherwise, let me know what happens with the scratch tape tests.Cheers,
-Mike