File Management Systems

Slides:



Advertisements
Similar presentations
A CASE FOR REDUNDANT ARRAYS OF INEXPENSIVE DISKS (RAID) D. A. Patterson, G. A. Gibson, R. H. Katz University of California, Berkeley.
Advertisements

By Rashid Khan Lesson 6-A Place for Everything: Storage Management.
RAID (Redundant Arrays of Independent Disks). Disk organization technique that manages a large number of disks, providing a view of a single disk of High.
RAID Oh yes Whats RAID? Redundant Array (of) Independent Disks. A scheme involving multiple disks which replicates data across multiple drives. Methods.
File-System Interface
RAID- Redundant Array of Inexpensive Drives. Purpose Provide faster data access and larger storage Provide data redundancy.
R.A.I.D. Copyright © 2005 by James Hug Redundant Array of Independent (or Inexpensive) Disks.
2P13 Week 11. A+ Guide to Managing and Maintaining your PC, 6e2 RAID Controllers Redundant Array of Independent (or Inexpensive) Disks Level 0 -- Striped.
REDUNDANT ARRAY OF INEXPENSIVE DISCS RAID. What is RAID ? RAID is an acronym for Redundant Array of Independent Drives (or Disks), also known as Redundant.
File Management Chapter 12. File Management A file is a named entity used to save results from a program or provide data to a program. Access control.
Chapter 11: File System Implementation
File Management Systems
Chapter Goals Describe the components and functions of a file management system Compare the logical and physical organization of files and directories.
File System Implementation
1 Operating Systems Chapter 7-File-System File Concept Access Methods Directory Structure Protection File-System Structure Allocation Methods Free-Space.
1 File Management in Representative Operating Systems.
Introduction of z/OS Basics © 2006 IBM Corporation Chapter 5: Working with data sets.
Operating Systems File systems
Chapter 12 File Management Systems
7/15/2015B.RamamurthyPage 1 File System B. Ramamurthy.
Session 3 Windows Platform Dina Alkhoudari. Learning Objectives Understanding Server Storage Technologies Direct Attached Storage DAS Network-Attached.
Module 3 - Storage MIS5122: Enterprise Architecture for IT Auditors.
CS 352 : Computer Organization and Design University of Wisconsin-Eau Claire Dan Ernst Storage Systems.
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
1 Chapter 12 File Management Systems. 2 Systems Architecture Chapter 12.
I/O – Chapter 8 Introduction Disk Storage and Dependability – 8.2 Buses and other connectors – 8.4 I/O performance measures – 8.6.
Lecture 9 of Advanced Databases Storage and File Structure (Part II) Instructor: Mr.Ahmed Al Astal.
CSI-09 COMMUNICATION TECHNOLOGY FAULT TOLERANCE AUTHOR: V.V. SUBRAHMANYAM.
Guide to Linux Installation and Administration, 2e 1 Chapter 9 Preparing for Emergencies.
Operating Systems (CS 340 D) Dr. Abeer Mahmoud Princess Nora University Faculty of Computer & Information Systems Computer science Department.
IOS110 Introduction to Operating Systems using Windows Session 5 1.
MCTS Guide to Microsoft Windows Vista Chapter 4 Managing Disks.
File System Implementation Chapter 12. File system Organization Application programs Application programs Logical file system Logical file system manages.
Mark A. Magumba Storage Management. What is storage An electronic place where computer may store data and instructions for retrieval The objective of.
Introduction to the new mainframe © Copyright IBM Corp., All rights reserved. Chapter 4: Working with data sets.
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
1 File Management Chapter File Management n File management system consists of system utility programs that run as privileged applications n Concerned.
"1"1 Introduction to Managing Data " Describe problems associated with managing large numbers of disks " List requirements for easily managing large amounts.
File Storage Organization The majority of space on a device is reserved for the storage of files. When files are created and modified physical blocks are.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 12: File System Implementation File System Structure File System Implementation.
File System Implementation
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 11: File System Implementation.
File Structures. 2 Chapter - Objectives Disk Storage Devices Files of Records Operations on Files Unordered Files Ordered Files Hashed Files Dynamic and.
Computer Science Lecture 19, page 1 CS677: Distributed OS Last Class: Fault tolerance Reliable communication –One-one communication –One-many communication.
Chapter 11: File System Implementation Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 11: File System Implementation Chapter.
CE Operating Systems Lecture 17 File systems – interface and implementation.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition File System Implementation.
Lec 5 part2 Disk Storage, Basic File Structures, and Hashing.
1 CEG 2400 Fall 2012 Network Servers. 2 Network Servers Critical Network servers – Contain redundant components Power supplies Fans Memory CPU Hard Drives.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
W4118 Operating Systems Instructor: Junfeng Yang.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 3: Windows7 Part 3.
SVBIT SUBJECT:- Operating System TOPICS:- File Management
RAID TECHNOLOGY RASHMI ACHARYA CSE(A) RG NO
Network-Attached Storage. Network-attached storage devices Attached to a local area network, generally an Ethernet-based network environment.
File-System Management
Chapter 11: File System Implementation
CIS 212 Microcomputer Architecture Day 26
Storage Virtualization
RAID RAID Mukesh N Tekwani
Chapter 11: File System Implementation
Chapter 3: Windows7 Part 3.
File System B. Ramamurthy B.Ramamurthy 11/27/2018.
UNIT IV RAID.
Overview: File system implementation (cont)
Mark Zbikowski and Gary Kimura
Systems Architecture, Seventh Edition
RAID RAID Mukesh N Tekwani April 23, 2019
File System Implementation
Presentation transcript:

