SlideShare a Scribd company logo
1 of 23
DISTRIBUTED FILE SYSTEMS 
(DFS)
DISTRIBUTED FILE SYSTEMS 
• Including 
1.Introduction 
2.File Service Architecture 
3.Case Study: Sun NFS
1. Introduction 
1. Characteristics of file system 
2. Distributed File system requirements
2. File service architecture 
 providing access to files is obtained by structuring 
the file service as three components: 
1. Flat file service 
2. Directory service 
3. Client module. 
 The relevant modules and their relationship is 
shown in Figure
File Service Architecture 
Client computer Server computer 
Application 
program 
Application 
program 
Client module 
Directory service 
Flat file service 
Lookup 
AddName 
UnName 
GetNames 
Read 
Write 
Create 
Delete 
GetAttributes 
SetAttributes 
* 
Figure 8.5
• Responsibilities of various modules can 
be defined as follows:
1. Flat file service 
• Concerned with the implementation of 
operations on the contents of file. 
• Unique File Identifiers (UFIDs) are used to 
refer to files in all requests for flat file service 
operations.
Flat file service operations 
1. Read 
2. Write 
3. Create 
4. Delete 
5. GetAttributes 
6. SetAttributes
1. Read(FileId, i, n) : 
Reads a sequence of up to n items from a file 
starting at item i.
2. Write(FileId, i, Data) : 
Write a sequence of Data to a file, starting 
at item i.
3. Create() : 
Creates a new file of length0 and 
delivers a UFID for it.
4. Delete(FileId) :Removes the file from the 
file store. 
5. GetAttributes(FileId) : Returns the file 
attributes for the file. 
6. SetAttributes(FileId, Attr) :Sets the file 
attributes.
2. Directory service 
• Provides mapping between text names 
for the files and their UFIDs. 
• Clients may obtain the UFID of a file by 
quoting its text name to directory service. 
• Directory service supports functions to 
add new files to directories.
Directory service operations 
1. Lookup 
2. AddName 
3. UnName 
4. GetNames
Directory service operations 
1. Lookup(Dir, Name) : 
Locates the text name in the directory and 
returns the relevant UFID. 
If Name is not in the directory, throws an 
exception.
2. AddName(Dir, Name, File) :If Name is not in 
the directory, adds(Name,File) to the 
directory and updates the 
file’s attribute record. 
• If Name is already in the directory: throws an 
exception.
3. UnName(Dir, Name) :If Name is in the 
directory, the entry containing Name is 
removed from the directory. 
• If Name is not in the directory: throws an 
exception.
4. GetNames(Dir, Pattern):Returns all the text 
names in the directory that match the regular 
expression Pattern.
3. Client module 
• It runs on each computer and provides 
integrated service (flat file and directory) 
as a single API to application programs. 
• It holds information about the network 
locations of flat-file and directory server 
processes.
Access control 
• In distributed implementations, access rights 
checks have to be performed at the server .
Hierarchic file system 
• A hierarchic file system consists of a 
number of directories arranged in a tree 
structure.
File Group 
• A file group is a collection of files that can 
be located on any server.
Thank You

More Related Content

What's hot

Bài giảng ký thuật theo dõi giám sát mạng PTIT
Bài giảng ký thuật theo dõi giám sát mạng PTITBài giảng ký thuật theo dõi giám sát mạng PTIT
Bài giảng ký thuật theo dõi giám sát mạng PTITNguynMinh294
 
Xây dựng hệ thống mạng cho Công Ty Cổ Phần Trường Tân trên nền tảng server 2008
Xây dựng hệ thống mạng cho Công Ty Cổ Phần Trường Tân trên nền tảng server 2008Xây dựng hệ thống mạng cho Công Ty Cổ Phần Trường Tân trên nền tảng server 2008
Xây dựng hệ thống mạng cho Công Ty Cổ Phần Trường Tân trên nền tảng server 2008laonap166
 
Live data collection_from_windows_system
Live data collection_from_windows_systemLive data collection_from_windows_system
Live data collection_from_windows_systemMaceni Muse
 
Introduction to filesystems and computer forensics
Introduction to filesystems and computer forensicsIntroduction to filesystems and computer forensics
Introduction to filesystems and computer forensicsMayank Chaudhari
 
