tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Lost file-system story



On Tue, Dec 06, 2011 at 11:10:44AM -0500, Donald Allen wrote:
> 
> 2. I'm a little bit surprised that the filesystem was as much of a
> mess as it was.

I'm not.  You mounted the filesystem async and had a crash.  With the
filesystem mounted async *nothing* pushes out most metadata updates,
with the result that the filesystem's metadata can quickly enter a
fatally inconsistent state.  The only way home safe is a clean unmount.

If you mount an FFS filesystem async you are playing with fire.  Sure,
it can be useful, but asbestos clothing is not optional.

Thor


Home | Main Index | Thread Index | Old Index