SlideShare a Scribd company logo
1 of 44
NFS (Network File System) ,[object Object],[object Object],[object Object],[object Object],[object Object]
NFS (Network File System)
NFS (Network File System) ,[object Object],[object Object],[object Object],[object Object],[object Object]
NFS (Network File System) ,[object Object],[object Object],[object Object],[object Object]
NFS (Network File System) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
NFS (Network File System) ,[object Object],[object Object],[object Object],[object Object],[object Object]
NFS (Network File System) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
NFS (Network File System) ,[object Object],[object Object],[object Object],[object Object],[object Object]
NFS (Network File System) NO Create file CREATE NO Remove file REMOVE YES Fix server cache data to the disk COMMIT YES Check access  ACCESS YES Read from symbolic link READLINK YES Read file READ YES Write to the file WRITE NO Rename file RENAME YES File name search LOOKUP YES Set file attribute SETATTR YES Get file attribute GETATTR Idempotent Action RCP request
NFS (Network File System) YES Get FS static attribute FSINFO YES Get POSIX information PATHCONF YES Get FS dynamic attribute FSSTAT NO Crate directory MKDIR NO Remove directory RMDIR YES Read directory READDIR YES Extended directory read READDIRPLUS NO Create special node MKNOD NO Create symbolic link SYMLINK NO Create hard link LINK Idempotent Action RCP request
NFS (Network File System) ,[object Object],[object Object]
Virtual File System (1) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
VFS (2) ,[object Object],[object Object],[object Object],[object Object],[object Object],File system id I-node # I-node generation #
NFS (Network File System) ,[object Object],[object Object],[object Object]
NFS (Network File System) ,[object Object],[object Object],[object Object],[object Object],[object Object]
FreeBSD NFS implementation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
FreeBSD NFS implementation ,[object Object],[object Object],[object Object]
FreeBSD NFS implementation mount portmap mountd Client Server User level Kernel level 1 2 3 4
FreeBSD NFS implementation ,[object Object],[object Object],write() nfsiod nfsd User level Kernel level Client Server 1 2 3 5 4 disk
FreeBSD NFS implementation ,[object Object],[object Object],[object Object],[object Object]
FreeBSD NFS implementation ,[object Object],[object Object],[object Object],[object Object],[object Object]
FreeBSD NFS implementation ,[object Object],[object Object],[object Object],[object Object]
FreeBSD NFS implementation ,[object Object],[object Object],[object Object],[object Object]
FreeBSD NFS implementation ,[object Object],[object Object],[object Object],[object Object]
FreeBSD NFS implementation (read cache lease) Client A Client B Server Read req. + lease Answer Read sys. call Read sys. Call (from cache) Read req. (cache miss) Answer Lease timeout Read sys. call Lease expired Read lease req. Answer with same ctime ctime the same -  cache valid Read sys. Call (from cache) Lease timeout Read req. (cache miss) Answer Read cache lease  for client A Read req. + lease Read sys. call Read sys. call Lease timeout Answer Client B added to lease Read req. (cache miss) Answer Time
FreeBSD NFS implementation (write cache lease) Server Client B Write system call Write cached lease Write cached lease for client B Answer (write cache lease) Write system call (cached leaved records) Write cached lease req. before previous lease  expired. Get record  lease Lease update Answer (write cache lease) Lease timeout System call Lease expired record answer record answer Lease expiration Stopped for a  moment because of records Write_slack seconds After last records Time
FreeBSD NFS implementation (non-cache lease) Client A Server Client B Time Read sys. call req. Read req. + lease Read cache lease for A client answer Read req. (from cache) Read req. (miss cache) answer Lease timeout Read sys. call req. Lease request Answer (non-cache lease) Read sys. call req. (non-cache lease  mode) Read req. Read data Lease expired Write sys. call req. Get write cache lease  Answer (non-cache lease) Write sys. call (async write cached) Cleanup req.  Write cached  data to server record answer answer record Release msg.  Write sys. call req. Get write cache lease  record answer Synchronous  Writes wihout cache
FreeBSD NFS implementation ,[object Object],[object Object],[object Object],[object Object],[object Object]
Starting up NFS  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],rpcinfo -p localhost     program vers proto   port      100000    2   tcp    111  portmapper      100000    2   udp    111  portmapper      100005    1   udp    679  mountd      100005    1   tcp    681  mountd      100003    2   udp   2049   nfs      100003    2   tcp   2049   nfs
Exporting File System ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 
Local and remote file systems accessible on an NFS client mount   –t nfs  Server1:/ export/people   /usr /students mount –t nfs Server2:/ nfs/users   /usr/ staff
NFS  Transport protocol ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introducing SMB ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],To know more: Timothy D Evans,  NetBIOS, NetBEUI, NBF, NBT, NBIPX, SMB, CIFS Networking http:// timothydevans .me. uk /nbf2cifs/nbf2cifs. pdf TCP/IP NetBIOS SMB MS-RPC NT-Domain
Samba Services ,[object Object],[object Object],[object Object]
SMB Protocol ,[object Object],[object Object],[object Object],[object Object],[object Object]
SMB:  How does it work? ,[object Object],[object Object],[object Object],[object Object]
SMB Message ,[object Object],[object Object],[object Object]
Establishing a SMB Connection ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Security Levels ,[object Object],[object Object]
Background on AFS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
AFS: Neat Idea #1 (Whole File Caching) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
AFS: Neat Idea #2 (A Common View of the Global Namespace)
Recent Advances in Distributed File Systems ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

