SlideShare una empresa de Scribd logo
1 de 47
Chapter 12: File System Implementation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
File-System Structure ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Layered File System
A Typical File Control Block
In-Memory File System Structures ,[object Object],[object Object],[object Object]
In-Memory File System Structures
Virtual File Systems ,[object Object],[object Object],[object Object]
Schematic View of Virtual File System
Directory Implementation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Allocation Methods ,[object Object],[object Object],[object Object],[object Object]
Contiguous Allocation ,[object Object],[object Object],[object Object],[object Object],[object Object]
Contiguous Allocation of Disk Space
Extent-Based Systems ,[object Object],[object Object],[object Object]
Linked Allocation ,[object Object],pointer block  =
Linked Allocation (Cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],LA/511 Q R
Linked Allocation
File-Allocation Table
Indexed Allocation ,[object Object],[object Object],index table
Example of Indexed Allocation
Indexed Allocation (Cont.) ,[object Object],[object Object],[object Object],[object Object],LA/512 Q R Q = displacement into index table R = displacement into block
Indexed Allocation – Mapping (Cont.) ,[object Object],[object Object],LA / (512 x 511) Q 1 R 1 ,[object Object],[object Object],R 1  / 512 Q 2 R 2 ,[object Object],[object Object]
Indexed Allocation – Mapping (Cont.) ,[object Object],LA / (512 x 512) Q 1 R 1 ,[object Object],[object Object],R 1  / 512 Q 2 R 2 ,[object Object],[object Object]
Indexed Allocation – Mapping (Cont.)  outer-index index table file
Combined Scheme:  UNIX (4K bytes per block)
Free-Space Management ,[object Object],… 0 1 2 n-1 bit[ i ] =  0    block[ i ] free 1    block[ i ] occupied Block number calculation (number of bits per word) * (number of 0-value words) + offset of first 1 bit
Free-Space Management (Cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Free-Space Management (Cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Linked Free Space List on Disk
Efficiency and Performance ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Various Disk-Caching Locations
Page Cache ,[object Object],[object Object],[object Object],[object Object]
I/O Without a Unified Buffer Cache
Unified Buffer Cache ,[object Object]
I/O Using a Unified Buffer Cache
Recovery ,[object Object],[object Object],[object Object]
Log Structured File Systems ,[object Object],[object Object],[object Object],[object Object]
The Sun Network File System (NFS) ,[object Object],[object Object]
NFS (Cont.) ,[object Object],[object Object],[object Object],[object Object]
NFS (Cont.) ,[object Object],[object Object],[object Object]
Three Independent File Systems
Mounting in NFS  Mounts Cascading mounts
NFS Mount Protocol ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
NFS Protocol ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Three Major Layers of NFS Architecture  ,[object Object],[object Object],[object Object],[object Object],[object Object]
Schematic View of NFS Architecture
NFS Path-Name Translation ,[object Object],[object Object]
NFS Remote Operations ,[object Object],[object Object],[object Object],[object Object],[object Object]

Más contenido relacionado

La actualidad más candente

8 0-os file-system management
8 0-os file-system management8 0-os file-system management
8 0-os file-system managementGol D Roger
 
File management
File managementFile management
File managementMohd Arif
 
Chapter 10 - File System Interface
Chapter 10 - File System InterfaceChapter 10 - File System Interface
Chapter 10 - File System InterfaceWayne Jones Jnr
 
directory structure and file system mounting
directory structure and file system mountingdirectory structure and file system mounting
directory structure and file system mountingrajshreemuthiah
 
File systemimplementationfinal
File systemimplementationfinalFile systemimplementationfinal
File systemimplementationfinalmarangburu42
 
Os10
Os10Os10
Os10issbp
 
Forensic artifacts in modern linux systems
Forensic artifacts in modern linux systemsForensic artifacts in modern linux systems
Forensic artifacts in modern linux systemsGol D Roger
 
Buffer cache unix ppt Mrs.Sowmya Jyothi
Buffer cache unix ppt Mrs.Sowmya JyothiBuffer cache unix ppt Mrs.Sowmya Jyothi
Buffer cache unix ppt Mrs.Sowmya JyothiSowmya Jyothi
 
Distributed file system
Distributed file systemDistributed file system
Distributed file systemJanani S
 
Filesystemimplementationpre final-160919095849
Filesystemimplementationpre final-160919095849Filesystemimplementationpre final-160919095849
Filesystemimplementationpre final-160919095849marangburu42
 
Unit ivos - file systems
Unit ivos - file systemsUnit ivos - file systems
Unit ivos - file systemsdonny101
 
Hadoop Distributed File System
Hadoop Distributed File SystemHadoop Distributed File System
Hadoop Distributed File SystemMilad Sobhkhiz
 
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
 

La actualidad más candente (19)

File Systems
File SystemsFile Systems
File Systems
 
OSCh11
OSCh11OSCh11
OSCh11
 
8 0-os file-system management
8 0-os file-system management8 0-os file-system management
8 0-os file-system management
 
10 File System
10 File System10 File System
10 File System
 
File system
File systemFile system
File system
 
File management
File managementFile management
File management
 
Chapter 10 - File System Interface
Chapter 10 - File System InterfaceChapter 10 - File System Interface
Chapter 10 - File System Interface
 
directory structure and file system mounting
directory structure and file system mountingdirectory structure and file system mounting
directory structure and file system mounting
 
File systemimplementationfinal
File systemimplementationfinalFile systemimplementationfinal
File systemimplementationfinal
 
Os10
Os10Os10
Os10
 
Contigious
ContigiousContigious
Contigious
 
Forensic artifacts in modern linux systems
Forensic artifacts in modern linux systemsForensic artifacts in modern linux systems
Forensic artifacts in modern linux systems
 
Buffer cache unix ppt Mrs.Sowmya Jyothi
Buffer cache unix ppt Mrs.Sowmya JyothiBuffer cache unix ppt Mrs.Sowmya Jyothi
Buffer cache unix ppt Mrs.Sowmya Jyothi
 
Distributed file system
Distributed file systemDistributed file system
Distributed file system
 
Filesystemimplementationpre final-160919095849
Filesystemimplementationpre final-160919095849Filesystemimplementationpre final-160919095849
Filesystemimplementationpre final-160919095849
 
NTFS and Inode
NTFS and InodeNTFS and Inode
NTFS and Inode
 
Unit ivos - file systems
Unit ivos - file systemsUnit ivos - file systems
Unit ivos - file systems
 
Hadoop Distributed File System
Hadoop Distributed File SystemHadoop Distributed File System
Hadoop Distributed File System
 
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
 

Destacado

Ch19 OS
Ch19 OSCh19 OS
Ch19 OSC.U
 
Ticclassiques
TicclassiquesTicclassiques
Ticclassiquesiesrb4
 
Foundations of Open Source Economic Development Presentation 2 Curve 1
Foundations of Open Source Economic Development Presentation 2 Curve 1Foundations of Open Source Economic Development Presentation 2 Curve 1
Foundations of Open Source Economic Development Presentation 2 Curve 1Betsey Merkel
 
Uk Garden Centres
Uk Garden CentresUk Garden Centres
Uk Garden Centresgcaaust
 
Cr Ea Ti Vi Ty I N T He Wo Rkp Lac E
Cr Ea Ti Vi Ty I N T He Wo Rkp Lac ECr Ea Ti Vi Ty I N T He Wo Rkp Lac E
Cr Ea Ti Vi Ty I N T He Wo Rkp Lac Eroselleda
 
Geotrigger
GeotriggerGeotrigger
GeotriggerTeamDev
 
User Research in the Wild
User Research in the WildUser Research in the Wild
User Research in the WildNick Finck
 
Googley Family Philanthropy
Googley Family PhilanthropyGoogley Family Philanthropy
Googley Family Philanthropyjeffjarvis
 
{Community} Launch Asp.Net Ajax
{Community} Launch   Asp.Net Ajax{Community} Launch   Asp.Net Ajax
{Community} Launch Asp.Net AjaxTeamDev
 
Routers BY RAJIT(9816115641)
Routers BY RAJIT(9816115641)Routers BY RAJIT(9816115641)
Routers BY RAJIT(9816115641)C.U
 
The Ethnography Of Tabletop Miniature Game Storyworlds
The Ethnography Of Tabletop Miniature Game StoryworldsThe Ethnography Of Tabletop Miniature Game Storyworlds
The Ethnography Of Tabletop Miniature Game Storyworldsethan.watrall
 
Coretta Scott King Shihab
Coretta Scott King ShihabCoretta Scott King Shihab
Coretta Scott King Shihabanaq
 
Presentation sig2015
Presentation sig2015Presentation sig2015
Presentation sig2015TeamDev
 
Recueil christine
Recueil christineRecueil christine
Recueil christinecladounet
 
Programas De
Programas DeProgramas De
Programas Detat
 
Educacion Colombiana
Educacion ColombianaEducacion Colombiana
Educacion ColombianaRAFAEL OLIVAS
 
{Community} Launch Visual Studio2008
{Community} Launch   Visual Studio2008{Community} Launch   Visual Studio2008
{Community} Launch Visual Studio2008TeamDev
 
Social and business activities alignment
Social and business activities alignmentSocial and business activities alignment
Social and business activities alignmentBertrand DUPERRIN
 

Destacado (20)

Ch19 OS
Ch19 OSCh19 OS
Ch19 OS
 
Ticclassiques
TicclassiquesTicclassiques
Ticclassiques
 
Foundations of Open Source Economic Development Presentation 2 Curve 1
Foundations of Open Source Economic Development Presentation 2 Curve 1Foundations of Open Source Economic Development Presentation 2 Curve 1
Foundations of Open Source Economic Development Presentation 2 Curve 1
 
Workshop
WorkshopWorkshop
Workshop
 
Uk Garden Centres
Uk Garden CentresUk Garden Centres
Uk Garden Centres
 
Cr Ea Ti Vi Ty I N T He Wo Rkp Lac E
Cr Ea Ti Vi Ty I N T He Wo Rkp Lac ECr Ea Ti Vi Ty I N T He Wo Rkp Lac E
Cr Ea Ti Vi Ty I N T He Wo Rkp Lac E
 
Geotrigger
GeotriggerGeotrigger
Geotrigger
 
User Research in the Wild
User Research in the WildUser Research in the Wild
User Research in the Wild
 
Googley Family Philanthropy
Googley Family PhilanthropyGoogley Family Philanthropy
Googley Family Philanthropy
 
{Community} Launch Asp.Net Ajax
{Community} Launch   Asp.Net Ajax{Community} Launch   Asp.Net Ajax
{Community} Launch Asp.Net Ajax
 
Routers BY RAJIT(9816115641)
Routers BY RAJIT(9816115641)Routers BY RAJIT(9816115641)
Routers BY RAJIT(9816115641)
 
The Ethnography Of Tabletop Miniature Game Storyworlds
The Ethnography Of Tabletop Miniature Game StoryworldsThe Ethnography Of Tabletop Miniature Game Storyworlds
The Ethnography Of Tabletop Miniature Game Storyworlds
 
Coretta Scott King Shihab
Coretta Scott King ShihabCoretta Scott King Shihab
Coretta Scott King Shihab
 
Blackout NZ
Blackout NZBlackout NZ
Blackout NZ
 
Presentation sig2015
Presentation sig2015Presentation sig2015
Presentation sig2015
 
Recueil christine
Recueil christineRecueil christine
Recueil christine
 
Programas De
Programas DeProgramas De
Programas De
 
Educacion Colombiana
Educacion ColombianaEducacion Colombiana
Educacion Colombiana
 
{Community} Launch Visual Studio2008
{Community} Launch   Visual Studio2008{Community} Launch   Visual Studio2008
{Community} Launch Visual Studio2008
 
Social and business activities alignment
Social and business activities alignmentSocial and business activities alignment
Social and business activities alignment
 

Similar a Ch12 OS

file management_part2_os_notes.ppt
file management_part2_os_notes.pptfile management_part2_os_notes.ppt
file management_part2_os_notes.pptHelalMirzad
 
File system interfacefinal
File system interfacefinalFile system interfacefinal
File system interfacefinalmarangburu42
 
File System and File allocation tables
File System and File allocation tablesFile System and File allocation tables
File System and File allocation tablesshashikant pabari
 
I/O System and Case study
I/O System and Case studyI/O System and Case study
I/O System and Case studyLavanya G
 
Distributed File System
Distributed File SystemDistributed File System
Distributed File SystemNtu
 
File Management in Operating Systems
File Management in Operating SystemsFile Management in Operating Systems
File Management in Operating Systemsvampugani
 
linux file sysytem& input and output
linux file sysytem& input and outputlinux file sysytem& input and output
linux file sysytem& input and outputMythiliA5
 
Ch11 file system implementation
Ch11   file system implementationCh11   file system implementation
Ch11 file system implementationWelly Dian Astika
 
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
 
File systeminterface-pre-final-formatting
File systeminterface-pre-final-formattingFile systeminterface-pre-final-formatting
File systeminterface-pre-final-formattingmarangburu42
 
File system interface Pre Final
File system interface Pre FinalFile system interface Pre Final
File system interface Pre Finalmarangburu42
 
OS_Assignment for Disk Space & File System & File allocation table(FAT)
OS_Assignment for Disk Space & File System & File allocation table(FAT)OS_Assignment for Disk Space & File System & File allocation table(FAT)
OS_Assignment for Disk Space & File System & File allocation table(FAT)Chinmaya M. N
 
The Storage Systems
The Storage Systems The Storage Systems
The Storage Systems Dhaivat Zala
 
Unit 3 chapter 1-file management
Unit 3 chapter 1-file managementUnit 3 chapter 1-file management
Unit 3 chapter 1-file managementKalai Selvi
 
Linux architecture
Linux architectureLinux architecture
Linux architecturemcganesh
 

Similar a Ch12 OS (20)

Ch11
Ch11Ch11
Ch11
 
file management_part2_os_notes.ppt
file management_part2_os_notes.pptfile management_part2_os_notes.ppt
file management_part2_os_notes.ppt
 
File system interfacefinal
File system interfacefinalFile system interfacefinal
File system interfacefinal
 
File System operating system operating system
File System  operating system operating systemFile System  operating system operating system
File System operating system operating system
 
File Management.ppt
File Management.pptFile Management.ppt
File Management.ppt
 
File System and File allocation tables
File System and File allocation tablesFile System and File allocation tables
File System and File allocation tables
 
I/O System and Case study
I/O System and Case studyI/O System and Case study
I/O System and Case study
 
Distributed File System
Distributed File SystemDistributed File System
Distributed File System
 
Chapter13
Chapter13Chapter13
Chapter13
 
XFS.ppt
XFS.pptXFS.ppt
XFS.ppt
 
File Management in Operating Systems
File Management in Operating SystemsFile Management in Operating Systems
File Management in Operating Systems
 
linux file sysytem& input and output
linux file sysytem& input and outputlinux file sysytem& input and output
linux file sysytem& input and output
 
Ch11 file system implementation
Ch11   file system implementationCh11   file system implementation
Ch11 file system implementation
 
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
 
File systeminterface-pre-final-formatting
File systeminterface-pre-final-formattingFile systeminterface-pre-final-formatting
File systeminterface-pre-final-formatting
 
File system interface Pre Final
File system interface Pre FinalFile system interface Pre Final
File system interface Pre Final
 
OS_Assignment for Disk Space & File System & File allocation table(FAT)
OS_Assignment for Disk Space & File System & File allocation table(FAT)OS_Assignment for Disk Space & File System & File allocation table(FAT)
OS_Assignment for Disk Space & File System & File allocation table(FAT)
 
The Storage Systems
The Storage Systems The Storage Systems
The Storage Systems
 
Unit 3 chapter 1-file management
Unit 3 chapter 1-file managementUnit 3 chapter 1-file management
Unit 3 chapter 1-file management
 
Linux architecture
Linux architectureLinux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