public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Tape Help <tape.help@gmail.com>
To: linux-scsi@vger.kernel.org
Subject: Fwd: Multi tape problems with cpio
Date: Sat, 15 Jan 2005 02:32:22 -0500	[thread overview]
Message-ID: <12c7da3e050114233249899ca1@mail.gmail.com> (raw)
In-Reply-To: <12c7da3e0501132353150d51f2@mail.gmail.com>

No one on linux-tape has responded.  I think that list is dead.
Can anyone help?

Thanks.

---------- Forwarded message ----------
From: Tape Help <tape.help@gmail.com>
Date: Fri, 14 Jan 2005 02:53:16 -0500
Subject: Multi tape problems with cpio
To: linux-tape@vger.kernel.org


I am using cpio to backup a system.  The backup does not fit on 1
tape, so cpio prompts for another tape.  I change the tape and hit
enter.  cpio continues and completes.  cpio does eject the first tape,
which is handy.

When I try to list the tape, cpio gets an I/O error at the end of the
first tape and does not prompt for a second tape.  Same problem if I
try to restore data.

cpio: read error: Input/output error

I have tried 2 different tape drives.
Both give the same results.
I have done this test about 5 or so times.

The backup command:
find MyFS -depth|cpio -o --format=newc --block-size=128 -F /dev/st0

The command to list the tape(s):
cpio -i --only-verify-crc --list --block-size=128< /dev/st0

If I use dd to read the tape, it also gets a read error at the end.  I
think it should get an end of file and exit cleanly.

I am using kernel 2.4.28.  It also fails with 2.4.20-8.

Anyone have any ideas?

Sort of funny, at first only 1 tape was needed.  I tested that I could
restore from the tape and it worked.  It has been using 2 tapes for
over 6 months now.  I had no idea my backups have been bad for over
six months!  I can still restore from the first tape.

Thanks.

       reply	other threads:[~2005-01-15  7:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <12c7da3e0501132353150d51f2@mail.gmail.com>
2005-01-15  7:32 ` Tape Help [this message]
2005-01-16 18:47   ` Fwd: Multi tape problems with cpio Kai Makisara
2005-01-16 19:28     ` Tape Help
2005-01-19  0:16       ` Tape Help
2005-01-19 18:50         ` Kai Makisara
2005-01-19 23:03           ` Tape Help
2005-01-20 21:07             ` Kai Makisara

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12c7da3e050114233249899ca1@mail.gmail.com \
    --to=tape.help@gmail.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox