Disk Structures. CTEC 1102 Formatting a Disk Two parts to formatting a disk:  Low-level (physical) formatting  High level (logical) formatting Low-level.

Slides:



Advertisements
Similar presentations
Chapter 3 Disks and Formatting Ch 3.
Advertisements

Chapter 12: File System Implementation
Windows File Systems CGS2564. Who Cares? C:\Documents\Taxes\Tax04.DOC.
File Systems and Disk Management
Chapter 4 : File Systems What is a file system?
Disk Fundamentals. More than one platter (round cylinders)
Allocation Methods - Contiguous
File Systems Examples.
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)
Operating Systems File Systems CNS 3060.
Lecture 10: The FAT, VFAT, and NTFS Filesystems 6/17/2003 CSCE 590 Summer 2003.
Connecting with Computer Science, 2e
Operating Systems File systems
1 File Management in Representative Operating Systems.
Chapter 7: Configuring Disks. 2/24 Objectives Learn about disk and file system configuration in Vista Learn how to manage storage Learn about the additional.
Chapter 7: Configuring Disks. Configuring File Systems Fat32 –First used with Windows 95 OSR2 –Smaller cluster sizes, more efficient storage up to 32.
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.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Five Managing Disks and Data.
Hard Drive Formatting 1. Formatting Once a hard drive has been partitioned, there’s one more step you must perform before your OS can use that drive:
Implementing Hard Drives Chapter 10
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.
Objectives Learn what a file system does
IT Essentials: PC Hardware and Software 1 Chapter 7 Windows NT/2000/XP Operating Systems.
Chapter 8 File Management
Presented to: Sir Ahmad Karim
®® Microsoft Windows 7 for Power Users Tutorial 5 Comparing Windows 7 File Systems.
 FILE S SYSTEM  DIFFERENT FILE SYSTEMS  FILE SYSTEM COMPONENTS  FILE OPERATIONS  LOG STRUCTERD FILE SYSTEM  FILE EXAMPLES.
