SlideShare a Scribd company logo
1 of 22
By: Little Goku
Distributed Files Systems (DFS)
• Allows multi-computer systems to share files
– Even when no other IPC or RPC is needed
• Sharing devices
– Special case of sharing files
 • E.g.,
– NFS (Sun’s Network File System)
– Windows NT, 2000, XP
– Andrew File System (AFS) & others …
Naming of Distributed Files
• Naming – mapping between logical and physical objects
• A transparent DFS hides the location where in the network
the
file is stored.
• Location transparency – file name does not reveal the
file’s physical storage location.
• Location independence – file name does not need to be
changed when the file’s physical storage location changes.
– Better file abstraction.
– Separates the naming hierarchy from the storage-devices hierarchy
DFS – Three Naming Schemes
1. Mount remote directories to local directories, giving the
appearance of a coherent local directory tree
• Mounted remote directories can be accessed transparently.
• Unix/Linux with NFS; Windows with mapped drives
2. Files named by combination of host name and
 local name;
• Guarantees a unique system wide name
• Windows Network Places, Apollo Domain
3. Total integration of component file systems.
• A single global name structure spans all the files in the system.
 9
Mounting Remote Directories (NFS)
.
File caching schemes
Contents
 Introduction
 Key decisions of file caching schemes
 Cache location
 Modification propagation
Introduction
To Retain recently accessed files in the main memory.
Repeated access to the same information can be
handled locally.
Reduce network traffic.
Cache location
It refers to the place at where the cached data is stored.
Let’s assume original location of a file is on its server’s
disk.
Three possible cache location:
1) Server’s main memory
2) Client’s disk
3) Client’s main memory
Possible cache locations in file-caching
scheme for DFS
//Do not learn it...Just read it.....
Modification Propagation
Write-through:
when new user modifies the cache entry it is
immediately written to the server.
Delayed-write:
To decrease continuous network traffic write all updates
to the server periodically or batch them together.
File replication
Provide for increase reliability by having independent
backups of each file.
Enable file access to continue even if one file server is
down.
Advantages of replication
Improver performance
Increase reliability
High Availability.
Replica creation methods
Three methods
a) Explicit file replication
b) Lazy file replication
c) File replication using group
Explicit file replication
Entire process controlled by
programmer
Process makes file on one
server & Make multiple copies
on servers.
Directory server maintain list of
all replicas
When file is requested, any one
of these copies can be opened.
Lazy file replication
Only one copy created on
server & server makes
replication for other
servers.
System can track all
replicas & retrieve one
copy as required.
File replication using a group
System call is sent to all
servers
Replicas are created when
original is made
All copies are made at
same time.
Fault Tolerance
Stateful
– Server maintains information about a file opened by a client .
(e.g…. file pointer, mode).
– Mechanism: on open, the server provides a “handle” to the client
to use on subsequent operations.
Stateless
– Server maintains no information about client access to files
– Mechanism: each client operation must provide context
information for that operation.
 Stateful service
 Information about file operations are kept in the server during
all the file session.
 A communication channel is established between the
client and the server when a the client explicitly open a file.
 A number(identifier) is used to define the communication
channel then this identifier will be used to perform file
operations.
 To attend its clients, the server copies data from the storage
devices to memory and let them there till the file closing.
 Stateless service
 The stateless service does not establish a communication channel.
there is no necessity for explicit file opening and closing
 Before executing a file operation the server will automatically open
and close the file.
 Each request sent to the server must define the desired file likewise,
if a read or write
 Operation is requested, it must contain the position in the file
referring to the respective operation.
NFS
• Sun Network File System (NFS) has become de facto
standard for distributed UNIX file access.
• NFS runs over LAN
– even WAN (slowly).
• Any system may be both a client and server
• Basic idea:
– Remote directory is mounted onto local directory
– Remote directory may contain mounted directories within
Andrew File System (AFS)
 Completely different kind of file system
 Developed at CMU to support all student computing.
 Consists of workstation clients and dedicated file server machines.
• Single name space
– File has the same names everywhere in the world.
• Lots of local file caching
– On workstation disks
– For long periods of time
– Originally whole files, now 64K file chunks.
• Good for distant operation because of local disk caching
 43
5.distributed file systems

More Related Content

What's hot

