CS 111 Winter 2013

File System Robustness

by Chan Young Kim and Zhongtai David Sun
Lecture by Professor Paul Eggert on Feb. 27, 2013 at UCLA

Table of Contents

  1. What can go wrong with file systems?
  2. Approaches to Building Reliability
  3. Lecture Focus - Loss of Power
  4. Lampson-Sturgis Assumptions
  5. Invariants For Your System
  6. 2 Ideas For Robust File Systems

Goals for File Systems

  1. Performance
    • System with high throughput
    • Low Latency (handling it quickly)
  2. Durability
    • Data survives failure of underlying system
  3. Atomicty
    • Changes are either done or not done
Back to Contents

What Can Go Wrong?

Durability
What type of failures are we worried about?
Back to Contents

Approaches to Building Reliability

We create a model
For now, our model is very simple
  1. The model contains no battery
  2. Only failure we have to worry about is loss of power
    Example:
    • Old: Disk has file F which contains XXYYZZ[unused space]
    • New: F contains XXaYYZZ
    • How to make change? -> Write sector
Back to Contents

Lecture Focus - Loss of Power

Suppose in the middle of the write sector, we lose power! Back to Contents

How to Solve This Problem?

Back to Contents

Lampson-Sturgis Assumptions

Back to Contents

Invariants For Your System

Back to Contents

2 Ideas For Robust File Systems

Back to Contents


This document is fully HTML 4.01 compliant: Valid HTML 4.01 Strict