From: Christian Iversen <chrivers@iversen-net.dk>
To: linux-scsi <linux-scsi@vger.kernel.org>
Subject: Problem with tape drive: illegal seek
Date: Sat, 26 Feb 2005 00:16:11 +0100 [thread overview]
Message-ID: <200502260016.11954.chrivers@iversen-net.dk> (raw)
Whenever I use --verify for tar, I get problems. Specifically, I get
"Illegal seek" when tar gets to the verify phase.
I'm trying this on a Compaq SDT-10000 on an Adaptec AHA-3940U2x/395U2x,
according to lspci.
The following simulates my backup script.. to some extend :)
[root@boreas]/tmp #dd if=/dev/urandom of=random-data bs=1024 count=1024
1024+0 records in
1024+0 records out
1048576 bytes transferred in 0,324788 seconds (3228493 bytes/sec)
[root@boreas]/tmp #mt rewind
[root@boreas]/tmp #tar --create --verify --file /dev/tape random-data
tar: /dev/tape: Warning: Cannot seek: Illegal seek
[root@boreas]/tmp #dmesg | tail
program smartd is using a deprecated SCSI ioctl, please convert it to SG_IO
program smartd is using a deprecated SCSI ioctl, please convert it to SG_IO
program smartd is using a deprecated SCSI ioctl, please convert it to SG_IO
program smartd is using a deprecated SCSI ioctl, please convert it to SG_IO
program smartd is using a deprecated SCSI ioctl, please convert it to SG_IO
program smartd is using a deprecated SCSI ioctl, please convert it to SG_IO
program smartd is using a deprecated SCSI ioctl, please convert it to SG_IO
program smartd is using a deprecated SCSI ioctl, please convert it to SG_IO
program smartd is using a deprecated SCSI ioctl, please convert it to SG_IO
ReiserFS: md0: warning: vs-8115: get_num_ver: not directory item
[root@boreas]/tmp #
Should I look into the buggy'dness of this, or am I doing something wrong?
Please note that I can restore the data just fine, if I use tar. If I try to
use dd, I get strange errors as well:
[root@boreas]/tmp #dd if=/dev/tape of=dump
dd: reading `/dev/tape': Cannot allocate memory
0+0 records in
0+0 records out
0 bytes transferred in 3,699040 seconds (0 bytes/sec)
I hope you can help me.
--
Regards,
Christian Iversen
next reply other threads:[~2005-02-25 23:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-25 23:16 Christian Iversen [this message]
2005-02-26 3:23 ` Problem with tape drive: illegal seek Guy
2005-02-26 8:42 ` Kai Makisara
2005-02-27 12:20 ` Christian Iversen
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=200502260016.11954.chrivers@iversen-net.dk \
--to=chrivers@iversen-net.dk \
--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