Rà soát Malware bằng SysInternal Suite
Rà soát Malware bằng SysInternal SuiteRà soát Malware bằng SysInternal Suite
Rà soát Malware bằng SysInternal SuitePhạm Trung Đức
 
Đồ án Xây dựng hệ thống bảo mật mạng VPN/IPSEC
Đồ án Xây dựng hệ thống bảo mật mạng VPN/IPSECĐồ án Xây dựng hệ thống bảo mật mạng VPN/IPSEC
Đồ án Xây dựng hệ thống bảo mật mạng VPN/IPSECnataliej4
 
ATP adminitrasi sistem jaringan.docx
ATP adminitrasi sistem jaringan.docxATP adminitrasi sistem jaringan.docx
ATP adminitrasi sistem jaringan.docxNofriaMulianis1
 
Internet-of-things.pptx
Internet-of-things.pptxInternet-of-things.pptx
Internet-of-things.pptxThnhLuc1
 
Multimedia software hardware
Multimedia software hardwareMultimedia software hardware
Multimedia software hardwaregopinathselvi
 
Cloud Computing Standards and Use Cases (Robert Grossman) 09-v8p
Cloud Computing Standards and Use Cases (Robert Grossman) 09-v8pCloud Computing Standards and Use Cases (Robert Grossman) 09-v8p
Cloud Computing Standards and Use Cases (Robert Grossman) 09-v8pRobert Grossman
 
Lập trình phân tích bắt gói tin mạng bằng Python
Lập trình phân tích bắt gói tin mạng bằng PythonLập trình phân tích bắt gói tin mạng bằng Python
Lập trình phân tích bắt gói tin mạng bằng PythonPhạm Trung Đức
 
Audio compression
Audio compressionAudio compression
Audio compressionSahil Garg
 
Nghiên cứu và triển khai hệ thống Private Cloud cho các ứng dụng đào tạo và ...
 Nghiên cứu và triển khai hệ thống Private Cloud cho các ứng dụng đào tạo và ... Nghiên cứu và triển khai hệ thống Private Cloud cho các ứng dụng đào tạo và ...
Nghiên cứu và triển khai hệ thống Private Cloud cho các ứng dụng đào tạo và ...hieu anh
 
trojan horse- malware(virus)
trojan horse- malware(virus)trojan horse- malware(virus)
trojan horse- malware(virus)NamanKikani
 

What's hot (20)

Bài giảng ký thuật theo dõi giám sát mạng PTIT
Bài giảng ký thuật theo dõi giám sát mạng PTITBài giảng ký thuật theo dõi giám sát mạng PTIT
Bài giảng ký thuật theo dõi giám sát mạng PTIT
 
Đề tài: Nghiên cứu kỹ thuật tấn công mạng LAN và giải pháp, HAY
Đề tài: Nghiên cứu kỹ thuật tấn công mạng LAN và giải pháp, HAYĐề tài: Nghiên cứu kỹ thuật tấn công mạng LAN và giải pháp, HAY
Đề tài: Nghiên cứu kỹ thuật tấn công mạng LAN và giải pháp, HAY
 
Xây dựng hệ thống mạng cho Công Ty Cổ Phần Trường Tân trên nền tảng server 2008
Xây dựng hệ thống mạng cho Công Ty Cổ Phần Trường Tân trên nền tảng server 2008Xây dựng hệ thống mạng cho Công Ty Cổ Phần Trường Tân trên nền tảng server 2008
Xây dựng hệ thống mạng cho Công Ty Cổ Phần Trường Tân trên nền tảng server 2008
 
Live data collection_from_windows_system
Live data collection_from_windows_systemLive data collection_from_windows_system
Live data collection_from_windows_system
 
Introduction to filesystems and computer forensics
Introduction to filesystems and computer forensicsIntroduction to filesystems and computer forensics
Introduction to filesystems and computer forensics
 
Input output in linux
Input output in linuxInput output in linux
Input output in linux
 
Rà soát Malware bằng SysInternal Suite
Rà soát Malware bằng SysInternal SuiteRà soát Malware bằng SysInternal Suite
Rà soát Malware bằng SysInternal Suite
 