More Related Content

What's hot

network filesystem briefs
network filesystem briefsnetwork filesystem briefs
network filesystem briefsbergwolf
 
SUN Network File system - Design, Implementation and Experience
SUN Network File system - Design, Implementation and Experience SUN Network File system - Design, Implementation and Experience
SUN Network File system - Design, Implementation and Experience aniadkar
 
Nfs version 4 protocol presentation
Nfs version 4 protocol presentationNfs version 4 protocol presentation
Nfs version 4 protocol presentationAbu Osama
 
Linux System Administration - NFS Server
Linux System Administration - NFS ServerLinux System Administration - NFS Server
Linux System Administration - NFS ServerSreenatha Reddy K R
 
NFS(Network File System)
NFS(Network File System)NFS(Network File System)
NFS(Network File System)udamale
 
Presentation on nfs,afs,vfs
Presentation on nfs,afs,vfsPresentation on nfs,afs,vfs
Presentation on nfs,afs,vfsPrakriti Dubey
 
Meeting 9 nfs network file system
Meeting 9   nfs network file systemMeeting 9   nfs network file system
Meeting 9 nfs network file systemSyaiful Ahdan
 
Presentation on samba server
Presentation on samba serverPresentation on samba server
Presentation on samba serverVeeral Bhateja
 
Linux Based Network Proposal
Linux Based Network ProposalLinux Based Network Proposal
Linux Based Network ProposalChris Riccio
 
Ftp server linux
Ftp server linuxFtp server linux
Ftp server linuxPawan Kumar
 

What's hot (20)

Nfs
NfsNfs
Nfs
 
network filesystem briefs
network filesystem briefsnetwork filesystem briefs
network filesystem briefs
 
Nfs
NfsNfs
Nfs
 
Linux06 nfs
Linux06 nfsLinux06 nfs
Linux06 nfs
 
Nfs
NfsNfs
Nfs
 
SUN Network File system - Design, Implementation and Experience
SUN Network File system - Design, Implementation and Experience SUN Network File system - Design, Implementation and Experience
SUN Network File system - Design, Implementation and Experience
 
Nfs version 4 protocol presentation
Nfs version 4 protocol presentationNfs version 4 protocol presentation
Nfs version 4 protocol presentation
 
Linux System Administration - NFS Server
Linux System Administration - NFS ServerLinux System Administration - NFS Server
Linux System Administration - NFS Server
 
NFS(Network File System)
NFS(Network File System)NFS(Network File System)
NFS(Network File System)
 
Sun NFS , Case study
Sun NFS , Case study Sun NFS , Case study
Sun NFS , Case study
 
Nfs1
Nfs1Nfs1
Nfs1
 
Presentation on nfs,afs,vfs
Presentation on nfs,afs,vfsPresentation on nfs,afs,vfs
Presentation on nfs,afs,vfs
 
Meeting 9 nfs network file system
Meeting 9   nfs network file systemMeeting 9   nfs network file system
Meeting 9 nfs network file system
 
Presentation on samba server
Presentation on samba serverPresentation on samba server
Presentation on samba server
 
