This paper compares journal file systems with traditional file systems and presents the improvement of XFS in journal file system.
对日志文件系统和传统文件系统进行了比较,介绍了XFS在日志文件系统上的改进。
When I talk about further distinctions like static and journal file systems, I'm emphasizing the consistency and, to some extent, security of file system contents.
当我谈到进一步的区分,如静态和日志文件系统时,我要强调一致性以及某种程度上的文件系统内容的安全性。
Again, in terms that the BSD UNIX world used to view things, static and journal file systems relate to the way in which the UNIX file system (UFS) organizes and secures files.
同样,用BSDUNIX时代用来看问题的术语来说,静态和日志文件系统与UNIXFile System (ufs)组织文件并确保其安全的方式有关。
Then the file system "plays" each operation or transaction and once the operation is completed it is deleted from the journal.
然后文件系统来执行文件操作或事务。一旦操作完成,相关日志就会被从日志文件中删除。
Recall that a journaled file system keeps a log (journal) of the file operations.
日志式文件系统通常维护一份关于文件操作的日志。
The difference between these two is a result of the drive cache and can have implications for the file system journal.
这两种定义是由于磁盘缓存而存在而产生的,对文件系统的日志有重大影响。
The journal is a special file that logs the changes destined for the file system in a circular buffer. At periodic intervals, the journal is committed to the file system.
所谓日志就是一种特殊的文件,它会在一个循环的缓冲区内记录文件系统的修改,然后将其定期提交到文件系统。
To sum up, journaling file systems are fault-resilient file systems that use a journal to log changes before they're committed to the file system to avoid metadata corruption (see Figure 1).
总之,日志文件系统就是一种具有故障恢复能力的文件系统,它利用日志来记录尚未提交到文件系统的修改,以防止元数据破坏(请参见图1)。
As explained previously there is a risk of the journal becoming corrupted possibly causing file system corruption.
如上所述,不一致的事务日志有可能导致文件系统的崩溃。
Journaling file systems use a journal to buffer changes to the file system (which is also used in crash recovery) but can use different strategies for when and what is journaled.
日志文件系统是使用日志来缓冲文件系统的修改(同时也可以应用于紧急故障恢复)的,但可以根据记录的时间与内容采取不同的策略。
Checksumming the file system journal.
执行文件系统日志校验和。
Note that journal mode, although the best way to ensure a consistent file system, is also the slowest, because all data flows through the journal.
注意,虽然Journal模式是确保文件系统一致的最佳选择,但它也是最慢的,因为所有数据都要经过日志。
If a crash occurs, the journal can be used as a checkpoint to recover unsaved information and avoid corrupting file system metadata.
一旦系统发生崩溃,日志文件就会起到一个检查点的作用,用于恢复未保存的信息,防止损坏文件系统元数据。
Journaling is the process of logging changes to the file system through a journal (which is a dedicated circular log on a contiguous region of the disk).
日志记录就是通过日记(磁盘上相邻区域的专门循环记录)记录文件系统的变更的过程。
This method used the structure of disk journal and memory journal, and adopted a mechanism of transaction, so it could meet the request of high availability in file system metadata.
该方法采用磁盘日志和内存日志的结构,通过对事务的管理,能满足集群文件系统中元数据高可用性的要求。
If the system crashes during this time, the rename operation may already be committed in the journal, even though the new file still contains no data.
如果系统崩溃在此期间,重新命名操作,可能已经在杂志上,尽管新的文件仍然不包含任何数据。
If the system crashes during this time, the rename operation may already be committed in the journal, even though the new file still contains no data.
如果系统崩溃在此期间,重新命名操作,可能已经在杂志上,尽管新的文件仍然不包含任何数据。
应用推荐