Đồ án Xây dựng hệ thống bảo mật mạng VPN/IPSEC
Đồ án Xây dựng hệ thống bảo mật mạng VPN/IPSECĐồ án Xây dựng hệ thống bảo mật mạng VPN/IPSEC
Đồ án Xây dựng hệ thống bảo mật mạng VPN/IPSEC
 
ATP adminitrasi sistem jaringan.docx
ATP adminitrasi sistem jaringan.docxATP adminitrasi sistem jaringan.docx
ATP adminitrasi sistem jaringan.docx
 
Internet-of-things.pptx
Internet-of-things.pptxInternet-of-things.pptx
Internet-of-things.pptx
 
Multimedia software hardware
Multimedia software hardwareMultimedia software hardware
Multimedia software hardware
 
Cloud Computing Standards and Use Cases (Robert Grossman) 09-v8p
Cloud Computing Standards and Use Cases (Robert Grossman) 09-v8pCloud Computing Standards and Use Cases (Robert Grossman) 09-v8p
Cloud Computing Standards and Use Cases (Robert Grossman) 09-v8p
 
Lập trình phân tích bắt gói tin mạng bằng Python
Lập trình phân tích bắt gói tin mạng bằng PythonLập trình phân tích bắt gói tin mạng bằng Python
Lập trình phân tích bắt gói tin mạng bằng Python
 
Keamanan Jaringan Komputer
Keamanan Jaringan KomputerKeamanan Jaringan Komputer
Keamanan Jaringan Komputer
 
DATA RECOVERY TECHNIQUES
DATA RECOVERY TECHNIQUESDATA RECOVERY TECHNIQUES
DATA RECOVERY TECHNIQUES
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Luận văn: Nhận dạng cảm xúc khuôn mặt người, HAY, 9đ
Luận văn: Nhận dạng cảm xúc khuôn mặt người, HAY, 9đLuận văn: Nhận dạng cảm xúc khuôn mặt người, HAY, 9đ
Luận văn: Nhận dạng cảm xúc khuôn mặt người, HAY, 9đ
 
Nghiên cứu và triển khai hệ thống Private Cloud cho các ứng dụng đào tạo và ...
 Nghiên cứu và triển khai hệ thống Private Cloud cho các ứng dụng đào tạo và ... Nghiên cứu và triển khai hệ thống Private Cloud cho các ứng dụng đào tạo và ...
Nghiên cứu và triển khai hệ thống Private Cloud cho các ứng dụng đào tạo và ...
 
trojan horse- malware(virus)
trojan horse- malware(virus)trojan horse- malware(virus)
trojan horse- malware(virus)
 
Windows File Systems
Windows File SystemsWindows File Systems
Windows File Systems
 

Viewers also liked

Chapter 8 distributed file systems
Chapter 8 distributed file systemsChapter 8 distributed file systems
Chapter 8 distributed file systemsAbDul ThaYyal
 
Chapter 17 - Distributed File Systems
Chapter 17 - Distributed File SystemsChapter 17 - Distributed File Systems
Chapter 17 - Distributed File SystemsWayne Jones Jnr
 
Chapter 1 characterisation of distributed systems
Chapter 1 characterisation of distributed systemsChapter 1 characterisation of distributed systems
Chapter 1 characterisation of distributed systemsAbDul ThaYyal
 
Report-An Expert System for Car Failure Diagnosis-Report
Report-An Expert System for Car Failure Diagnosis-ReportReport-An Expert System for Car Failure Diagnosis-Report
Report-An Expert System for Car Failure Diagnosis-ReportViralkumar Jayswal
 
Chapter 1 slides
Chapter 1 slidesChapter 1 slides
Chapter 1 slidessoe sumijan
 
file sharing semantics by Umar Danjuma Maiwada
file sharing semantics by Umar Danjuma Maiwada file sharing semantics by Umar Danjuma Maiwada
file sharing semantics by Umar Danjuma Maiwada umardanjumamaiwada
 
Chapter 3 slides (Distributed Systems)
Chapter 3 slides (Distributed Systems)Chapter 3 slides (Distributed Systems)
Chapter 3 slides (Distributed Systems)soe sumijan
 
