INTRODUCTION

TO

OPERATING SYSTEMS

Lecture 21: DISTRIBUTED FILE SYSTEMS

CHRIS STAFF
Dept. of Computer Science and Artificial Intelligence
University of Malta

Next Lecture: Distributed Operating Systems: Case Study: Amoeba


Lecture Outline

Aims and Objectives
Introduction
Distributed File System Design
Distributed File System Implementation
Example: Sun's Network File System


Aims and Objectives


Introduction


Distributed File System Design

The File Service Interface

The Directory Server Interface


Distributed File System Implementation

Issues Regarding the Internal organisation of file servers and directory servers

Advantages of stateless servers Advantages of stateful servers
Fault tolerenceShorter request messages
No OPEN/CLOSE calls neededBetter performance
No server space wasted on tablesReadahead possible
No limits on number of open filesIdempotency easier
No problem if a client crashesFile locking possible

Caching

Cache Consistency


Example: Sun's Network File System

NFS Architecture

NFS Protocols


Next Lecture...

Distributed Operating Systems: Case Study: Amoeba