Re: dump/restore corrupted filesystems



On Wed, Apr 18, 2007 at 04:09:22PM -0500, CyberLeo Kitsana wrote:
Roland Smith wrote:
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.

That might be worth filing a PR for, especially the panics.

Exactly what is damaged? Garbage in files? Wrong inode counts? I've had
unclean filesystems because of panics, but nothing fsck_ffs couldn't
fix.

You might want to check the hardware too. Use smartmontools in case of
(S)ATA drives.

Smart says that the drives are fine, as does the manufacturer's disk
fitness tools.

That's at least some good news.

--8<--
rsync: readlink
"/raid/Backup/Pizzabox/2007-02-23/cyberleo/secondlife/linux/SecondLife_i686_1_13_2_15/skins/xui/es"
failed: Bad file descriptor (9)
rsync: readlink
"/raid/Backup/Pizzabox/2007-02-23/cyberleo/secondlife/linux/SecondLife_i686_1_13_2_15/skins/xui/fr"
failed: Bad file descriptor (9)
--8<--

At least these files should be easy to replace, if necessary.

fsck_ufs dies after about 30 minutes of grinding with the following:

--8<--
** Phase 2 - Check Pathnames
DIRECTORY CORRUPTED I=93409222 OWNER=1002 MODE=40755
SIZE=512 MTIME=Feb 10 00:49 2007
DIR=?

UNEXPECTED SOFT UPDATE INCONSISTENCY

Did these problems start after a crash?

SALVAGE? no

What happens if you tell it to try and salvage?

Roland
--
R.F.Smith http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Attachment: pgpggct8OXGm7.pgp
Description: PGP signature



Relevant Pages

  • Re: dump/restore corrupted filesystems
    ... and fsck can't fix the damage. ... That might be worth filing a PR for, especially the panics. ... So if any of these is corrupt, ...
    (freebsd-questions)
  • Re: dump/restore corrupted filesystems
    ... and fsck can't fix the damage. ... That might be worth filing a PR for, especially the panics. ... If dump dies on ... So if any of these is corrupt, ...
    (freebsd-questions)
  • Re: contigmalloc() and mmap()
    ... > file descriptor. ... is there any reason for passing struct thread * to ... panics if td is NULL (i.e. pass such descriptor in SCM_RIGHTS, ...
    (freebsd-hackers)
  • Patch: sym(4) "VTOBUS FAILED" panics on amd64, amd64/89550
    ... This fixes the sym "VTOBUS FAILED" panics that I got consistently on ... fix so that it is supported, or having a note in the hardware guide. ...
    (freebsd-stable)
  • Re: Random panics with 5.3-REL, SMP
    ... On Tuesday 23 November 2004 01:22 pm, Hogan Whittall wrote: ... so I swapped out the wireless card with one supported ... > I'm still getting random panics, ... > has experienced something like this before and knows of a fix, ...
    (freebsd-current)