Chapter 2 system models
Chapter 2 system modelsChapter 2 system models
Chapter 2 system modelsAbDul ThaYyal
 
NETWORK FILE SYSTEM
NETWORK FILE SYSTEMNETWORK FILE SYSTEM
NETWORK FILE SYSTEMRoshan Kumar
 
Chapter 3 networking and internetworking
Chapter 3 networking and internetworkingChapter 3 networking and internetworking
Chapter 3 networking and internetworkingAbDul ThaYyal
 
Chapter 4 a interprocess communication
Chapter 4 a interprocess communicationChapter 4 a interprocess communication
Chapter 4 a interprocess communicationAbDul ThaYyal
 
Introduction to distributed file systems
Introduction to distributed file systemsIntroduction to distributed file systems
Introduction to distributed file systemsViet-Trung TRAN
 

Viewers also liked (20)

Chapter 8 distributed file systems
Chapter 8 distributed file systemsChapter 8 distributed file systems
Chapter 8 distributed file systems
 
Chapter 17 - Distributed File Systems
Chapter 17 - Distributed File SystemsChapter 17 - Distributed File Systems
Chapter 17 - Distributed File Systems
 
Chapter 11b
Chapter 11bChapter 11b
Chapter 11b
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Chapter 1 characterisation of distributed systems
Chapter 1 characterisation of distributed systemsChapter 1 characterisation of distributed systems
Chapter 1 characterisation of distributed systems
 
Report-An Expert System for Car Failure Diagnosis-Report
Report-An Expert System for Car Failure Diagnosis-ReportReport-An Expert System for Car Failure Diagnosis-Report
Report-An Expert System for Car Failure Diagnosis-Report
 
Chapter 1 slides
Chapter 1 slidesChapter 1 slides
Chapter 1 slides
 
file sharing semantics by Umar Danjuma Maiwada
file sharing semantics by Umar Danjuma Maiwada file sharing semantics by Umar Danjuma Maiwada
file sharing semantics by Umar Danjuma Maiwada
 
Chapter 3 slides (Distributed Systems)
Chapter 3 slides (Distributed Systems)Chapter 3 slides (Distributed Systems)
Chapter 3 slides (Distributed Systems)
 
Chapter 9 names
Chapter 9 namesChapter 9 names
Chapter 9 names
 
2. microkernel new
2. microkernel new2. microkernel new
2. microkernel new
 
Chapter 6 os
Chapter 6 osChapter 6 os
Chapter 6 os
 
Chapter 17 corba
Chapter 17 corbaChapter 17 corba
Chapter 17 corba
 
Chapter 1 slides
Chapter 1 slidesChapter 1 slides
Chapter 1 slides
 
3. challenges
3. challenges3. challenges
3. challenges
 
Chapter 2 system models
Chapter 2 system modelsChapter 2 system models
Chapter 2 system models
 
NETWORK FILE SYSTEM
NETWORK FILE SYSTEMNETWORK FILE SYSTEM
NETWORK FILE SYSTEM
 
Chapter 3 networking and internetworking
Chapter 3 networking and internetworkingChapter 3 networking and internetworking
Chapter 3 networking and internetworking
 
Chapter 4 a interprocess communication
Chapter 4 a interprocess communicationChapter 4 a interprocess communication
Chapter 4 a interprocess communication
 
Introduction to distributed file systems
Introduction to distributed file systemsIntroduction to distributed file systems
Introduction to distributed file systems
 

Similar to DFS Architecture and Operations

Unit 3.1 cs6601 Distributed File System
Unit 3.1 cs6601 Distributed File SystemUnit 3.1 cs6601 Distributed File System
Unit 3.1 cs6601 Distributed File SystemNandakumar P
 
Distributed file system
Distributed file systemDistributed file system
Distributed file systemJanani S
 
3. distributed file system requirements
3. distributed file system requirements3. distributed file system requirements
3. distributed file system requirementsAbDul ThaYyal
 
File Management in Operating System
File Management in Operating SystemFile Management in Operating System
File Management in Operating SystemJanki Shah
 
File Service Architecture
File Service ArchitectureFile Service Architecture
File Service ArchitectureAshish KC
 
