[SATLUG] ext3

Greg Swift gregswift at gmail.com
Mon Jun 15 23:00:47 CDT 2009


On Mon, Jun 15, 2009 at 22:42, Michael <mmorse757 at gmail.com> wrote:

> Would someone please view the paragraph post in the below link and
> translate it into layman's terms?
>
> Thanks.
>
> http://lkml.org/lkml/2009/3/24/460
>
>
any data you write to your hard drive gets written in 2 steps.

1: the info about the data (metadata)
2: the actual data

Currently* the metadata gets written to disk before your actual data does.
If you loose power between the writing of the metadata and the writing of
your data, you loose your data, but you can't tell until you try and read it
and the metadata points to the wrong stuff.

What he is saying is that the data should be written first, because at least
if the metadata is wrong, the data is still there.


does that help?

-greg


* although I believe there is a patch or option to change the behavior, but
I'm to tired to research for you, it was researched because of ext4 if that
helps


More information about the SATLUG mailing list