Ch11 file system implementation
Ch11 file system implementationCh11 file system implementation
Ch11 file system implementationAbdullah Al Shiam
 
cloud computing:Types of virtualization
cloud computing:Types of virtualizationcloud computing:Types of virtualization
cloud computing:Types of virtualizationDr.Neeraj Kumar Pandey
 
Introduction to distributed file systems
Introduction to distributed file systemsIntroduction to distributed file systems
Introduction to distributed file systemsViet-Trung TRAN
 
Operating system 11 system calls
Operating system 11 system callsOperating system 11 system calls
Operating system 11 system callsVaibhav Khanna
 
Processor allocation in Distributed Systems
Processor allocation in Distributed SystemsProcessor allocation in Distributed Systems
Processor allocation in Distributed SystemsRitu Ranjan Shrivastwa
 
distributed shared memory
 distributed shared memory distributed shared memory
distributed shared memoryAshish Kumar
 
Synchronization in distributed systems
Synchronization in distributed systems Synchronization in distributed systems
Synchronization in distributed systems SHATHAN
 
Types of Load distributing algorithm in Distributed System
Types of Load distributing algorithm in Distributed SystemTypes of Load distributing algorithm in Distributed System
Types of Load distributing algorithm in Distributed SystemDHIVYADEVAKI
 
System models in distributed system
System models in distributed systemSystem models in distributed system
System models in distributed systemishapadhy
 
Distributed file system
Distributed file systemDistributed file system
Distributed file systemNaza hamed Jan
 
Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating systemudaya khanal
 
Storage Management in Linux OS.ppt
Storage Management in Linux OS.pptStorage Management in Linux OS.ppt
Storage Management in Linux OS.pptRakesh Kadu
 
Distributed Operating System
Distributed Operating SystemDistributed Operating System
Distributed Operating SystemSanthiNivas
 
Fault tolerance in distributed systems
Fault tolerance in distributed systemsFault tolerance in distributed systems
Fault tolerance in distributed systemssumitjain2013
 
Distributed File Systems
Distributed File Systems Distributed File Systems
Distributed File Systems Maurvi04
 
Disk and File System Management in Linux
Disk and File System Management in LinuxDisk and File System Management in Linux
Disk and File System Management in LinuxHenry Osborne
 

What's hot (20)

Ch11 file system implementation
Ch11 file system implementationCh11 file system implementation
Ch11 file system implementation
 
Linux file system
Linux file systemLinux file system
Linux file system
 
cloud computing:Types of virtualization
cloud computing:Types of virtualizationcloud computing:Types of virtualization
cloud computing:Types of virtualization
 
Introduction to distributed file systems
Introduction to distributed file systemsIntroduction to distributed file systems
Introduction to distributed file systems
 
Operating system 11 system calls
Operating system 11 system callsOperating system 11 system calls
Operating system 11 system calls
 
Nfs
NfsNfs
Nfs
 
Processor allocation in Distributed Systems
Processor allocation in Distributed SystemsProcessor allocation in Distributed Systems
Processor allocation in Distributed Systems
 
12. dfs
12. dfs12. dfs
12. dfs
 
distributed shared memory
 distributed shared memory distributed shared memory
distributed shared memory
 
Synchronization in distributed systems
Synchronization in distributed systems Synchronization in distributed systems
Synchronization in distributed systems
 
Types of Load distributing algorithm in Distributed System
Types of Load distributing algorithm in Distributed SystemTypes of Load distributing algorithm in Distributed System
Types of Load distributing algorithm in Distributed System
 
System models in distributed system
System models in distributed systemSystem models in distributed system
System models in distributed system
 
Distributed file system
Distributed file systemDistributed file system
Distributed file system
 
Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating system
 
Storage Management in Linux OS.ppt
Storage Management in Linux OS.pptStorage Management in Linux OS.ppt
Storage Management in Linux OS.ppt
 
Distributed Operating System
Distributed Operating SystemDistributed Operating System
Distributed Operating System
 
Fault tolerance in distributed systems
Fault tolerance in distributed systemsFault tolerance in distributed systems
Fault tolerance in distributed systems
 
Cs8493 unit 4
Cs8493 unit 4Cs8493 unit 4
Cs8493 unit 4
 