File system in operating system e learning
File system in operating system e learningFile system in operating system e learning
File system in operating system e learningLavanya Sharma
 
AliEnFS - A Linux File System For The AliEn Grid Services
AliEnFS - A Linux File System For The AliEn Grid ServicesAliEnFS - A Linux File System For The AliEn Grid Services
AliEnFS - A Linux File System For The AliEn Grid ServicesNathan Mathis
 
Distributed System by Pratik Tambekar
Distributed System by Pratik TambekarDistributed System by Pratik Tambekar
Distributed System by Pratik TambekarPratik Tambekar
 
Computer Software - Lecture D
Computer Software - Lecture DComputer Software - Lecture D
Computer Software - Lecture DCMDLearning
 

Similar to DFS Architecture and Operations (20)

Unit 3.1 cs6601 Distributed File System
Unit 3.1 cs6601 Distributed File SystemUnit 3.1 cs6601 Distributed File System
Unit 3.1 cs6601 Distributed File System
 
DFSNov1.pptx
DFSNov1.pptxDFSNov1.pptx
DFSNov1.pptx
 
Ranjitbanshpal
RanjitbanshpalRanjitbanshpal
Ranjitbanshpal
 
Distributed file system
Distributed file systemDistributed file system
Distributed file system
 
3. distributed file system requirements
3. distributed file system requirements3. distributed file system requirements
3. distributed file system requirements
 
File Management in Operating System
File Management in Operating SystemFile Management in Operating System
File Management in Operating System
 
Dos unit 4
Dos unit 4Dos unit 4
Dos unit 4
 
File Service Architecture
File Service ArchitectureFile Service Architecture
File Service Architecture
 
File Systems
File SystemsFile Systems
File Systems
 
File System operating system operating system
File System  operating system operating systemFile System  operating system operating system
File System operating system operating system
 
File system
File systemFile system
File system
 
Intake 37 11
Intake 37 11Intake 37 11
Intake 37 11
 
File management
File managementFile management
File management
 
C# File IO Operations
C# File IO OperationsC# File IO Operations
C# File IO Operations
 
File system in operating system e learning
File system in operating system e learningFile system in operating system e learning
File system in operating system e learning
 
File structure
File structureFile structure
File structure
 
AliEnFS - A Linux File System For The AliEn Grid Services
AliEnFS - A Linux File System For The AliEn Grid ServicesAliEnFS - A Linux File System For The AliEn Grid Services
AliEnFS - A Linux File System For The AliEn Grid Services
 
Distributed System by Pratik Tambekar
Distributed System by Pratik TambekarDistributed System by Pratik Tambekar
Distributed System by Pratik Tambekar
 
Intake 38 10
Intake 38 10Intake 38 10
Intake 38 10
 
Computer Software - Lecture D
Computer Software - Lecture DComputer Software - Lecture D
Computer Software - Lecture D
 

More from AbDul ThaYyal

Chapter 15 distributed mm systems
Chapter 15 distributed mm systemsChapter 15 distributed mm systems
Chapter 15 distributed mm systemsAbDul ThaYyal
 
Chapter 14 replication
Chapter 14 replicationChapter 14 replication
Chapter 14 replicationAbDul ThaYyal
 
Chapter 12 transactions and concurrency control
Chapter 12 transactions and concurrency controlChapter 12 transactions and concurrency control
Chapter 12 transactions and concurrency controlAbDul ThaYyal
 
Chapter 11d coordination agreement
Chapter 11d coordination agreementChapter 11d coordination agreement
Chapter 11d coordination agreementAbDul ThaYyal
 
Chapter 11c coordination agreement
Chapter 11c coordination agreementChapter 11c coordination agreement
Chapter 11c coordination agreementAbDul ThaYyal
 
4. concurrency control
4. concurrency control4. concurrency control
4. concurrency controlAbDul ThaYyal
 

More from AbDul ThaYyal (11)

Chapter 15 distributed mm systems
Chapter 15 distributed mm systemsChapter 15 distributed mm systems
Chapter 15 distributed mm systems
 
Chapter 14 replication
Chapter 14 replicationChapter 14 replication
Chapter 14 replication
 
Chapter 13
Chapter 13Chapter 13
Chapter 13
 