AFS introduction
AFS introductionAFS introduction
AFS introduction
 
Linux Based Network Proposal
Linux Based Network ProposalLinux Based Network Proposal
Linux Based Network Proposal
 
Ftp server linux
Ftp server linuxFtp server linux
Ftp server linux
 
File Sever
File SeverFile Sever
File Sever
 
Postfix
PostfixPostfix
Postfix
 
Linux commands
Linux commandsLinux commands
Linux commands
 

Similar to Nf Sp4

Dfs (Distributed computing)
Dfs (Distributed computing)Dfs (Distributed computing)
Dfs (Distributed computing)Sri Prasanna
 
Chapter 05
Chapter 05Chapter 05
Chapter 05cclay3
 
Network File System (NFS)
Network File System (NFS)Network File System (NFS)
Network File System (NFS)abdullah roomi
 
Network File System
Network File SystemNetwork File System
Network File SystemDivyang Oza
 
Chapter 06
Chapter 06Chapter 06
Chapter 06cclay3
 
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
 
Distributed File Systems
Distributed File SystemsDistributed File Systems
Distributed File Systemsawesomesos
 
RHCE (RED HAT CERTIFIED ENGINEERING)
RHCE (RED HAT CERTIFIED ENGINEERING)RHCE (RED HAT CERTIFIED ENGINEERING)
RHCE (RED HAT CERTIFIED ENGINEERING)Sumant Garg
 
Chapter 8 distributed file systems
Chapter 8 distributed file systemsChapter 8 distributed file systems
Chapter 8 distributed file systemsAbDul ThaYyal
 
Oracle database might have problems with stale NFSv3 locks upon restart
Oracle database might have problems with stale NFSv3 locks upon restartOracle database might have problems with stale NFSv3 locks upon restart
Oracle database might have problems with stale NFSv3 locks upon restartAshwin Pawar
 
Ch16 OS
Ch16 OSCh16 OS
Ch16 OSC.U
 

Similar to Nf Sp4 (20)

Ch18 system administration
Ch18 system administration Ch18 system administration
Ch18 system administration
 
Dfs (Distributed computing)
Dfs (Distributed computing)Dfs (Distributed computing)
Dfs (Distributed computing)
 
pNFS Introduction
pNFS IntroductionpNFS Introduction
pNFS Introduction
 
Chapter 05
Chapter 05Chapter 05
Chapter 05
 
Network File System (NFS)
Network File System (NFS)Network File System (NFS)
Network File System (NFS)
 
5.distributed file systems
5.distributed file systems5.distributed file systems
5.distributed file systems
 
Network File System
Network File SystemNetwork File System
Network File System
 
Chapter 06
Chapter 06Chapter 06
Chapter 06
 
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
 
Distributed File Systems
Distributed File SystemsDistributed File Systems
Distributed File Systems
 
RHCE (RED HAT CERTIFIED ENGINEERING)
RHCE (RED HAT CERTIFIED ENGINEERING)RHCE (RED HAT CERTIFIED ENGINEERING)
RHCE (RED HAT CERTIFIED ENGINEERING)
 
Chapter 8 distributed file systems
Chapter 8 distributed file systemsChapter 8 distributed file systems
Chapter 8 distributed file systems
 
nfs.ppt
nfs.pptnfs.ppt
nfs.ppt
 
nfs.ppt
nfs.pptnfs.ppt
nfs.ppt
 
Oracle database might have problems with stale NFSv3 locks upon restart
Oracle database might have problems with stale NFSv3 locks upon restartOracle database might have problems with stale NFSv3 locks upon restart
Oracle database might have problems with stale NFSv3 locks upon restart
 
Pnfs
PnfsPnfs
Pnfs
 
NFS.ppt
NFS.pptNFS.ppt
NFS.ppt
 
OSCh16
OSCh16OSCh16
OSCh16
 
Ch16 OS
Ch16 OSCh16 OS
Ch16 OS
 
OS_Ch16
OS_Ch16OS_Ch16
OS_Ch16
 

More from Waqas !!!!

More from Waqas !!!! (20)

Fiber
FiberFiber
Fiber
 
Distributedapplications
DistributedapplicationsDistributedapplications
Distributedapplications
 
