dump/restore corrupted filesystems
Roland Smith
rsmith at xs4all.nl
Wed Apr 18 21:37:23 UTC 2007
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070418/cbe51183/attachment.pgp
More information about the freebsd-questions
mailing list