From owner-freebsd-questions@FreeBSD.ORG Mon Apr 16 20:10:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AE63216A404 for ; Mon, 16 Apr 2007 20:10:37 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from pizzabox.cyberleo.net (alpha.cyberleo.net [198.145.45.10]) by mx1.freebsd.org (Postfix) with ESMTP id 7624E13C46A for ; Mon, 16 Apr 2007 20:10:37 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: (qmail 77197 invoked from network); 16 Apr 2007 20:10:33 -0000 Received: from adsl-75-3-93-223.dsl.chcgil.sbcglobal.net (HELO ?172.16.44.14?) (cyberleo@cyberleo.net@75.3.93.223) by alpha.cyberleo.net with ESMTPA; 16 Apr 2007 20:10:33 -0000 Message-ID: <462449C2.9000302@cyberleo.net> Date: Mon, 16 Apr 2007 23:14:35 -0500 From: CyberLeo Kitsana User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Roland Smith References: <4623843B.40006@cyberleo.net> <20070416170825.GA91459@slackbox.xs4all.nl> In-Reply-To: <20070416170825.GA91459@slackbox.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: dump/restore corrupted filesystems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 20:10:37 -0000 Roland Smith wrote: > On Mon, Apr 16, 2007 at 09:11:48AM -0500, CyberLeo Kitsana wrote: >> I have a 1.2TB UFS2 filesystem with irrecoverable corruption. As such, I >> must move all 500GB or so of data off of it and re-newfs it. > > If the corruption is due to hardware failure, your data is probably lost. Sorry if I wasn't clear. Most all of the data is readable and complete if I mount the filesystem read-only. It just panics the box when mounted read/write, and fsck can't fix the damage. My question was more along the lines of whether or not dump/restore would see that those corrupted directory and file inodes were indeed corrupt and not bother attempting to back them up, or if it would happily back them up and restore them in their corrupted state to a new filesystem, thus trashing it. If it does, I can always use rsync. > Dump examines the filesystem to see which files need to be backed up. > So dumping a corrupted FS will probably not produce the desired > results. If it did, we wouldn't need backups. Ironically, this is the machine that holds the backups. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://www.fur.com/peace/