From owner-freebsd-current Sun Sep 14 00:21:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA27555 for current-outgoing; Sun, 14 Sep 1997 00:21:09 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id AAA27550 for ; Sun, 14 Sep 1997 00:21:04 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA01510; Sun, 14 Sep 1997 09:21:02 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id JAA10292; Sun, 14 Sep 1997 09:14:41 +0200 (MET DST) Message-ID: <19970914091441.PA51985@uriah.heep.sax.de> Date: Sun, 14 Sep 1997 09:14:41 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: current@FreeBSD.ORG Cc: louie@TransSys.COM (Louis A. Mamakos) Subject: Re: restore seems to be misbehaving References: <199709140342.XAA07327@whizzo.TransSys.COM> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199709140342.XAA07327@whizzo.TransSys.COM>; from Louis A. Mamakos on Sep 13, 1997 23:42:18 -0400 Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Louis A. Mamakos wrote: > When I run 'restore -t', I get a bunch of 'resync restore' errors. What's > strange is that when I run 'dd if=/dev/rst0 bs=20b | restore -t -f -' > instead, everythings works just fine. > > What really puzzles me is that when I ktrace the first case, I notice > that the read(2) syscall is returning 32K bytes, rather than the 10K bytes > that I expected: Hmm, it Works For Me(tm): j@uriah 238% /sbin/restore rv Verify tape and initialize maps Tape block size is 10 ^^ I've extra prepared a 10 KB blocked tape for this (normally, they are being blocked 32 KB anyway). This is with a Tandberg TDC4222, using a DC9100 cartridge, and a NCR 53c810 controller. My system is from ~ August 9. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)