Messages in this thread |  | | Date | Tue, 30 Oct 2001 17:28:38 -0700 | From | Khalid Aziz <> | Subject | Re: 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/
|  |