11 Distributed File Systems
11 Distributed File Systems
Chapter 11
(version October 15, 2007)
Client Server
Requests from
client to access File stays
remote file on server
Old file
New file
2. Accesses are
3. When client is done,
done on client
file is returned to
server
Upload/download model
Network
a b c d e
a b c d e
a b c d e
Whole-file distribution
a b a b a b
c e c d c d
d e e
File-striped system
Open file
READ
Read file data
Read file data
Time Time
(a) (b)
Client Client
Server Server
Client Client
Time Time
(a) (b)
Client machine #1
a b
Process
A
a b c
File server
Original file
Single machine a b
a b
Process
A 3. Read gets "ab"
a b c
Client machine #2
Process
a b
B
Process
B
1. Write "c" 2. Read gets "abc"
(a) (b)
Session S A
Client
Close
Open(WR) File f
Client
Time
Session S B
Updated file
4. Client sends returns file
Session S A Session SA
Client A
Open(RD) Close Close
Open(RD)
Invalidate
Server File f (callback break) File f
Open(WR)
Open(WR) Close Close
Client B
Time
Session S B Session S B
Client Client
Primary server
for item x Backup server
W1 W5 R1 R2
W4 W4
W3 W3 Data store
W2 W3
W4
1 − ǫ = 1 − (1 − a)rrep
2.2
rreq
rec 2.0
1.8
1.6
1.4