Challenges in File Systems
File:Systems
Performance Trade-Offs
Recovery Mechanisms
Data Integrity
100

What is the primary goal of Fsck in crash recovery?

What is to scan and repair file system inconsistencies?

100

This process restores a file system to a consistent state after a crash

What is recovery?


100

This is the impact of journaling on normal operations due to the need to write to both the journal and the file system.

What is Slower Performance?

100

This method replays logged transactions from a journal to restore consistency after a crash.

What is Redo Logging?

100

This technique involves writing changes to a log before being applied to the main file system.

What is Write-Ahead Logging?

200
This type of cache temporarily stores data and metadata for file system operations before they are written to disk.

What is the page cache?

200

This technique logs planned updates before they are applied to the disk to ensure crash consistency.

What is Journaling?


200

This method groups multiple updates into a single transaction to reduce overhead.

What is Batching Transactions?

200

This region in a Log-Strucutred File System contains pointers to the latest parts of the inode map.

What is the Checkpoint Region(CR)?

200

This term describes the state of a transaction that has been fully and successfully written.

What is Committed?

300

This strategy prioritizes cleaning cold segments over hot segments in a Log-Structured File System.

What is the Hot vs. Cold Segment Cleaning Strategy?

300

This type of journaling logs both metadata and file data, leading to high I/O costs.

What is Data Journaling?

300

This technique ensures the integrity of journal data and allows for the safe skipping of corrupted transactions.

What are the Checksums?

300

This type of transaction is ignored during recovery if it does not have an end marker.

What is an Uncommitted Transaction?

300

This approach allows for changes to be written to new locations instead of overwriting existing structures.

What is Copy-On-Write(COW)?

400

This challenge is related to the need for effective cleaning policies to minimize performance impact during periods of high disk usage.

What is Cleaning overhead?

400

This file system structure contains addresses of inodes, which point to files. 

What is the Inode Map(imap)?

400

This type of journaling only logs metadata, reducing I/O load by writing user data directly to the file system.

What is Ordered/MetaData journaling?

400

This term refers to the process of applying logged updates to their final locations on the disk.

What is Checkpointing?

400

This is the primary goal of FSCK in maintaining file system integrity.

What is Consistency?

500

What is the problem that occurs from files not being raid aware?

What is the Small-Write Problem?


500

This recovery tool scans the entire file system to detect and repair inconsistencies after a crash.

What is FSCK(File System Consistency Check)?

500

This challenge arises when deallocated blocks are reused before checkpointing, potentially corrupting new files.

What is Block Reuse?

500

This problem occurs when updates to an inode trigger a cascade of changes in parent directories.


What is the Recursive Update Problem?

500

This type of journaling can lead to user data being inconsistent if a crash occurs.

What is Metadata journaling?