SlideShare a Scribd company logo
4
Most read
7
Most read
8
Most read
TOPIC : FILE SYSTEM RELIABILITY & VIRTAUL FILE
SYSTEM
PRESENTED BY:
MEGHAJ KUMAR MALLICK
(MCA/25017/18)
1ST YEAR ,2ND SEMESTER
File System  Reliability & Virtual File in Operating System
 What can happen if disk loses power or
machine software crashes?
◦ Some operations in progress may complete
◦ Some operations in progress may be lost
◦ Overwrite of a block may only partially complete
 File system wants durability (as a minimum!)
◦ Data previously stored can be retrieved (maybe
after some recovery step), regardless of failure
 Single logical file operation can involve
updates to multiple physical disk blocks
◦ inode, indirect block, data block, bitmap, …
◦ With remapping, single update to physical disk
block can require multiple (even lower level)
updates
 At a physical level, operations complete one
at a time
◦ Want concurrent operations for performance
 How do we guarantee consistency regardless
of when crash occurs
 Volatile storage – information stored here
does not survive system crashes
◦ Example: main memory, cache
 Nonvolatile storage – Information usually
survives crashes
◦ Example: disk and tape
 Stable storage – Information never lost
◦ Not actually possible, so approximated via
replication or RAID to devices with independent
failure modes
 Sequence operations in a specific order
◦ Careful design to allow sequence to be interrupted
safely
 Post-crash recovery
◦ Read data structures to see if there were any
operations in progress
◦ Clean up/finish as needed
 Approach taken in FAT, FFS (fsck), and many
app-level recovery schemes (e.g., Word)
File System  Reliability & Virtual File in Operating System
 A virtual file system (VFS) is programming that forms an
interface between an operating system's kernel and a
more concrete file system.
 The VFS serves as an abstraction layer that gives
applications access to different types of file systems
and local and network storage devices. For that reason,
a VFS may also be known as a virtual file system switch.
It also manages the data storage and retrieval between
the operating system and the storage sub-system. The
VFS maintains a cache of directory lookups to enable
easy location of frequently accessed directories.
 One of the first virtual file system
mechanisms on Unix-like systems was
introduced by Sun Microsystemsin SunOS 2.0
in 1985
 In Microsoft Windows, virtual file systems can
also be implemented through userland Shell
namespace extensions.
 Sometimes Virtual File System refers to a file
or a group of files (not necessarily inside a
concrete file system) that acts as a
manageable container which should provide
the functionality of a concrete file system
through the usage of software.
 Examples of such containers are CBFS
Storage or a single-file virtual file system in
an emulator like PCTask or so-called WinUAE,
Oracle's VirtualBox, Microsoft's Virtual
PC, VMware.
 The primary benefit for this type of file
system is that it is centralized and easy to
remove
 Direct examples of single-file virtual file
systems include emulators, such as PCTask
and WinUAE, which encapsulate not only the
file system data but also emulated disk
layout. This makes it easy to treat an OS
installation like any other piece of software—
transferring it with removable media or over
the network.
File System  Reliability & Virtual File in Operating System

More Related Content

PDF
Operating system concepts 5th edition by silberschatz & galvin
 
PPTX
Fundamentals of Python Programming
PPTX
Servlet and concurrency
PPT
SWITCH CASE STATEMENT IN C
PPTX
Conditional statement in c
PDF
JAVA PROGRAMMING- Exception handling - Multithreading
PPTX
C# Generics
PPT
Ch 3 event driven programming
Operating system concepts 5th edition by silberschatz & galvin
 
Fundamentals of Python Programming
Servlet and concurrency
SWITCH CASE STATEMENT IN C
Conditional statement in c
JAVA PROGRAMMING- Exception handling - Multithreading
C# Generics
Ch 3 event driven programming

What's hot (20)

PPTX
Semaphore
PPTX
Nesting of if else statement & Else If Ladder
PPTX
Event In JavaScript
PPTX
Array in c language
PPS
Java Exception handling
PPTX
Control structures in java
PDF
Arrays In Python | Python Array Operations | Edureka
PPT
Inter threadcommunication.38
PDF
Asymmetric Cryptography
PPT
Java applets
PPTX
Synchronization hardware
PPTX
MULTI THREADING IN JAVA
PDF
Python If Else | If Else Statement In Python | Edureka
PPT
Java-java virtual machine
PPTX
PPTX
Type casting in c programming
PPSX
5bit field
PPTX
Introduction Of C++
Semaphore
Nesting of if else statement & Else If Ladder
Event In JavaScript
Array in c language
Java Exception handling
Control structures in java
Arrays In Python | Python Array Operations | Edureka
Inter threadcommunication.38
Asymmetric Cryptography
Java applets
Synchronization hardware
MULTI THREADING IN JAVA
Python If Else | If Else Statement In Python | Edureka
Java-java virtual machine
Type casting in c programming
5bit field
Introduction Of C++
Ad

