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

Re: Best File System for partitions over 600GB



On Sun, 11 Mar 2007 21:58:29 -0400
Douglas Allan Tutty <dtutty@porchlight.ca> wrote:

[snip]

> possible but there could be some data corruption.  ext3 journals data as
> well as metadata but takes forever to regenerate after a crash and there
> can still be errors.  

>From man mount(8):

> Mount options for ext3
>        The ‘ext3’ file system is a version of the ext2 file system  which  has
>        been  enhanced  with journalling.  It supports the same options as ext2
>        as well as the following additions:
 
[snip]

>        data=journal / data=ordered / data=writeback
>               Specifies the journalling  mode  for  file  data.   Metadata  is
>               always  journaled.   To use modes other than ordered on the root
>               file system, pass the mode to the kernel as boot parameter, e.g.
>               rootflags=data=journal.
> 
>               journal
>                      All  data  is  committed  into the journal prior to being
>                      written into the main file system.
> 
>               ordered
>                      This is the default mode.  All data  is  forced  directly
>                      out  to  the main file system prior to its metadata being
>                      committed to the journal.
> 
>               writeback
>                      Data ordering is not preserved - data may be written into
>                      the  main file system after its metadata has been commit‐
>                      ted to the journal.  This is rumoured to be the  highest-
>                      throughput  option.   It  guarantees internal file system
>                      integrity, however it can allow old  data  to  appear  in
>                      files after a crash and journal recovery.

So IUUC, ext3 only journals metadata by default, not data, although it
jounals data also if 'data=journal' is specified.

Celejar



Reply to: