Sergey Poznyakoff wrote:
Leonard Sitongia <[EMAIL PROTECTED]> ha escrit:

The new tar on Linux made the situation worse.  As before, when it
finishes reading the first tape, it doesn't prompt for the second
tape, it just ends.

Have you tried -i (--ignore-zeros) option?

Regards,
Sergey
I've now tried this suggestion, and there's no change. I'm using tar 1.19 both on the Cygwin side, to write the multi-volume tapes, and on the Linux side, to read. I'm using these commands:

cygwin% tar -cv -i -M -b 128 -f /dev/nst0 d/20050419 d/20050420 g/20050421
linux% tar -t -i -M -b 128 -f /dev/nst0

When reading, reaching the end of the first tape, I get:

...
g/20050421/20050421.121910.fts
tar: /dev/st0: Cannot read: Input/output error
tar: /dev/st0: Cannot read: Input/output error
...
(that error line repeats about 10 times)
then it quits. I haven't tried reading the second tape, but it will probably give the same message as before:

tar: g/20050421/20050421.121910.fts: Cannot extract -- file is continued from another volume

I tried the version of tar that I started with on Linux, namely 1.15, and get the same error as above.

I see from the manual that there are a couple of other approaches I could try, to specify the length of the tape.
Another might be ‘--read-full-records’. I'm not sure.

I'm at a loss. I really would like this to work. At this point, the method in use is writing Windows backup tapes on the Windows side, and then having to use another Windows box on the read side. I'd really like to be able to use Linux on the read side.

--
==Leonard E. Sitongia
  High Altitude Observatory
  National Center for Atmospheric Research
  P.O. Box 3000 Boulder CO 80307  USA
  [EMAIL PROTECTED]  voice: (303)497-2454  fax: (303)497-1589



Reply via email to