lkml.org 
[lkml]   [2001]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: problem with ide-scsi and IDE tape drive
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:12    [W:0.036 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site