Similar to File System Reliability & Virtual File in Operating System (20)

PPT
8 1-os file system implementation
PDF
Ch11 file system implementation
PDF
009709863.pdf
PPTX
FILE Implementation Introduction imp .pptx
PPT
PPTX
a distributed implementation of the classical time-sharing model of a file sy...
PPTX
UNIT III.pptx
PPT
file management_part2_os_notes.ppt
PPT
Presentation on nfs,afs,vfs
PPTX
Introduction_to_File_Systems_Updated.pptx
PDF
Ch10 file system interface
PPT
file system implementation in operating systems
ODP
Distributed File System
 
PPTX
DFSNov1.pptx
PPT
Integrity and Security in Filesystems
ODP
The evolution of linux file system
PPTX
ch12-File-System Implementation (1).pptx
PPTX
Ch11 file system implementation
PPT
Unit 3 chapter 1-file management
PPT
Unit 3.1 cs6601 Distributed File System
8 1-os file system implementation
Ch11 file system implementation
009709863.pdf
FILE Implementation Introduction imp .pptx
a distributed implementation of the classical time-sharing model of a file sy...
UNIT III.pptx
file management_part2_os_notes.ppt
Presentation on nfs,afs,vfs
Introduction_to_File_Systems_Updated.pptx
Ch10 file system interface
file system implementation in operating systems
Distributed File System
 
DFSNov1.pptx
Integrity and Security in Filesystems
The evolution of linux file system
ch12-File-System Implementation (1).pptx
Ch11 file system implementation
Unit 3 chapter 1-file management
Unit 3.1 cs6601 Distributed File System
Ad

More from Meghaj Mallick (20)

PPT
24 partial-orderings
PPTX
PORTFOLIO BY USING HTML & CSS
PPTX
Introduction to Software Testing
PPTX
Introduction to System Programming
PPTX
MACRO ASSEBLER
PPTX
Icons, Image & Multimedia
PPTX
Project Tracking & SPC
PPTX
Peephole Optimization
PPTX
Routing in MANET
PPTX
Macro assembler
PPTX
Architecture and security in Vanet PPT
PPTX
Design Model & User Interface Design in Software Engineering
PPTX
Text Mining of Twitter in Data Mining
PPTX
DFS & BFS in Computer Algorithm
PPTX
Software Development Method
PPTX
Secant method in Numerical & Statistical Method
PPTX
Motivation in Organization
PPTX
Communication Skill
PPT
Partial-Orderings in Discrete Mathematics
PPTX
Hashing In Data Structure
24 partial-orderings
PORTFOLIO BY USING HTML & CSS
Introduction to Software Testing
Introduction to System Programming
MACRO ASSEBLER
Icons, Image & Multimedia
Project Tracking & SPC
Peephole Optimization
Routing in MANET
Macro assembler
Architecture and security in Vanet PPT
Design Model & User Interface Design in Software Engineering
Text Mining of Twitter in Data Mining
DFS & BFS in Computer Algorithm
Software Development Method
Secant method in Numerical & Statistical Method
Motivation in Organization
Communication Skill
Partial-Orderings in Discrete Mathematics
Hashing In Data Structure

Recently uploaded (20)