File Management Systems Chapter 12 File Management Systems

Introduction to Computer Science Chapter Goals Describe the components and functions of a file management system Compare the logical and physical organization of files and directories Explain how secondary storage locations are allocated to files and describe the data structures used to record those allocations Introduction to Computer Science

Chapter Goals (continued) Describe file manipulation operations, including open, close, read, delete, and undelete operations List access controls that can be applied to files and directories Describe security, backup, recovery, and fault tolerance methods and procedures Compare and contrast storage area networks and network-attached storage Introduction to Computer Science

Introduction to Computer Science

File Management Systems Collection of system software that manages all aspects of user and program access to secondary storage Usually part of the operating system Translates operations into commands to physical storage devices Implemented in four layers (command layer, file control, storage I/O control, and secondary storage devices) Introduction to Computer Science

Introduction to Computer Science Bridges between logical and physical views of secondary storage Allocates secondary storage locations to individual files and directories Includes software modules for device drivers for each storage device or device controller, interrupt handlers, buffers and cache managers Introduction to Computer Science

Logical and Physical Storage Views Logical view Collection of files organized within directories and storage volumes Physical view Collection of physical storage locations organized as a linear address space Introduction to Computer Science

Introduction to Computer Science

Introduction to Computer Science The file is subdivided into multiple records and each record is composed of multiple fields. Introduction to Computer Science

Introduction to Computer Science File Content and Type FMS supports limited number of file types: Executable programs Operating system commands Textual or unformatted binary data Modern FMSs can define new file types and install utility programs to manipulate them (file association) Introduction to Computer Science

Introduction to Computer Science File Types Normally declared when a file is created and: Stored within a directory, or Declared through a filename convention Determine: Physical organization of data items and data structures within secondary storage Operations that may be performed upon the file Filename restrictions Introduction to Computer Science

Introduction to Computer Science

Introduction to Computer Science

Directory Content and Structure Contain information about files and other directories, typically name, file type, location, size, ownership, access controls, and time stamps Introduction to Computer Science

Hierarchical Directory Structure Directories can contain other directories, creating a tree structure, but cannot be contained within more than one parent Ways that names of access paths can be specified: Complete path (fully qualified reference) Relative path Each storage device has a root directory Introduction to Computer Science

Active (working) directory Introduction to Computer Science

Graph Directory Structure More flexible than hierarchical directory structure Files and subdirectories can be contained within multiple directories Directory links can form a cycle Introduction to Computer Science

Introduction to Computer Science

Introduction to Computer Science Storage Allocation Secondary storage devices Large number of storage locations; low frequency of allocation changes Divided into allocation units Introduction to Computer Science

Introduction to Computer Science Allocation Units Smallest number of secondary storage bytes that can be allocated to a file; cannot be smaller than unit of data transfer between storage device and controller (block) Assigned/reclaimed by FMS as files and directories are created or expanded/shrink or are deleted Size difficult to change once set Introduction to Computer Science

Introduction to Computer Science Allocation Unit Size Tradeoffs Efficient use of secondary storage space for files Size of storage allocation data structures Efficiency of storage allocation procedures Smaller units: More efficient use of storage space Larger units: Allow smaller storage allocation data structures Introduction to Computer Science

Storage Allocation Tables Data structures that record which allocation units are free and which belong to files Format and content vary across FMSs Can contain linked lists in simpler FMSs or indices or other complex data structures in more complex FMSs Introduction to Computer Science

Introduction to Computer Science

Introduction to Computer Science Free allocation units are assigned to a hidden system file called SysFree. Introduction to Computer Science

Introduction to Computer Science All of a file allocation’s units are “chained” together in sequential order by a series of pointers. Introduction to Computer Science

