Windows NTFS Introduction to Operating Systems: Module 15.

Slides:



Advertisements
Similar presentations
The Impact of Logical and Physical Fragmentation in a Virtual Environment Presented by Raxco Software, Inc. October 29, 2009.
Advertisements

Chapter 12: File System Implementation
COMP091 – Operating Systems 1
BSD Partitions COEN 152/252 Computer Forensics. BSD Partitions Some BSD systems use IA32 hardware  Designed to co-exists with MS partitions.  Use DOS.
BACS 371 Computer Forensics
Computer Forensics NTFS File System.
File Systems Examples.
File System Analysis.
© Microsoft Corporation1 Windows Kernel Internals NTFS David B. Probert, Ph.D. Windows Kernel Development Microsoft Corporation.
FILE SYSTEMS. File Names 1 to 255 characters in length  This includes the path You can use uppercase and lowercase (case-aware, but not case-sensitive)
Day 29 File System.
Operating Systems File Systems CNS 3060.
Windows XP File System Management Group D. 3 Layers of Drivers Filter Drivers Filter Drivers –Virus protection, compression, encryption File System Drivers.
Lecture 10: The FAT, VFAT, and NTFS Filesystems 6/17/2003 CSCE 590 Summer 2003.
1 File Management in Representative Operating Systems.
File System Variations and Software Caching May 19, 2000 Instructor: Gary Kimura.
Wince File systems. File system on embedded File system choice on embedded is important –File system size can be an issue –Different media are used –
5.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 5: Working with File Systems.
Disk Volume Management CSS-1. Terms  Extent – any contiguous set of clusters  Partition – extent treated as a disk  Volume - partition formatted with.
BACS 371 Computer Forensics
Tasks Necessary for Setting Up a Hard Disk Initializing the disk with basic or dynamic storage type Creating partitions on basic disks or volumes on dynamic.
Lesson 7-Creating Network File Systems. Overview Understand Novell’s network file system (NFS). Understand Windows file storage. Utilization of NFS.
1 Partitioning a Hard Drive ©Richard Goldman Revised January 8, 2001 Revised December 9, 2002.
Objectives Learn what a file system does
Mastering Windows Network Forensics and Investigation Chapter 7: Windows File Systems.
®® Microsoft Windows 7 for Power Users Tutorial 5 Comparing Windows 7 File Systems.
Disk Structures. CTEC 1102 Formatting a Disk Two parts to formatting a disk:  Low-level (physical) formatting  High level (logical) formatting Low-level.
BACS 371 Computer Forensics
Chapter 5 Part 2 Secondary Storage Mgt. File Mgt. in Popular OSs
NTFS Architecture NTFS Physical Structure
Dr Damitha Karunaratna University of Colombo school of computing
Window NT File System JianJing Cao (#98284).
Disk Fragmentation 1. Contents What is Disk Fragmentation Solution For Disk Fragmentation Key features of NTFS Comparing Between NTFS and FAT 2.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
File System Implementation Chapter 12. File system Organization Application programs Application programs Logical file system Logical file system manages.
File System Management File system management encompasses the provision of a way to store your data in a computer, as well as a way for you to find and.
File Systems— NTFS versus Ext2FS Yingfei Wang Course: Operating Systems Instructor: Prof. Anvari.
Chapter 3 Partitioning Drives using NTFS and FAT32 Prepared by: Khurram N. Shamsi.
File Systems in Real-Time Embedded Applications March 5th Eric Julien Understanding How the File Allocation Table (FAT) Operates 1.
Lecture 11: The FAT, VFAT, and NTFS Filesystems 6/19/2003 CSCE 590 Summer 2003.
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.
MCSE Guide to Microsoft Windows Vista Professional Chapter 5 Managing File Systems.
Operating System Concepts and Techniques Lecture 18 Information management-2* FFS, UFS2, NTFS M. Naghibzadeh Reference M. Naghibzadeh, Operating System.
Page 1 File Systems and Disk Management Lecture 5 Hassan Shuja 10/19/2004.
Lecture 18 Windows – NT File System (NTFS)
FAT File Allocation Table
Lecture 10 Page 1 CS 111 Summer 2013 File Systems Control Structures A file is a named collection of information Primary roles of file system: – To store.
FILE SYSTEMS. Presented to: Sir. Ahmad Kareem Presented by: Sadia Rasheed Bsit
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems File systems.
Chapter 6 File Systems. Essential requirements 1. Store very large amount of information 2. Must survive the termination of processes persistent 3. Concurrent.
NTFS Filing System CHAPTER 9. New Technology File System (NTFS) Started with Window NT in 1993, Windows XP, 2000, Server 2003, 2008, and Window 7 also.
Digital Forensics Dr. Bhavani Thuraisingham The University of Texas at Dallas Lecture #8 File Systems September 22, 2008.
Disk storage systems Question#1 (True/False) A track is divided into multiple units called sectors.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 3: Windows7 Part 3.
Day 28 File System.
Computer Forensics NTFS File System.
Disks and Formatting Ch 3.
Chapter 11: File System Implementation
Working with Disks Lesson 4.
File System Structure How do I organize a disk into a file system?
Operating Systems (CS 340 D)
CSE451 NTFS Variations and other File System Issues Autumn 2002
Windows XP File Systems
Filesystems.
Partitioning a Hard Drive
Chapter 11: File System Implementation
File Systems Implementation
Chapter 3: Windows7 Part 3.
FILE SYSTEM ANALYSIS Dr Fudong Li
Presentation transcript:

Windows NTFS Introduction to Operating Systems: Module 15

Introduction u FAT family of file systems  FAT12, FAT16, FAT32  Insufficient for networked and corporate environment u NTFS goals  Flexible, secure, and highly reliable u NTFS was not entirely new  Based on another file system : HPFS

Architecture and structures u How information is stored in an NTFS partition  Virtually every structure is, itself, a file except the partition boot sector  Metadata files : set of special files where control information about the partition is stored that are created when an NTFS partition is first created  Every file in an NTFS partition is a collection of attributes, including the data that the file contains  View files as being objects with various characteristics; new attribute if needed in the future can be added u All files are stored using a cluster (extent) system

Architecture and structures u Partition/Volume Boot Sector  Begins in the first sector of the partition  Consists of 2 primary structures : BIOS Parameter Block and Volume Boot Code u BIOS Parameter Block contains  Volume label  Size  Location of key metadata files u Volume Boot Code contains  A small block of program code that instructs the system on how to load the OS – generally load NTLDR, the NT loader program

Example hard disk layout

Architecture and Structures u Metadata files  Placed at the beginning of the partition  Files that contain data about data  Contain internal information about the “real” data stored on the NTFS volume  Master File Table (MFT) : one of the metadata files which contains a record describing every file and directory in an NTFS volume u Master File Table  Most important metadata file  A record is created in the MFT when any file or directory is created

Architecture and Structures u File attributes are stored in MFT record as  Resident attributes  Non-resident attributes u Resident attributes  Stored within the MFT record u Non-resident attributes  Stored either in additional MFT records or in extents that lie outside the MFT u When all file attributes stored within MFT record  No additional storage or separate access to disk required

NTFS Files and Data Storage u Some attributes associated with a file  Header  Standard Information (SI) Attribute –time-stamps, read-only, hidden, and other attributes inherited from FAT  File Name (FN) Attribute – name associated with the file  Data Attribute – actual contents of the file  Security Descriptor (SD) Attribute – security information controlling access to the file (beyond the primitive read-only, hidden, etc. attributes from FAT

How data is stored in files u Store entire file in MFT entry if possible u If not fit, data attribute is made non-resident  Entry for data attribute in MFT contain pointers to data runs (extents)  Data runs – blocks of data stored in contiguous section of the volume, outside MFT u No room for list of pointers in the data attribute  List of data attributes pointers is itself made non-resident  No data attribute in the main MFT; a pointer is placed in the main MFT record to a second MFT record u Multiple non-resident MFT records can be created for very large files – more complex

How data is stored in files u Data runs are where most file data in an NTFS volume is stored  Pointers in the data attribute(s) contain a reference to the start of the extent, and also the number of clusters in the extent  The start of each run is identified using a virtual cluster number (VCN)  Not necessary to read each cluster in order to determine where the next one is located  Reduces fragmentation of files

NTFS performance u NTFS advantages  Best for use on volumes of about 400 MB or more  The recoverability designed into NTFS is such that a user should never have to run any sort of disk repair utility on an NTFS partition  Very quick access to small files u NTFS disadvantages  Not recommended for use on volume that is smaller than approximately 400MB  Not possible to format a floppy disk. Overhead involved in NTFS will not fit onto a floppy disk