This question evaluates understanding of durable storage and crash recovery mechanisms in file system design, including metadata consistency, durability guarantees, and operational concerns like performance and space overhead.
Design a resilient file system that can recover file contents correctly after a system crash (e.g., power loss / kernel panic). The interviewer gives a broad prompt (no coding required) and expects you to propose a production-ready design and discuss bottlenecks and improvements.
create
,
read
,
write/append
,
delete
,
rename
.
fsync
/close, data must survive).