PPTX
nose tajweed for the arabic alphabets for the responsive
DOCX
"Project Management: Ultimate Guide to Tools, Techniques, and Strategies (2025)"
PPTX
water for all cao bang - a charity project
PDF
Nykaa-Strategy-Case-Fixing-Retention-UX-and-D2C-Engagement (1).pdf
PPTX
Introduction-to-Food-Packaging-and-packaging -materials.pptx
PDF
Parts of Speech Prepositions Presentation in Colorful Cute Style_20250724_230...
PPTX
Learning-Plan-5-Policies-and-Practices.pptx
PPTX
lesson6-211001025531lesson plan ppt.pptx
PPTX
Introduction to Effective Communication.pptx
PPTX
Hydrogel Based delivery Cancer Treatment
PPT
The Effect of Human Resource Management Practice on Organizational Performanc...
PPTX
The spiral of silence is a theory in communication and political science that...
PPTX
Relationship Management Presentation In Banking.pptx
PDF
Instagram's Product Secrets Unveiled with this PPT
PDF
oil_refinery_presentation_v1 sllfmfls.pdf
PPTX
English-9-Q1-3-.pptxjkshbxnnxgchchxgxhxhx
PPTX
2025-08-10 Joseph 02 (shared slides).pptx
PPTX
AcademyNaturalLanguageProcessing-EN-ILT-M02-Introduction.pptx
PPTX
ART-APP-REPORT-FINctrwxsg f fuy L-na.pptx
PDF
Tunisia's Founding Father(s) Pitch-Deck 2022.pdf
nose tajweed for the arabic alphabets for the responsive
"Project Management: Ultimate Guide to Tools, Techniques, and Strategies (2025)"
water for all cao bang - a charity project
Nykaa-Strategy-Case-Fixing-Retention-UX-and-D2C-Engagement (1).pdf
Introduction-to-Food-Packaging-and-packaging -materials.pptx
Parts of Speech Prepositions Presentation in Colorful Cute Style_20250724_230...
Learning-Plan-5-Policies-and-Practices.pptx
lesson6-211001025531lesson plan ppt.pptx
Introduction to Effective Communication.pptx
Hydrogel Based delivery Cancer Treatment
The Effect of Human Resource Management Practice on Organizational Performanc...
The spiral of silence is a theory in communication and political science that...
Relationship Management Presentation In Banking.pptx
Instagram's Product Secrets Unveiled with this PPT
oil_refinery_presentation_v1 sllfmfls.pdf
English-9-Q1-3-.pptxjkshbxnnxgchchxgxhxhx
2025-08-10 Joseph 02 (shared slides).pptx
AcademyNaturalLanguageProcessing-EN-ILT-M02-Introduction.pptx
ART-APP-REPORT-FINctrwxsg f fuy L-na.pptx
Tunisia's Founding Father(s) Pitch-Deck 2022.pdf

File System Reliability & Virtual File in Operating System

  • 1. TOPIC : FILE SYSTEM RELIABILITY & VIRTAUL FILE SYSTEM PRESENTED BY: MEGHAJ KUMAR MALLICK (MCA/25017/18) 1ST YEAR ,2ND SEMESTER
  • 3.  What can happen if disk loses power or machine software crashes? ◦ Some operations in progress may complete ◦ Some operations in progress may be lost ◦ Overwrite of a block may only partially complete  File system wants durability (as a minimum!) ◦ Data previously stored can be retrieved (maybe after some recovery step), regardless of failure
  • 4.  Single logical file operation can involve updates to multiple physical disk blocks ◦ inode, indirect block, data block, bitmap, … ◦ With remapping, single update to physical disk block can require multiple (even lower level) updates  At a physical level, operations complete one at a time ◦ Want concurrent operations for performance  How do we guarantee consistency regardless of when crash occurs
  • 5.  Volatile storage – information stored here does not survive system crashes ◦ Example: main memory, cache  Nonvolatile storage – Information usually survives crashes ◦ Example: disk and tape  Stable storage – Information never lost ◦ Not actually possible, so approximated via replication or RAID to devices with independent failure modes
  • 6.  Sequence operations in a specific order ◦ Careful design to allow sequence to be interrupted safely  Post-crash recovery ◦ Read data structures to see if there were any operations in progress ◦ Clean up/finish as needed  Approach taken in FAT, FFS (fsck), and many app-level recovery schemes (e.g., Word)
  • 8.  A virtual file system (VFS) is programming that forms an interface between an operating system's kernel and a more concrete file system.  The VFS serves as an abstraction layer that gives applications access to different types of file systems and local and network storage devices. For that reason, a VFS may also be known as a virtual file system switch. It also manages the data storage and retrieval between the operating system and the storage sub-system. The VFS maintains a cache of directory lookups to enable easy location of frequently accessed directories.
  • 9.  One of the first virtual file system mechanisms on Unix-like systems was introduced by Sun Microsystemsin SunOS 2.0 in 1985  In Microsoft Windows, virtual file systems can also be implemented through userland Shell namespace extensions.
  • 10.  Sometimes Virtual File System refers to a file or a group of files (not necessarily inside a concrete file system) that acts as a manageable container which should provide the functionality of a concrete file system through the usage of software.
  • 11.  Examples of such containers are CBFS Storage or a single-file virtual file system in an emulator like PCTask or so-called WinUAE, Oracle's VirtualBox, Microsoft's Virtual PC, VMware.  The primary benefit for this type of file system is that it is centralized and easy to remove
  • 12.  Direct examples of single-file virtual file systems include emulators, such as PCTask and WinUAE, which encapsulate not only the file system data but also emulated disk layout. This makes it easy to treat an OS installation like any other piece of software— transferring it with removable media or over the network.