SlideShare una empresa de Scribd logo
1 de 16
1
DISTRIBUTED FILE SYSTEMS
Dept. of Computer Science & Engineering
2013-2014
Presented By:
RANJIT R. BANSHPAL
1
G.H. Raisoni College of Engineering Nagpur
1
Topics
 Introduction
 File Service Architecture
 DFS: Case Studies
 Case Study: Sun NFS
 Case Study: The Andrew File System
Introduction
 File system were originally developed for
centralized computer systems and desktop
computers.
 File system was as an operating system facility
providing a convenient programming interface to
disk storage.
 Distributed file systems support the sharing of
information in the form of files and hardware
resources.
 With the advent of distributed object systems
(CORBA, Java) and the web, the picture has
become more complex.
Figure 1 provides an overview of types of storage system.
Figure 1. Storage systems and their
properties
Figure 2 shows a typical layered module structure for the
implementation of a non-distributed file system in a conventional
operating system.
Figure 2. File system modules
File systems are responsible for the organization,
storage,retrieval, naming, sharing and protection of files.
Files contain both data and attributes.
A typical attribute record structure is illustrated in Figure
3.
Figure 3. File attribute record structure
 Distributed File system requirements
 Related requirements in distributed file systems
are:
 Transparency
 Concurrency
 Replication
 Heterogeneity
 Fault tolerance
 Consistency
 Security
 Efficiency
File Service Architecture
 An architecture that offers a clear separation of
the main concerns in providing access to files is
obtained by structuring the file service as three
components:
 A flat file service
 A directory service
 A client module.
 The relevant modules and their relationship is
shown in Figure 5.
File Service Architecture
Figure 5. File service architecture
File Service Architecture
 The Client module implements exported
interfaces by flat file and directory services on
server side.
 Responsibilities of various modules can be
defined as follows:
 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. UFIDs are long
sequences of bits chosen so that each file has a
unique among all of the files in a distributed
system.
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 needed
generate directories, to add new files to directories.
Client module:
 It runs on each computer and provides integrated
service (flat file and directory) as a single API to
application programs. For example, in UNIX hosts, a
client module emulates the full set of Unix file
operations.
 It holds information about the network locations of
flat-file and directory server processes; and achieve
better performance through implementation of a
cache of recently used file blocks at the client.
DFS: Case Studies
 NFS (Network File System)
 Developed by Sun Microsystems (in 1985)
 Most popular, open, and widely used.
 NFS protocol standardized through IETF (RFC 1813)
 AFS (Andrew File System)
 Developed by Carnegie Mellon University as part of Andrew
distributed computing environments (in 1986)
 A research project to create campus wide file system.
 Public domain implementation is available on Linux
(LinuxAFS)
 It was adopted as a basis for the DCE/DFS file system in
