Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2003 18:18:46 -0500
From:      Rahul Siddharthan <rsidd@online.fr>
To:        David Schultz <dschultz@uclink.Berkeley.EDU>
Cc:        Greg Lehey <grog@FreeBSD.ORG>, current@FreeBSD.ORG
Subject:   Re: I've just had a massive file system crash
Message-ID:  <20030127181846.G26719@papagena.rockefeller.edu>
In-Reply-To: <20030127121058.GC388@HAL9000.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
David Schultz wrote:
> I still can't figure out why the problem would trash your entire       
> home directory, though.  Even if the disk reordered writes and    
> failed to write some sectors, directory entries that were not
> being actively modified shouldn't have become corrupted, as far as
> I know.

Something similar happened to me in 4-STABLE several months ago.
After a panic/crash (caused by an unstable USB audio driver) the
automatic fsck failed.  This happened twice; the second time my
filesystem was totally messed up, and after fsck did its thing,
several files were missing, including files in /usr/bin and /usr/sbin
that had not been touched for many weeks (ie since the last
installworld).  The damage wasn't as extensive as Greg reports, and my
home directory was spared, but I had to reinstall the base system to
get things working smoothly again.

I then turned off write caching on the IDE drive.  Afterwards I had
several such crashes (caused by the same driver) but never again had
filesystem damage -- automatic fsck always worked.  Nevertheless, as
you say, it's strange files which had not been touched went missing.

- Rahul

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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