Introduction to Computer Science Blocking Logical record grouping within physical records Described by a numeric ratio of logical records to physical records (blocking factor) Introduction to Computer Science

Introduction to Computer Science Blocking factor = 4:3 Blocking factor = 2:3 Introduction to Computer Science

Introduction to Computer Science Buffering Temporary storage of data as it moves between programs and secondary storage devices Physical records are stored in the buffer as they are read from secondary storage FMS extracts logical records from buffers and copies them to data area of the application program Each buffer is the size of one allocation unit Improves I/O performance if enough are used Introduction to Computer Science

Introduction to Computer Science

Introduction to Computer Science File Manipulation Exact set of service layer functions varies among FMSs, but typically includes create, copy, move, delete, read, and write Application programs interact directly with FMS through OS service layer Users interact indirectly with FMS through command layer Introduction to Computer Science

File Open and Close Operations Causes FMS to find the file, verify access privileges, allocate buffers, and update internal table of open files File close Causes FMS to flush buffer content to the storage device, release buffers, update file time stamps, and update table of open files Introduction to Computer Science

Delete and Undelete Operations Does not immediately remove files; some content remains on secondary storage unit all allocation units have been reassigned and overwritten File content can be visible to intruders Undelete Can be used to reconstruct directory and storage allocation table contents Introduction to Computer Science

Introduction to Computer Science Access Controls Granted by file owners and system administrators for reading, writing, and executing files Provide security at the expense of additional FMS overhead Introduction to Computer Science

File Migration, Backup, and Recovery Provided by most FMSs to protect files against damage or loss Introduction to Computer Science

File Migration (Version Control) Automatic storage and backup of old file versions Balances storage cost of each file version with anticipated user demand for that version Introduction to Computer Science

Introduction to Computer Science Original Copy that has been updated to reflect new data Introduction to Computer Science

Introduction to Computer Science File Backup Protects against data loss (file content, directory content, and storage allocation tables) Store backup copies on a different storage device in a different physical location Manual or automatic Full or incremental Introduction to Computer Science

Introduction to Computer Science Transaction Logging Automatically records all changes to file content and attributes in a separate storage area; also writes them to the file’s I/O buffer Provides high degree of protection against data loss due to program or hardware failure Imposes a performance penalty; used only when costs of data loss are high Introduction to Computer Science

Introduction to Computer Science File Recovery Automated and manual components Can search backup logs for copies of lost or damaged files Can perform consistency checking and repair procedures for crashed system or physically damaged storage device Introduction to Computer Science

Introduction to Computer Science Fault Tolerance Methods of securing file content against hardware failure File backup Recovery Transaction logging Mirroring RAID (Redundant Array of Inexpensive Disks) Introduction to Computer Science

Introduction to Computer Science Mirroring All disk write operations are made concurrently to two different storage devices Provides high degree of protection against data loss with no performance penalty if implemented in hardware Disadvantages Cost of redundant disk drives Higher cost of disk controllers that implement mirroring Introduction to Computer Science

Introduction to Computer Science RAID Disk storage technique that improves performance and fault tolerance All levels except RAID 1 use data striping Breaks a unit of data into smaller segments and stores them on multiple disks Multiple levels can be layered to combine their best features (e.g. RAID 10) Can be implemented in hardware or software Introduction to Computer Science

Introduction to Computer Science

Introduction to Computer Science Data striping: Each segment is written in parallel to a separate disk. Introduction to Computer Science

Introduction to Computer Science If the parity disk fails, the other disks still retain their original data bits. Introduction to Computer Science

Introduction to Computer Science RAID 10: Mirrors individual disks (RAID 1), then stripes data (RAID 0) across multiple mirrored pairs. Introduction to Computer Science

Storage Consolidation Overcomes inefficiencies of direct-attached storage (DAS) in multiple-server environments Common approaches Storage area network (SAN) Network-attached storage (NAS) Introduction to Computer Science

Storage Consolidation Storage Area Network (SAN) Network-Attached Storage (NAS) High-speed interconnection among general-purpose servers and one or more storage servers Block-oriented access Common in multi-server environments with mainframes or supercomputers and substantial overlap among server storage needs Expensive to purchase and administer, but avoid costs of duplicate storage and storage administration Dedicated to managing one or more file systems Accessed by other servers and clients over a local or wide area network File-oriented access Common when geographically dispersed servers need access to a common file system Cheaper to acquire than SAN, but at the price of lower performance Introduction to Computer Science

Introduction to Computer Science

Introduction to Computer Science

Introduction to Computer Science Summary File management systems Directory content and structure Storage allocation File manipulation Access controls File migration, backup, and recovery Storage consolidation Introduction to Computer Science