Lec 11 - Distributed Files - Distributed File System
Lec 11 - Distributed Files - Distributed File System
FILE SYSTEM
Extending the file system over a network
File System
◦ A file system is used to control how data is stored and retrieved
◦ Without a file system, information placed in a storage area would be one
large body of data with no way to tell where one piece of information stops
and the next begins
◦ By separating the data into individual pieces or files, and giving each piece a
name, the information is easily separated and identified
◦ A file is a logical organization of data
◦ There are many different kinds of file systems
◦ Each one has different structure and logic, properties of speed, flexibility,
security, size and more.
◦ Some file systems have been designed to be used for specific applications
Main memory
1 RAM
Types of consistency:
1: strict one-copy. : slightly weaker guarantees. 2: considerably weaker guarantees.
DISTRIBUTION
OF FILE SYSTEM
Over a network
Distributed File System 9
Distributed File System
◦ A file system that is distributed across a network
i.e., VFS
◦ Follows a Client-Server Architecture
◦ Microsoft’s DFS
Directory
Application Application
service
SUN NFS
A distributed, virtual file system
Application Application
program program
UNIX
system calls
UNIX kernel
UNIX kernel
Virtual file system Virtual file system
Local Remote
file system
UNIX UNIX
NFS NFS
Other
file file
client server
system system
NFS
protocol
Remote Remote
people students x staff users
mount mount
STORAGE AREA
NETWORK
Accessing files over a LAN
DESIGN ISSUES
Challenges in DFS
Distributed File System 25
Naming