All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khalid Aziz <khalid@fc.hp.com>
To: rjk@greenend.org.uk
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: problem with ide-scsi and IDE tape drive
Date: Tue, 30 Oct 2001 17:28:38 -0700	[thread overview]
Message-ID: <3BDF45B6.5B7FA397@fc.hp.com> (raw)
In-Reply-To: <mailman.1004484541.12716.linux-kernel2news@redhat.com> <200110302359.f9UNxht09639@devserv.devel.redhat.com>

Pete Zaitcev wrote:
> 
> > I originally found this under 2.2.19, and upgraded to 2.4.13 to see if
> > the problem was still there when running more recent code.  It is.
> 
> >     mt -f $TAPE rewind
> >     echo "tape 1" | dd conv=sync of=$TAPE bs=$hsize count=1
> >
> >     for x in 1 2 3; do
> >       mt -f $TAPE rewind
> >       dd if=$TAPE of=/dev/null bs=$hsize
> >       date
> >       tar -c -b 20 -f $TAPE /boot
> >     done
> 
> Try "mt fsf" instead dd, see if that helps.
> 
> -- Pete


dd is not guaranteed toposition you beyond the filemark after the first
record. You have to be positioned beyond the filemark to start writing.
Pete's suggestion is a good one. "mt fsf" will position the tape beyond
the filemark and writing to the tape should work at that point.

-- 
Khalid

====================================================================
Khalid Aziz                              Linux Systems Operation R&D
(970)898-9214                                        Hewlett-Packard
khalid@fc.hp.com                                    Fort Collins, CO

  reply	other threads:[~2001-10-31  0:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1004484541.12716.linux-kernel2news@redhat.com>
2001-10-30 23:59 ` problem with ide-scsi and IDE tape drive Pete Zaitcev
2001-10-31  0:28   ` Khalid Aziz [this message]
2001-10-31  9:23     ` Richard Kettlewell
     [not found] <mailman.1004529422.24577.linux-kernel2news@redhat.com>
2001-10-31 16:48 ` Pete Zaitcev
2001-10-30 23:25 Richard Kettlewell
2001-10-31  2:49 ` Tim Moore
2001-10-31 11:56 ` Kai Makisara
2001-10-31 12:58   ` Richard Kettlewell

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=3BDF45B6.5B7FA397@fc.hp.com \
    --to=khalid@fc.hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjk@greenend.org.uk \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.