Chapter 12 transactions and concurrency control
Chapter 12 transactions and concurrency controlChapter 12 transactions and concurrency control
Chapter 12 transactions and concurrency control
 
Chapter 11d coordination agreement
Chapter 11d coordination agreementChapter 11d coordination agreement
Chapter 11d coordination agreement
 
Chapter 11c coordination agreement
Chapter 11c coordination agreementChapter 11c coordination agreement
Chapter 11c coordination agreement
 
Chapter 11
Chapter 11Chapter 11
Chapter 11
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Chapter 7 security
Chapter 7 securityChapter 7 security
Chapter 7 security
 
4. system models
4. system models4. system models
4. system models
 
4. concurrency control
4. concurrency control4. concurrency control
4. concurrency control
 

DFS Architecture and Operations

  • 2. DISTRIBUTED FILE SYSTEMS • Including 1.Introduction 2.File Service Architecture 3.Case Study: Sun NFS
  • 3. 1. Introduction 1. Characteristics of file system 2. Distributed File system requirements
  • 4. 2. File service architecture  providing access to files is obtained by structuring the file service as three components: 1. Flat file service 2. Directory service 3. Client module.  The relevant modules and their relationship is shown in Figure
  • 5. File Service Architecture Client computer Server computer Application program Application program Client module Directory service Flat file service Lookup AddName UnName GetNames Read Write Create Delete GetAttributes SetAttributes * Figure 8.5
  • 6. • Responsibilities of various modules can be defined as follows:
  • 7. 1. Flat file service • Concerned with the implementation of operations on the contents of file. • Unique File Identifiers (UFIDs) are used to refer to files in all requests for flat file service operations.
  • 8. Flat file service operations 1. Read 2. Write 3. Create 4. Delete 5. GetAttributes 6. SetAttributes
  • 9. 1. Read(FileId, i, n) : Reads a sequence of up to n items from a file starting at item i.
  • 10. 2. Write(FileId, i, Data) : Write a sequence of Data to a file, starting at item i.
  • 11. 3. Create() : Creates a new file of length0 and delivers a UFID for it.
  • 12. 4. Delete(FileId) :Removes the file from the file store. 5. GetAttributes(FileId) : Returns the file attributes for the file. 6. SetAttributes(FileId, Attr) :Sets the file attributes.
  • 13. 2. Directory service • Provides mapping between text names for the files and their UFIDs. • Clients may obtain the UFID of a file by quoting its text name to directory service. • Directory service supports functions to add new files to directories.
  • 14. Directory service operations 1. Lookup 2. AddName 3. UnName 4. GetNames
  • 15. Directory service operations 1. Lookup(Dir, Name) : Locates the text name in the directory and returns the relevant UFID. If Name is not in the directory, throws an exception.
  • 16. 2. AddName(Dir, Name, File) :If Name is not in the directory, adds(Name,File) to the directory and updates the file’s attribute record. • If Name is already in the directory: throws an exception.
  • 17. 3. UnName(Dir, Name) :If Name is in the directory, the entry containing Name is removed from the directory. • If Name is not in the directory: throws an exception.
  • 18. 4. GetNames(Dir, Pattern):Returns all the text names in the directory that match the regular expression Pattern.
  • 19. 3. Client module • It runs on each computer and provides integrated service (flat file and directory) as a single API to application programs. • It holds information about the network locations of flat-file and directory server processes.
  • 20. Access control • In distributed implementations, access rights checks have to be performed at the server .
  • 21. Hierarchic file system • A hierarchic file system consists of a number of directories arranged in a tree structure.
  • 22. File Group • A file group is a collection of files that can be located on any server.

Editor's Notes

  1. Popup shows names of the file and directory operations. If the Unix file primitives are mapped directly onto file server operations, it is impossible to support many of the requirements outlined on the previous slide. Instead, the file service is implemented in part by a module that runs in the the client computer. The Client module implements nearly all of the state-dependent funtionality (open files, position of read-write pointer, etc.)- supporting fault tolerance - and it maintains a cache of recently-used file data - efficiency, limited replication and scalability. It also translates the file operations performed by applications into the API of the file server - transparency and heterogeneity. It supplies authentication information and performs encryption when necessary, but access control checks must be made by the server.