Distributed File Systems
Distributed File Systems Distributed File Systems
Distributed File Systems
 
Disk and File System Management in Linux
Disk and File System Management in LinuxDisk and File System Management in Linux
Disk and File System Management in Linux
 

Similar to 5.distributed file systems

Presentation on nfs,afs,vfs
Presentation on nfs,afs,vfsPresentation on nfs,afs,vfs
Presentation on nfs,afs,vfsPrakriti Dubey
 
Ch16 OS
Ch16 OSCh16 OS
Ch16 OSC.U
 
Chapter 17 - Distributed File Systems
Chapter 17 - Distributed File SystemsChapter 17 - Distributed File Systems
Chapter 17 - Distributed File SystemsWayne Jones Jnr
 
File service architecture and network file system
File service architecture and network file systemFile service architecture and network file system
File service architecture and network file systemSukhman Kaur
 
3. distributed file system requirements
3. distributed file system requirements3. distributed file system requirements
3. distributed file system requirementsAbDul ThaYyal
 
Dfs (Distributed computing)
Dfs (Distributed computing)Dfs (Distributed computing)
Dfs (Distributed computing)Sri Prasanna
 
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSCS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSKathirvel Ayyaswamy
 
Hadoop Distributed File System
Hadoop Distributed File SystemHadoop Distributed File System
Hadoop Distributed File SystemMilad Sobhkhiz
 
Hadoop Distributed File System for Big Data Analytics
Hadoop Distributed File System for Big Data AnalyticsHadoop Distributed File System for Big Data Analytics
Hadoop Distributed File System for Big Data AnalyticsDrPDShebaKeziaMalarc
 
Distributed File System
Distributed File SystemDistributed File System
Distributed File SystemNtu
 
DFS PPT.pptx
DFS PPT.pptxDFS PPT.pptx
DFS PPT.pptxVMahesh5
 
best presentation ever by tayyab.pptx
best presentation ever by tayyab.pptxbest presentation ever by tayyab.pptx
best presentation ever by tayyab.pptxHAIDERALICH3
 
Andrew File System
Andrew File SystemAndrew File System
Andrew File SystemAshish KC
 
Distributed File Systems
Distributed File SystemsDistributed File Systems
Distributed File Systemsawesomesos
 

Similar to 5.distributed file systems (20)

Presentation on nfs,afs,vfs
Presentation on nfs,afs,vfsPresentation on nfs,afs,vfs
Presentation on nfs,afs,vfs
 
Chapter-5-DFS.ppt
Chapter-5-DFS.pptChapter-5-DFS.ppt
Chapter-5-DFS.ppt
 
Nfs
NfsNfs
Nfs
 
Ch16 OS
Ch16 OSCh16 OS
Ch16 OS
 
OS_Ch16
OS_Ch16OS_Ch16
OS_Ch16
 
OSCh16
OSCh16OSCh16
OSCh16
 
Chapter 17 - Distributed File Systems
Chapter 17 - Distributed File SystemsChapter 17 - Distributed File Systems
Chapter 17 - Distributed File Systems
 
File service architecture and network file system
File service architecture and network file systemFile service architecture and network file system
File service architecture and network file system
 
3. distributed file system requirements
3. distributed file system requirements3. distributed file system requirements
3. distributed file system requirements
 
Dfs (Distributed computing)
Dfs (Distributed computing)Dfs (Distributed computing)
Dfs (Distributed computing)
 
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSCS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMS
 
Hadoop Distributed File System
Hadoop Distributed File SystemHadoop Distributed File System
Hadoop Distributed File System
 
Hadoop Distributed File System for Big Data Analytics
Hadoop Distributed File System for Big Data AnalyticsHadoop Distributed File System for Big Data Analytics
Hadoop Distributed File System for Big Data Analytics
 
Distributed File System
Distributed File SystemDistributed File System
Distributed File System
 
DFS PPT.pptx
DFS PPT.pptxDFS PPT.pptx
DFS PPT.pptx
 
best presentation ever by tayyab.pptx
best presentation ever by tayyab.pptxbest presentation ever by tayyab.pptx
best presentation ever by tayyab.pptx
 
Andrew File System
Andrew File SystemAndrew File System
Andrew File System
 
Nfs
NfsNfs
Nfs
 