the Open Software Foundation (OSF, www.opengroup.org)
DEC (Distributed Computing Environment
Case Study: Sun NFS
 The file identifiers used in NFS are called file
handles.
 NFS access control and authentication
 The NFS server is stateless server, so the user's
identity and access rights must be checked by the
server on each request.
 In the local file system they are checked only on the
file’s access permission attribute.
 Every client request is accompanied by the userID
and groupID
 It is not shown in the Figure 8.9 because they are
inserted by the RPC system.
 Kerberos has been integrated with NFS to provide
a stronger and more comprehensive security
solution.
 Mount service
 Mount operation:
mount(remotehost, remotedirectory, localdirectory)
 Server maintains a table of clients who have
mounted filesystems at that server.
 Each client maintains a table of mounted file
systems holding:
< IP address, port number, file handle>
 Remote file systems may be hard-mounted or
soft-mounted in a client computer.
 Figure 10 illustrates a Client with two remotely
mounted file stores.
 NFS summary
 NFS is an excellent example of a simple, robust, high-performance distributed
service.
 Achievement of transparencies are other goals of NFS:
 Access transparency:
– The API is the UNIX system call interface for both local and
remote files.
 Location transparency:
– Naming of filesystems is controlled by client mount operations, but
transparency can be ensured by an appropriate system
configuration.
 Mobility transparency:
– Hardly achieved; relocation of files is not possible, relocation of
filesystems is possible, but requires updates to client
configurations.
 Scalability transparency:
– File systems (file groups) may be subdivided and allocated to
separate servers.
Ultimately, the performance limit is determined by the load on the
server holding the most heavily-used filesystem (file group).

Más contenido relacionado

La actualidad más candente

Hadoop Distributed File System
Hadoop Distributed File SystemHadoop Distributed File System
Hadoop Distributed File SystemMilad Sobhkhiz
 
Chapter 10 - File System Interface
Chapter 10 - File System InterfaceChapter 10 - File System Interface
Chapter 10 - File System InterfaceWayne Jones Jnr
 
Distribution File System DFS Technologies
Distribution File System DFS TechnologiesDistribution File System DFS Technologies
Distribution File System DFS TechnologiesRaphael Ejike
 
Distributed File System
Distributed File SystemDistributed File System
Distributed File SystemNtu
 
Distributed file system
Distributed file systemDistributed file system
Distributed file systemNaza hamed Jan
 
Distributed Filesystems Review
Distributed Filesystems ReviewDistributed Filesystems Review
Distributed Filesystems ReviewSchubert Zhang
 
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
 
Unit ivos - file systems
Unit ivos - file systemsUnit ivos - file systems
Unit ivos - file systemsdonny101
 
Distributed File Systems
Distributed File SystemsDistributed File Systems
Distributed File Systemsawesomesos
 
Introduction to distributed file systems
Introduction to distributed file systemsIntroduction to distributed file systems
Introduction to distributed file systemsViet-Trung TRAN
 
ITFT_File system interface in Operating System
ITFT_File system interface in Operating SystemITFT_File system interface in Operating System
ITFT_File system interface in Operating SystemSneh Prabha
 
Ds
DsDs
DsHDRS
 

La actualidad más candente (18)

Hadoop Distributed File System
Hadoop Distributed File SystemHadoop Distributed File System
Hadoop Distributed File System
 
Distributed file systems dfs
Distributed file systems   dfsDistributed file systems   dfs
Distributed file systems dfs
 
File system implementation
File system implementationFile system implementation
File system implementation
 
Chapter 10 - File System Interface
Chapter 10 - File System InterfaceChapter 10 - File System Interface
Chapter 10 - File System Interface
 
Distribution File System DFS Technologies
Distribution File System DFS TechnologiesDistribution File System DFS Technologies
Distribution File System DFS Technologies
 
Distributed File System
Distributed File SystemDistributed File System
Distributed File System
 
Distributed file system
Distributed file systemDistributed file system
Distributed file system
 
Distributed Filesystems Review
Distributed Filesystems ReviewDistributed Filesystems Review
Distributed Filesystems Review
 
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
 
Unit ivos - file systems
Unit ivos - file systemsUnit ivos - file systems
Unit ivos - file systems
 
OSCh11
OSCh11OSCh11
OSCh11
 
Distributed File Systems
Distributed File SystemsDistributed File Systems
Distributed File Systems
 
Introduction to distributed file systems
Introduction to distributed file systemsIntroduction to distributed file systems
Introduction to distributed file systems
 
12. dfs
12. dfs12. dfs
12. dfs
 
ITFT_File system interface in Operating System
ITFT_File system interface in Operating SystemITFT_File system interface in Operating System
ITFT_File system interface in Operating System
 
10 File System
10 File System10 File System
10 File System
 
Ds
DsDs
Ds
 
File Systems
File SystemsFile Systems
File Systems
 

Similar a Distributed File Systems: NFS and AFS

Chapter 8 distributed file systems
Chapter 8 distributed file systemsChapter 8 distributed file systems
Chapter 8 distributed file systemsAbDul ThaYyal
 
Presentation on nfs,afs,vfs
Presentation on nfs,afs,vfsPresentation on nfs,afs,vfs
Presentation on nfs,afs,vfsPrakriti Dubey
 
Case Study - SUN NFS
Case Study - SUN NFSCase Study - SUN NFS
Case Study - SUN NFSAshish KC
 
DFS PPT.pptx
DFS PPT.pptxDFS PPT.pptx
DFS PPT.pptxVMahesh5
 
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
 
What Is DFS In Windows Server 2016 2.pdf
What Is DFS In Windows Server 2016 2.pdfWhat Is DFS In Windows Server 2016 2.pdf
What Is DFS In Windows Server 2016 2.pdfEIHEducation
 
Microsoft's distributed file system
Microsoft's distributed file systemMicrosoft's distributed file system
Microsoft's distributed file systemSimranSharma215
 
What Is DFS In Windows Server 2016.pdf
What Is DFS In Windows Server 2016.pdfWhat Is DFS In Windows Server 2016.pdf
What Is DFS In Windows Server 2016.pdfEIHEducation
 
What Is DFS In Windows Server 2016 1.pdf
What Is DFS In Windows Server 2016 1.pdfWhat Is DFS In Windows Server 2016 1.pdf
What Is DFS In Windows Server 2016 1.pdfEIHEducation
 
Ch12 OS
Ch12 OSCh12 OS
Ch12 OSC.U
 

Similar a Distributed File Systems: NFS and AFS (20)

Chapter 8 distributed file systems
Chapter 8 distributed file systemsChapter 8 distributed file systems
Chapter 8 distributed file systems
 
Presentation on nfs,afs,vfs
Presentation on nfs,afs,vfsPresentation on nfs,afs,vfs
Presentation on nfs,afs,vfs
 
Dos unit 4
Dos unit 4Dos unit 4
Dos unit 4
 
DFSNov1.pptx
DFSNov1.pptxDFSNov1.pptx
DFSNov1.pptx
 
Case Study - SUN NFS
Case Study - SUN NFSCase Study - SUN NFS
Case Study - SUN NFS
 
Nfs
NfsNfs
Nfs
 
Distributed File Systems
Distributed File SystemsDistributed File Systems
Distributed File Systems
 
DFS PPT.pptx
DFS PPT.pptxDFS PPT.pptx
DFS PPT.pptx
 
Gt3112931298
Gt3112931298Gt3112931298
Gt3112931298
 
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
 
Chapter-5-DFS.ppt
Chapter-5-DFS.pptChapter-5-DFS.ppt
Chapter-5-DFS.ppt
 
What Is DFS In Windows Server 2016 2.pdf
What Is DFS In Windows Server 2016 2.pdfWhat Is DFS In Windows Server 2016 2.pdf
What Is DFS In Windows Server 2016 2.pdf
 
Microsoft's distributed file system
Microsoft's distributed file systemMicrosoft's distributed file system
Microsoft's distributed file system
 
Nfs
NfsNfs
Nfs
 
Sun NFS , Case study
Sun NFS , Case study Sun NFS , Case study
Sun NFS , Case study
 
What Is DFS In Windows Server 2016.pdf
What Is DFS In Windows Server 2016.pdfWhat Is DFS In Windows Server 2016.pdf
What Is DFS In Windows Server 2016.pdf
 
Nfs1
Nfs1Nfs1
Nfs1
 
What Is DFS In Windows Server 2016 1.pdf
What Is DFS In Windows Server 2016 1.pdfWhat Is DFS In Windows Server 2016 1.pdf
What Is DFS In Windows Server 2016 1.pdf
 
OSCh12
OSCh12OSCh12
OSCh12
 
Ch12 OS
Ch12 OSCh12 OS
Ch12 OS
 

Más de ranjit banshpal

Designing Hybrid Cryptosystem for Secure Transmission of Image Data using Bio...
Designing Hybrid Cryptosystem for Secure Transmission of Image Data using Bio...Designing Hybrid Cryptosystem for Secure Transmission of Image Data using Bio...
Designing Hybrid Cryptosystem for Secure Transmission of Image Data using Bio...ranjit banshpal
 
SECURE IMAGE RETRIEVAL BASED ON HYBRID FEATURES AND HASHES
SECURE IMAGE RETRIEVAL BASED ON HYBRID FEATURES AND HASHESSECURE IMAGE RETRIEVAL BASED ON HYBRID FEATURES AND HASHES
SECURE IMAGE RETRIEVAL BASED ON HYBRID FEATURES AND HASHESranjit banshpal
 
Secure Image Retrieval based on Hybrid Features and Hashes
Secure Image Retrieval based on Hybrid Features and HashesSecure Image Retrieval based on Hybrid Features and Hashes
Secure Image Retrieval based on Hybrid Features and Hashesranjit banshpal
 
Data mining technique for classification and feature evaluation using stream ...
Data mining technique for classification and feature evaluation using stream ...Data mining technique for classification and feature evaluation using stream ...
Data mining technique for classification and feature evaluation using stream ...ranjit banshpal
 
Parallelization using open mp
Parallelization using open mpParallelization using open mp
Parallelization using open mpranjit banshpal
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technologyranjit banshpal
 
using big-data methods analyse the Cross platform aviation
 using big-data methods analyse the Cross platform aviation using big-data methods analyse the Cross platform aviation
using big-data methods analyse the Cross platform aviationranjit banshpal
 
E mail image spam filtering techniques
E mail image spam filtering techniquesE mail image spam filtering techniques
E mail image spam filtering techniquesranjit banshpal
 

Más de ranjit banshpal (15)

Designing Hybrid Cryptosystem for Secure Transmission of Image Data using Bio...
Designing Hybrid Cryptosystem for Secure Transmission of Image Data using Bio...Designing Hybrid Cryptosystem for Secure Transmission of Image Data using Bio...
Designing Hybrid Cryptosystem for Secure Transmission of Image Data using Bio...
 
SECURE IMAGE RETRIEVAL BASED ON HYBRID FEATURES AND HASHES
SECURE IMAGE RETRIEVAL BASED ON HYBRID FEATURES AND HASHESSECURE IMAGE RETRIEVAL BASED ON HYBRID FEATURES AND HASHES
SECURE IMAGE RETRIEVAL BASED ON HYBRID FEATURES AND HASHES
 
Secure Image Retrieval based on Hybrid Features and Hashes
Secure Image Retrieval based on Hybrid Features and HashesSecure Image Retrieval based on Hybrid Features and Hashes
Secure Image Retrieval based on Hybrid Features and Hashes
 
LCT in day2 day life
LCT in day2 day lifeLCT in day2 day life
LCT in day2 day life
 
Fingerprint recognition
Fingerprint recognitionFingerprint recognition
Fingerprint recognition
 
“Web crawler”
“Web crawler”“Web crawler”
“Web crawler”
 
Data mining technique for classification and feature evaluation using stream ...
Data mining technique for classification and feature evaluation using stream ...Data mining technique for classification and feature evaluation using stream ...
Data mining technique for classification and feature evaluation using stream ...
 
Parallelization using open mp
Parallelization using open mpParallelization using open mp
Parallelization using open mp
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technology
 
using big-data methods analyse the Cross platform aviation
 using big-data methods analyse the Cross platform aviation using big-data methods analyse the Cross platform aviation
using big-data methods analyse the Cross platform aviation
 
E mail image spam filtering techniques
E mail image spam filtering techniquesE mail image spam filtering techniques
E mail image spam filtering techniques
 
Hybrid encryption
Hybrid encryption Hybrid encryption
Hybrid encryption
 
Autocorrelators1
Autocorrelators1Autocorrelators1
Autocorrelators1
 
Static Networks
Static NetworksStatic Networks
Static Networks
 
Ranjitbanshpal1
Ranjitbanshpal1Ranjitbanshpal1
Ranjitbanshpal1
 

Último

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 

Último (20)

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 

Distributed File Systems: NFS and AFS

  • 1. 1 DISTRIBUTED FILE SYSTEMS Dept. of Computer Science & Engineering 2013-2014 Presented By: RANJIT R. BANSHPAL 1 G.H. Raisoni College of Engineering Nagpur 1
  • 2. Topics  Introduction  File Service Architecture  DFS: Case Studies  Case Study: Sun NFS  Case Study: The Andrew File System
  • 3. Introduction  File system were originally developed for centralized computer systems and desktop computers.  File system was as an operating system facility providing a convenient programming interface to disk storage.  Distributed file systems support the sharing of information in the form of files and hardware resources.  With the advent of distributed object systems (CORBA, Java) and the web, the picture has become more complex.
  • 4. Figure 1 provides an overview of types of storage system. Figure 1. Storage systems and their properties
  • 5. Figure 2 shows a typical layered module structure for the implementation of a non-distributed file system in a conventional operating system. Figure 2. File system modules
  • 6. File systems are responsible for the organization, storage,retrieval, naming, sharing and protection of files. Files contain both data and attributes. A typical attribute record structure is illustrated in Figure 3. Figure 3. File attribute record structure
  • 7.  Distributed File system requirements  Related requirements in distributed file systems are:  Transparency  Concurrency  Replication  Heterogeneity  Fault tolerance  Consistency  Security  Efficiency
  • 8. File Service Architecture  An architecture that offers a clear separation of the main concerns in providing access to files is obtained by structuring the file service as three components:  A flat file service  A directory service  A client module.  The relevant modules and their relationship is shown in Figure 5.
  • 9. File Service Architecture Figure 5. File service architecture
  • 10. File Service Architecture  The Client module implements exported interfaces by flat file and directory services on server side.  Responsibilities of various modules can be defined as follows:  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. UFIDs are long sequences of bits chosen so that each file has a unique among all of the files in a distributed system.
  • 11. 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 needed generate directories, to add new files to directories. Client module:  It runs on each computer and provides integrated service (flat file and directory) as a single API to application programs. For example, in UNIX hosts, a client module emulates the full set of Unix file operations.  It holds information about the network locations of flat-file and directory server processes; and achieve better performance through implementation of a cache of recently used file blocks at the client.
  • 12. DFS: Case Studies  NFS (Network File System)  Developed by Sun Microsystems (in 1985)  Most popular, open, and widely used.  NFS protocol standardized through IETF (RFC 1813)  AFS (Andrew File System)  Developed by Carnegie Mellon University as part of Andrew distributed computing environments (in 1986)  A research project to create campus wide file system.  Public domain implementation is available on Linux (LinuxAFS)  It was adopted as a basis for the DCE/DFS file system in the Open Software Foundation (OSF, www.opengroup.org) DEC (Distributed Computing Environment
  • 13. Case Study: Sun NFS  The file identifiers used in NFS are called file handles.
  • 14.  NFS access control and authentication  The NFS server is stateless server, so the user's identity and access rights must be checked by the server on each request.  In the local file system they are checked only on the file’s access permission attribute.  Every client request is accompanied by the userID and groupID  It is not shown in the Figure 8.9 because they are inserted by the RPC system.  Kerberos has been integrated with NFS to provide a stronger and more comprehensive security solution.
  • 15.  Mount service  Mount operation: mount(remotehost, remotedirectory, localdirectory)  Server maintains a table of clients who have mounted filesystems at that server.  Each client maintains a table of mounted file systems holding: < IP address, port number, file handle>  Remote file systems may be hard-mounted or soft-mounted in a client computer.  Figure 10 illustrates a Client with two remotely mounted file stores.
  • 16.  NFS summary  NFS is an excellent example of a simple, robust, high-performance distributed service.  Achievement of transparencies are other goals of NFS:  Access transparency: – The API is the UNIX system call interface for both local and remote files.  Location transparency: – Naming of filesystems is controlled by client mount operations, but transparency can be ensured by an appropriate system configuration.  Mobility transparency: – Hardly achieved; relocation of files is not possible, relocation of filesystems is possible, but requires updates to client configurations.  Scalability transparency: – File systems (file groups) may be subdivided and allocated to separate servers. Ultimately, the performance limit is determined by the load on the server holding the most heavily-used filesystem (file group).