From: Marc SCHAEFER <schaefer@alphanet.ch>
To: linux-kernel@vger.kernel.org
Subject: Re: SCSI tape corruption problem
Date: Sat, 14 Apr 2001 10:23:24 +0200 [thread overview]
Message-ID: <200104140823.KAA30162@vulcan.alphanet.ch> (raw)
Now try this:
cd ~archive
mt -f /dev/tapes/tape0 rewind
tar cvf - . | gzip -9 | dd of=/dev/tapes/tape0 bs=32k
and then:
mt -f /dev/tapes/tape0 rewind
dd if=/dev/tapes/tape0 bs=32k | gzip -d | tar --compare -v -f -
The above is the proper way to talk to a tape drive through gzip.
PS: if you pre-compress, it can be wise to suppress hardware compression
(mt -f /dev/nst0 datcompression 0) and maybe use a big buffer with
the buffer command.
next reply other threads:[~2001-04-14 8:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-14 8:23 Marc SCHAEFER [this message]
2001-04-14 17:42 ` Geert Uytterhoeven
2001-04-14 18:08 ` Marc SCHAEFER
2001-04-14 18:20 ` Marc SCHAEFER
2001-04-15 13:04 ` Olaf Titz
[not found] <200104140822.KAA30156@vulcan.alphanet.ch>
2001-04-14 19:25 ` Lorenzo Marcantonio
2001-04-15 1:16 ` Marc SCHAEFER
-- strict thread matches above, loose matches on Subject: below --
2001-04-11 14:24 lomarcan
2001-04-11 11:37 lomarcan
2001-04-11 13:18 ` Mircea Damian
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=200104140823.KAA30162@vulcan.alphanet.ch \
--to=schaefer@alphanet.ch \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®