Chapter 5 Part 2 Secondary Storage Mgt. File Mgt. in Popular OSs
NTFS Architecture NTFS Physical Structure
Lecture 9: The FAT and VFAT Filesystems 6/16/2003 CSCE 590 Summer 2003.
1 Chapter Overview Floppy Disk Drives Hard Disk Drives.
Window NT File System JianJing Cao (#98284).
Chapter 3 Installing Windows XP Professional. Preparing for installation Pre-installation requirement; ◦ Hardware requirements ◦ Hardware compatibility.
Disk Fragmentation 1. Contents What is Disk Fragmentation Solution For Disk Fragmentation Key features of NTFS Comparing Between NTFS and FAT 2.
PC Maintenance: Preparing for A+ Certification Chapter 10: Introduction to Disk Storage.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
IOS110 Introduction to Operating Systems using Windows Session 5 1.
Computer File Systems ©Richard Goldman November 26, 2001.
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.
Windows NTFS Introduction to Operating Systems: Module 15.
1 EN0129 PC and Network Technology - 1 Sajjad Shami Adrian Robson Gerhard Fehringer School of Computing, Engineering & Information Sciences Northumbria.
The disk surface is divided into tracks. into tracks. 1.
Chapter 3 Partitioning Drives using NTFS and FAT32 Prepared by: Khurram N. Shamsi.
Lecture 11: The FAT, VFAT, and NTFS Filesystems 6/19/2003 CSCE 590 Summer 2003.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 7 Floppy Drives.
Guide to MCSE , Second Edition, Enhanced 1 File Storage Basics Basic storage Centers on partitioning physical disk Dynamic storage New method supported.
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.
OPERAING SYSTEM 1 CA-210 WINDOWS XP. CHAPTER 1 OPERATING SYSTEM FUNDAMENTALS.
Common DOS Commands Additional information. Important DOS Concepts Common DOS Commands  Why format a disk?  Partitioning and Formatting disks  Structure.
Operating System Concepts and Techniques Lecture 18 Information management-2* FFS, UFS2, NTFS M. Naghibzadeh Reference M. Naghibzadeh, Operating System.
DISK THEORY. Disk Theory n How information is stored on disk n How we can take advantage of that when bad things happen.
1 Floppy Drive Formatting ©Richard Goldman February, 2001.
Page 1 File Systems and Disk Management Lecture 5 Hassan Shuja 10/19/2004.
FAT File Allocation Table
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.
Web File System Meeting Presentation October 06. NTFS New Technology File System Muhammad Talha Ekram 2185.
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.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
DIT314 ~ Client Operating System & Administration CHAPTER 7 MANAGING DISKS AND FILE SYSTEM Prepared By : Suraya Alias.
Day 28 File System.
Disks and Formatting Ch 3.
Working with Disks Lesson 4.
Windows XP File Systems
Introduction to Computers
File Systems Implementation
Chapter Overview Operating System Basics
Presentation transcript:

Disk Structures

CTEC 1102 Formatting a Disk Two parts to formatting a disk:  Low-level (physical) formatting  High level (logical) formatting Low-level (physical) formatting:  Sequentially numbers tracks and sectors  Identifies each track and sector  Disk is physically prepared to hold data High-level (logical) formatting:  Determines how OS uses a disk  Builds structure to keep track of location of files  Done so files can be stored and retrieved Disk Structures (31 slides)

CTEC 1103 Formatting a Disk Windows XP Professional monitors status of all disk data sectors One or more sectors are combined into logical units called clusters or allocation units Cluster (allocation unit):  Smallest unit that OS can work with Cluster overhang:  Wasted space on the disk Disk Structures (31 slides)

CTEC 1104 Master Boot Record & Boot Sector Disk Structures (31 slides)

CTEC 1105 Master Boot Record & Boot Sector Master boot record (MBR):  First part of hard disk  Locates bootable partition of hard disk and gives control over to it Boot sector:  First sector on logical drive  Has table of drive’s characteristics  Has bootstrap loader program All disks (including non-system disks) have a boot sector Disk Structures (31 slides)

CTEC 1106 Master Boot Record & Boot Sector FAT non-system error messages:  Non-system disk or disk error  Replace disk and press any key when ready NTFS non-system error messages:  Invalid partition table  Error loading operating system  Missing operating system Floppy disk non-system error messages:  NTLDR is missing  Press any key to restart Windows uses boot sector to identify the type of disk. Disk Structures (31 slides)

CTEC 1107 FAT16, VFAT, and FAT32 Disk Structures (31 slides)

CTEC 1108 FAT15, VFAT & FAT32 FAT ‘s formatting program creates:  Boot record  File Allocation Table (2 copies)  Root directory Logical Structure  of a Disk Disk Structures (31 slides)

CTEC 1109 FAT15, VFAT & FAT32  FAT is a map of disk’s data clusters  FAT number indicates status of cluster (Numbers in FAT.. link clusters that belong to same file) Cluster Size and  Disk Size Number of Sectors in a Cluster Cluster Size in Bytes Cluster Size in KB 3 1/2-inch 1.44 MB1 Sector5121/2 KB 3 1/2-inch 2.88 MB2 sectors1,0241KB 33 MB-64 MB2 sectors1,0241KB 65 MB-128 MB4 sectors2,0482KB 129 MB-256 MB8 sectors4,0964KB 257 MB-512 MB16 sectors8,1928KB 513 MB-1,024 MB32 sectors16,38416KB 1,025 MB-2,048 MB64 sectors32,76832KB Disk Structures (31 slides)

CTEC FAT15, VFAT & FAT32 FAT essential for :  Managing data  Following trail of clusters that make up a file VFAT maintains backwards compatibility and accommodates long file names. FAT32:  Enhancement of FAT file system  Introduced to overcome limitations of VFAT  Does not apply to floppy drives Disk Structures (31 slides)

CTEC FAT15, VFAT & FAT32 Comparison of FAT and FAT32 Disk Structures (31 slides)

CTEC FAT15, VFAT & FAT32 FAT32:  Movable Root Directory  Can be located anywhere on hard disk  Can use backup copy of FAT  Internal backup copy of some critical FAT data structures  Entries in Root Directory limited With smaller clusters:  Table smaller  Takes less time to locate/access file  Increases wasted disk space from cluster overhang FAT32 is best for many small files FAT is best for mostly large files Disk Structures (31 slides)

CTEC The Root Directory Disk Structures (31 slides)

CTEC The Root Diretory Root Directory:  Table that records information about each file on the disk  Changes in root directory table make Windows XP Professional compatible with older Windows and DOS programs  Root directory tells what is on the disk Disk Structures (31 slides)

CTEC The FAT and the Root Directory Disk Structures (31 slides)

CTEC The FAT and the Root Directory  FAT tells where data is on the disk  Number is FAT points to next cluster that holds data in file  EOF (end-of-file) marker indicates there is no more data in file Disk Structures (31 slides)

CTEC The FAT and the Root Directory The Root Directory and FAT Disk Structures (31 slides)

CTEC The Data Portion or the Files Area Disk Structures (31 slides)

CTEC The Data Portion or the Files Area  Largest part of disk is used for storing files  Space is allocated to files on an as- needed basis A file is written to a disk in:  Contiguous clusters or  Non-contiguous clusters Disk Structures (31 slides)

CTEC Understanding the FAT and the Root Directory Disk Structures (31 slides)

CTEC Understanding the FAT and the Root Directory Storing Files Disk Structures (31 slides)

CTEC NTFS Disk Structures (31 slides)

NTFS  File system used determines OS advanced features available to user  For disk security, performance, and efficiency use NTFS file system Advantages of NTFS:  Secure file system  Efficient storage of data  Faster file access  Better data recovery  Can compress files/assign disk quotas  Encryption of files CTEC Disk Structures (31 slides)

CTEC Clusters and NTFS Disk Structures (31 slides)

CTEC Clusters and NTFS NTFS:  Uses FAT cluster scheme for allocating data  Has less overhead NTFS Cluster Size Partition SizeCluster Size in BytesSectors in a Cluster 7 MB-512 MB MB-1,024 MB1,024 (1 KB)2 1,025 MB-2 GB2,048 (2 KB)4 2 GB-2 TB*4.096 (4 KB)8 *A terabyte is 1,099,511,627,776 bytes or 1,024 gigabytes and is abbreviated as TB Disk Structures (31 slides)

CTEC Clusters and NTFS Structure of an NTFS Volume Disk Structures (31 slides)

CTEC Master File Table (MFT) Disk Structures (31 slides)

NTFS Master File Table (MFT) Master File Table (MFT):  Database of all files in system  Used by NTFS to track all files and directories in a volume  Dynamic CTEC Disk Structures (31 slides)

NTFS Master File Table (MFT) MFT is different from FAT: MFT:  Adds security descriptor attribute to file system  Data in file considered to be attribute of file  Allows fast access to files  Eliminates file fragmentation  Attribute stored in MFT considered resident attribute  Any resident forced out to an extent is nonresident attribute Folders treated as files in NTFS:  Small folder – Index Root attribute  Folder entries will fit into MFT – new extent nonresident attribute called index buffer CTEC Disk Structures (31 slides)

CTEC Deciding on a File System Disk Structures (31 slides)

Deciding on a File System Formatting:  Floppy disk – always FAT file system  Hard disk – you decide  Can convert FAT to FAT32/NTFS  Cannot convert FAT32/NTFS to FAT CTEC Disk Structures (31 slides)