Ch10 file system interface
Ch10   file system interfaceCh10   file system interface
Ch10 file system interface
 
Distributed File Systems
Distributed File SystemsDistributed File Systems
Distributed File Systems
 

Recently uploaded

Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 

Recently uploaded (20)

Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 

5.distributed file systems

  • 2. Distributed Files Systems (DFS) • Allows multi-computer systems to share files – Even when no other IPC or RPC is needed • Sharing devices – Special case of sharing files  • E.g., – NFS (Sun’s Network File System) – Windows NT, 2000, XP – Andrew File System (AFS) & others …
  • 3. Naming of Distributed Files • Naming – mapping between logical and physical objects • A transparent DFS hides the location where in the network the file is stored. • Location transparency – file name does not reveal the file’s physical storage location. • Location independence – file name does not need to be changed when the file’s physical storage location changes. – Better file abstraction. – Separates the naming hierarchy from the storage-devices hierarchy
  • 4. DFS – Three Naming Schemes 1. Mount remote directories to local directories, giving the appearance of a coherent local directory tree • Mounted remote directories can be accessed transparently. • Unix/Linux with NFS; Windows with mapped drives 2. Files named by combination of host name and  local name; • Guarantees a unique system wide name • Windows Network Places, Apollo Domain 3. Total integration of component file systems. • A single global name structure spans all the files in the system.  9
  • 6. File caching schemes Contents  Introduction  Key decisions of file caching schemes  Cache location  Modification propagation
  • 7. Introduction To Retain recently accessed files in the main memory. Repeated access to the same information can be handled locally. Reduce network traffic.
  • 8. Cache location It refers to the place at where the cached data is stored. Let’s assume original location of a file is on its server’s disk. Three possible cache location: 1) Server’s main memory 2) Client’s disk 3) Client’s main memory
  • 9. Possible cache locations in file-caching scheme for DFS //Do not learn it...Just read it.....
  • 10. Modification Propagation Write-through: when new user modifies the cache entry it is immediately written to the server. Delayed-write: To decrease continuous network traffic write all updates to the server periodically or batch them together.
  • 11. File replication Provide for increase reliability by having independent backups of each file. Enable file access to continue even if one file server is down.
  • 12. Advantages of replication Improver performance Increase reliability High Availability.
  • 13. Replica creation methods Three methods a) Explicit file replication b) Lazy file replication c) File replication using group
  • 14. Explicit file replication Entire process controlled by programmer Process makes file on one server & Make multiple copies on servers. Directory server maintain list of all replicas When file is requested, any one of these copies can be opened.
  • 15. Lazy file replication Only one copy created on server & server makes replication for other servers. System can track all replicas & retrieve one copy as required.
  • 16. File replication using a group System call is sent to all servers Replicas are created when original is made All copies are made at same time.
  • 17. Fault Tolerance Stateful – Server maintains information about a file opened by a client . (e.g…. file pointer, mode). – Mechanism: on open, the server provides a “handle” to the client to use on subsequent operations. Stateless – Server maintains no information about client access to files – Mechanism: each client operation must provide context information for that operation.
  • 18.  Stateful service  Information about file operations are kept in the server during all the file session.  A communication channel is established between the client and the server when a the client explicitly open a file.  A number(identifier) is used to define the communication channel then this identifier will be used to perform file operations.  To attend its clients, the server copies data from the storage devices to memory and let them there till the file closing.
  • 19.  Stateless service  The stateless service does not establish a communication channel. there is no necessity for explicit file opening and closing  Before executing a file operation the server will automatically open and close the file.  Each request sent to the server must define the desired file likewise, if a read or write  Operation is requested, it must contain the position in the file referring to the respective operation.
  • 20. NFS • Sun Network File System (NFS) has become de facto standard for distributed UNIX file access. • NFS runs over LAN – even WAN (slowly). • Any system may be both a client and server • Basic idea: – Remote directory is mounted onto local directory – Remote directory may contain mounted directories within
  • 21. Andrew File System (AFS)  Completely different kind of file system  Developed at CMU to support all student computing.  Consists of workstation clients and dedicated file server machines. • Single name space – File has the same names everywhere in the world. • Lots of local file caching – On workstation disks – For long periods of time – Originally whole files, now 64K file chunks. • Good for distant operation because of local disk caching  43