Dictributed application by Waqas
Dictributed application by WaqasDictributed application by Waqas
Dictributed application by Waqas
 
Congestionin Data Networks
Congestionin Data NetworksCongestionin Data Networks
Congestionin Data Networks
 
Circuit Packet
Circuit PacketCircuit Packet
Circuit Packet
 
Chap24
Chap24Chap24
Chap24
 
Ad Hoc
Ad HocAd Hoc
Ad Hoc
 
10 Circuit Packet
10 Circuit Packet10 Circuit Packet
10 Circuit Packet
 
Vfs
VfsVfs
Vfs
 
Thesis11
Thesis11Thesis11
Thesis11
 
Satellites
SatellitesSatellites
Satellites
 
Lecture3 Physical Layer
Lecture3 Physical LayerLecture3 Physical Layer
Lecture3 Physical Layer
 
Communications
CommunicationsCommunications
Communications
 
Ch5
Ch5Ch5
Ch5
 
Sad Lec3
Sad Lec3Sad Lec3
Sad Lec3
 
Lect2
Lect2Lect2
Lect2
 
Object oriented programming by Waqas
Object oriented programming by WaqasObject oriented programming by Waqas
Object oriented programming by Waqas
 
Chapter01 1
Chapter01 1Chapter01 1
Chapter01 1
 
Chap9
Chap9Chap9
Chap9
 
Satellite Bands
Satellite BandsSatellite Bands
Satellite Bands
 

Recently uploaded

Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
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 Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
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
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.MateoGardella
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
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
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 

Recently uploaded (20)

Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
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 Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
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
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 

Nf Sp4

  • 1.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9. NFS (Network File System) NO Create file CREATE NO Remove file REMOVE YES Fix server cache data to the disk COMMIT YES Check access ACCESS YES Read from symbolic link READLINK YES Read file READ YES Write to the file WRITE NO Rename file RENAME YES File name search LOOKUP YES Set file attribute SETATTR YES Get file attribute GETATTR Idempotent Action RCP request
  • 10. NFS (Network File System) YES Get FS static attribute FSINFO YES Get POSIX information PATHCONF YES Get FS dynamic attribute FSSTAT NO Crate directory MKDIR NO Remove directory RMDIR YES Read directory READDIR YES Extended directory read READDIRPLUS NO Create special node MKNOD NO Create symbolic link SYMLINK NO Create hard link LINK Idempotent Action RCP request
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18. FreeBSD NFS implementation mount portmap mountd Client Server User level Kernel level 1 2 3 4
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25. FreeBSD NFS implementation (read cache lease) Client A Client B Server Read req. + lease Answer Read sys. call Read sys. Call (from cache) Read req. (cache miss) Answer Lease timeout Read sys. call Lease expired Read lease req. Answer with same ctime ctime the same - cache valid Read sys. Call (from cache) Lease timeout Read req. (cache miss) Answer Read cache lease for client A Read req. + lease Read sys. call Read sys. call Lease timeout Answer Client B added to lease Read req. (cache miss) Answer Time
  • 26. FreeBSD NFS implementation (write cache lease) Server Client B Write system call Write cached lease Write cached lease for client B Answer (write cache lease) Write system call (cached leaved records) Write cached lease req. before previous lease expired. Get record lease Lease update Answer (write cache lease) Lease timeout System call Lease expired record answer record answer Lease expiration Stopped for a moment because of records Write_slack seconds After last records Time
  • 27. FreeBSD NFS implementation (non-cache lease) Client A Server Client B Time Read sys. call req. Read req. + lease Read cache lease for A client answer Read req. (from cache) Read req. (miss cache) answer Lease timeout Read sys. call req. Lease request Answer (non-cache lease) Read sys. call req. (non-cache lease mode) Read req. Read data Lease expired Write sys. call req. Get write cache lease Answer (non-cache lease) Write sys. call (async write cached) Cleanup req. Write cached data to server record answer answer record Release msg. Write sys. call req. Get write cache lease record answer Synchronous Writes wihout cache
  • 28.
  • 29.
  • 30.
  • 31.  
  • 32. Local and remote file systems accessible on an NFS client mount –t nfs Server1:/ export/people /usr /students mount –t nfs Server2:/ nfs/users /usr/ staff
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43. AFS: Neat Idea #2 (A Common View of the Global Namespace)
  • 44.