210-255 · Question #150
Which of the following is true about journaling?
The correct answer is C. The journal is the most used part of the disk, making the blocks that form part of it more prone to. The journal in a journaling filesystem is written to with nearly every disk operation, making those blocks the most heavily used and therefore most susceptible to wear-related failure.
Question
Which of the following is true about journaling?
Options
- AThe journal is the least used part of the disk, making the blocks that form part of it more prone to
- BThe journal is the most used part of the disk, making the blocks that form part of it less prone to
- CThe journal is the most used part of the disk, making the blocks that form part of it more prone to
- DThe journal is the least used part of the disk, making the blocks that form part of it less prone to
How the community answered
(55 responses)- A7% (4)
- B2% (1)
- C87% (48)
- D4% (2)
Why each option
The journal in a journaling filesystem is written to with nearly every disk operation, making those blocks the most heavily used and therefore most susceptible to wear-related failure.
The journal is not the least used part of the disk; it is written to continuously for nearly every filesystem operation, and higher usage increases failure risk rather than reducing it.
This choice correctly identifies the journal as the most used area but incorrectly concludes that frequent writes make the blocks less prone to failure; heavy write activity increases wear and raises failure probability.
A journaling filesystem logs metadata and sometimes data changes to the journal before committing them to the main filesystem, meaning the journal blocks receive far more write operations than any other disk region, accelerating physical wear and increasing the probability of block failure over time.
Both premises are incorrect - the journal is heavily written to (most used), and that high usage increases rather than decreases block failure risk.
Concept tested: Journaling filesystem behavior and disk wear
Source: https://www.kernel.org/doc/html/latest/filesystems/ext4/journal.html
Topics
Community Discussion
No community discussion yet for this question.