žurnálovací FS a jistota obsahu souborů

Jirka Kosina jikos na jikos.cz
Čtvrtek Červen 30 12:33:15 CEST 2005


On Thu, 30 Jun 2005, Roman Fordinal wrote:

> tak toto by ma zaujimalo, ako sa to zapina? v fstab?

Date to jako option prikazu mount (tedy lze specifikovat i ve fstab).

       data=journal / data=ordered / data=writeback
              Specifies  the  journalling  mode  for  file  data.
              Metadata is always journaled.

              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 committed to the  journal.
                     This  is rumoured to be the highest-through­
                     put option.   It  guarantees  internal  file
                     system  integrity,  however it can allow old
                     data to appear in files after  a  crash  and
                     journal recovery.

-- 
JiKos.


Další informace o konferenci Linux