Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2007 23:14:35 -0500
From:      CyberLeo Kitsana <cyberleo@cyberleo.net>
To:        Roland Smith <rsmith@xs4all.nl>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: dump/restore corrupted filesystems
Message-ID:  <462449C2.9000302@cyberleo.net>
In-Reply-To: <20070416170825.GA91459@slackbox.xs4all.nl>
References:  <4623843B.40006@cyberleo.net> <20070416170825.GA91459@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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
<CyberLeo@CyberLeo.Net>

Furry Peace! - http://www.fur.com/peace/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?462449C2.9000302>