From owner-freebsd-questions@FreeBSD.ORG Fri Oct 1 15:57:49 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3318816A4D0 for ; Fri, 1 Oct 2004 15:57:49 +0000 (GMT) Received: from ngfl.dialnet.com (ngmail.ngfl.dialnet.com [212.44.44.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBED743D41 for ; Fri, 1 Oct 2004 15:57:47 +0000 (GMT) (envelope-from ict@cardinalnewman.coventry.sch.uk) Received: from ngmfilt2.ngfl.dialnet.com [212.44.44.78] by ngfl.dialnet.com with ESMTP (SMTPD32-8.12) id AF1E357C0076; Fri, 01 Oct 2004 17:00:30 +0100 Received: from relay.ngfl.dialnet.com (unverified) by ngmfilt2.ngfl.dialnet.com ; Fri, 1 Oct 2004 16:56:23 +0100 Received: from firewall.lan.cardinalnewman.coventry.sch.uk (YahooBB219209044064.bbtec.net [172.30.0.70]) by ngrelay.dialnet.com with SMTP (MailShield v2.04 - WIN32 Jul 17 2001 17:12:42); Fri, 01 Oct 2004 16:54:52 +0100 Received: from mail.lan.cardinalnewman.coventry.sch.uk (mail.lan.cardinalnewman.coventry.sch.uk [10.248.192.10]) ESMTP id i91FtpEu074130; Fri, 1 Oct 2004 16:55:51 +0100 (BST) (envelope-from ict@cardinalnewman.coventry.sch.uk) Received: from [10.248.195.196] (dumpster.lan.cardinalnewman.coventry.sch.uk [10.248.195.196])ESMTP id i91FrKH0005841; Fri, 1 Oct 2004 16:53:20 +0100 (BST) (envelope-from ict@cardinalnewman.coventry.sch.uk) From: ict technician Organization: Cardinal Newman School To: Malcolm Kay Date: Fri, 1 Oct 2004 16:53:20 +0100 User-Agent: KMail/1.6.2 References: <200409300945.15068.ict@cardinalnewman.coventry.sch.uk> <200410011038.35037.ict@cardinalnewman.coventry.sch.uk> <200410012119.04048.malcolm.kay@internode.on.net> In-Reply-To: <200410012119.04048.malcolm.kay@internode.on.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200410011653.20646.ict@cardinalnewman.coventry.sch.uk> X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Status: No, hits=-32.8 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, QUOTE_TWICE_1,REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_KMAIL version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Filter-Version: 1.11a (mail.lan.cardinalnewman.coventry.sch.uk) X-SMTP-HELO: firewall.lan.cardinalnewman.coventry.sch.uk X-SMTP-MAIL-FROM: ict@cardinalnewman.coventry.sch.uk X-SMTP-RCPT-TO: malcolm.kay@internode.on.net X-SMTP-RCPT-TO: freebsd-questions@freebsd.org X-SMTP-RCPT-TO: ianjhart@ntlworld.com X-SMTP-PEER-INFO: YahooBB219209044064.bbtec.net [172.30.0.70] cc: freebsd-questions@freebsd.org cc: ian j hart Subject: Re: broken fs dump file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2004 15:57:49 -0000 On Friday 01 October 2004 12:49, Malcolm Kay wrote: > On Fri, 1 Oct 2004 07:08 pm, ict technician wrote: > > On Thursday 30 September 2004 17:19, Malcolm Kay wrote: > > > On Thu, 30 Sep 2004 06:15 pm, ict technician wrote: > > > > I have a broken fs dump I need to fix. Is there a diagnostic/repair > > > > tool I can use? I know about restore -N. > > > > > > > > > > > > > > > > Dump was taken on 4.10. Restoring on 5.3BETA, although I can change > > > > that. > > > > > > A question rather than an answer:---- > > > Is it valid to dump a ufs file system and try to restore it to a ufs2 > > > system? > > > > > > Malcolm > > > > wrt dump: > > on 5.x dump has to understand ufs2. However, you might choose to use ufs; > > so it has to deal with that. Since dump does both, restore must do both. > > QED :) > > > > I agree with the argument that dump must be able to dump a ufs fs > that restore can restore to a ufs fs, and that dump must be able to dump a > ufs2 fs that restore can restore to a ufs2 fs. > > But to dump a ufs fs and restore it to a ufs2 fs is not the same thing, > nor is it the 'normal' application for dump/restore. Normal use is dump newfs restore. newfs now defaults to ufs2, so the default behavior (on 5.x) is to convert from ufs to ufs2. RTFM and note the absence of supporting evidence in any of the BUGS sections. I see no CAVEATS. man 8 dump man 8 restore man 8 newfs > Maybe this is quite a valid thing to do; I'd like to see an 'official' > statement to that effect -- I find your argument in relation to this > situation unconvincing. Sorry about that. > > But you seem to be convinced by your investigation that the problem is > elsewhere so at least tentitively I will accept that it is valid thing to do > even though I dismiss your argument. My problem is not that it doesn't restore. restore is quite happy to write out 150,000 files. What it doesn't do is to recover from 3 faults in the file, leaving 100,000 files unrestored. If these files were in some way "magic" (/dev ?) you might have a point, but they are MS word documents. > > Malcolm > > > > -- i j hart ICT Technician Cardinal Newman Catholic School & Community College