Re: dump/restore corrupted filesystems



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@xxxxxxxxxxxx>

Furry Peace! - http://www.fur.com/peace/
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • large file corruption (x86_64, ext3) under 2.6.17 kernels?
    ... where backups were written to two 300G Maxtor SATA ... The file corruption problem seem to occur on large files, ... images saved on the hard drives) to see if the problem has been ... This leaves mainly only the kernel and/or the ext3 ...
    (Linux-Kernel)
  • Re: file copies change trailing data on certain files?
    ... The corruption that HAS already occurred will stay, ... The way I run backups, I add a step to restore files to a spare hard ... drive and compare against the originals. ... player libraries, software I'm writing or changes to documents, etc. ...
    (microsoft.public.win2000.windows_update)
  • Re: Error With a white Project Guide
    ... I think i'm going to re-build the plans (via copy and paste or ... corruption try to make it so that the files are not renamed...keep ... I do have daily backups as our network is automatically ...
    (microsoft.public.project)
  • Re: Restoring Exchange data to new SBS server
    ... I have the old server booted up in DS mode, ... general corruption that I've yet to see. ... When I get BackupExec running I see that no backups ... folder paths) you may be able to mount the databases. ...
    (microsoft.public.windows.server.sbs)
  • RE: backup issue
    ... You see any corruption or hardware errors ... With SQL Server backups, we usually have commands such as RESTORE ... VERIFYONLY and RESTORE HEADERONLY to verify the state of a backup device. ...
    (microsoft.public.sqlserver.server)