From owner-freebsd-current Mon Sep 15 02:33:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA17296 for current-outgoing; Mon, 15 Sep 1997 02:33:56 -0700 (PDT) Received: from mailbox.uq.edu.au (zzshocki.slip.cc.uq.edu.au [130.102.221.173]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA17266 for ; Mon, 15 Sep 1997 02:33:49 -0700 (PDT) Received: from bloop.craftncomp.com (localhost.craftncomp.com [127.0.0.1]) by mailbox.uq.edu.au (8.8.7/8.6.12) with ESMTP id TAA01215 for ; Mon, 15 Sep 1997 19:39:29 +1000 (EST) Message-Id: <199709150939.TAA01215@mailbox.uq.edu.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: current@freebsd.org Subject: Re: restore seems to be misbehaving In-reply-to: Your message of "Sun, 14 Sep 1997 09:14:41 +0200." <19970914091441.PA51985@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 15 Sep 1997 19:39:28 +1000 From: Stephen Hocking 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: > I was just bitten by this too - repartitioned my hard drive and lost a few files when restoring my /usr/src fs. I'm running with an NCR 810 also. I'll keep the dd trick in mind. The command used to back things up with a large number of QIC-150 tapes was "dump Obf 120000 /dev/rst0 /usr/src". Most puzzling. Stephen