DISK THEORY. Disk Theory n How information is stored on disk n How we can take advantage of that when bad things happen.

Slides:



Advertisements
Similar presentations
DAT2343 File Storage and Access © Alan T. Pinck / Algonquin College; 2003.
Advertisements

Hard Disks Low-level format- organizes both sides of each platter into tracks and sectors to define where items will be stored on the disk. Partitioning:
Chapter 12: File System Implementation
Peripheral Storage Devices
Lesson 9 Types of Storage Devices.
Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data.
Types Of Storage Device
Chapter 4 : File Systems What is a file system?
Disk Fundamentals. More than one platter (round cylinders)
Free Space and Allocation Issues
Section 5a Types of Storage Devices.
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)
Lecture 10: The FAT, VFAT, and NTFS Filesystems 6/17/2003 CSCE 590 Summer 2003.
1 Storage Hierarchy Cache Main Memory Virtual Memory File System Tertiary Storage Programs DBMS Capacity & Cost Secondary Storage.
1 CSCD 496 Computer Forensics Lecture 7 File Systems – Windows Winter 2010.
Introduction to Computers Section 5A. home Storage Involves Two Processes Writing data Reading data.
1 Partitioning a Hard Drive ©Richard Goldman Revised January 8, 2001 Revised December 9, 2002.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
CS 346 – Chapter 10 Mass storage –Advantages? –Disk features –Disk scheduling –Disk formatting –Managing swap space –RAID.
Unix File System Internal Structures By C. Shing ITEC Dept Radford University.
LIS508 lecture 5: storage devices Thomas Krichel
Disk Structures. CTEC 1102 Formatting a Disk Two parts to formatting a disk:  Low-level (physical) formatting  High level (logical) formatting Low-level.
 FILE S SYSTEM  DIFFERENT FILE SYSTEMS  FILE SYSTEM COMPONENTS  FILE OPERATIONS  LOG STRUCTERD FILE SYSTEM  FILE EXAMPLES.
Lecture 9: The FAT and VFAT Filesystems 6/16/2003 CSCE 590 Summer 2003.
Lecture No 11 Storage Devices
Bits, Bytes, Files, Hard Drives. Bits, Bytes, Letters and Words ● Bit – single piece of information ● Either a 0 or a 1 ● Byte – 8 bits of information.
1 Interface Two most common types of interfaces –SCSI: Small Computer Systems Interface (servers and high-performance desktops) –IDE/ATA: Integrated Drive.
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.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 15 – The Hard Drive.
Chapter 3 Partitioning Drives using NTFS and FAT32 Prepared by: Khurram N. Shamsi.
Describing Storage Devices  Storage terms  Media is the material storing data  Storage devices manage the media  Magnetic devices use a magnet  Optical.
SECONDARY STORAGE DEVICES. Agenda of Today’s Lecture  Introduction to Hardware  Types of hardware devices  Storage Devices  Secondary Storage devices.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 7 Floppy Drives.
The Functions of Operating Systems Desktop PC Operating Systems.
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.
Chapter 8 External Storage. Primary vs. Secondary Storage Primary storage: Main memory (RAM) Secondary Storage: Peripheral devices  Disk drives  Tape.
Operating System Concepts and Techniques Lecture 18 Information management-2* FFS, UFS2, NTFS M. Naghibzadeh Reference M. Naghibzadeh, Operating System.
1 Floppy Drive Formatting ©Richard Goldman February, 2001.
University of Pennsylvania 10/31/00CSE 3801 Windows File System - FAT originally invented as a method for storing data on floppy disks. later used by MS-DOS.
FAT File Allocation Table
BOOT SECTOR, RDE AND FAT ANALYSIS AND STUDY. FLOPPY CONSTRUCTION 1.Write - Protect Notch. 2.Hub. 3.Shutter. 4.Outer Jacket. 5.Protective Woolen Film.
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.
Chapter 8 File Systems FAT 12/16/32. Defragmentation Defrag a hard drive – Control Panel  System and Security  Administration tools  Defrag hard drive.
File System Department of Computer Science Southern Illinois University Edwardsville Spring, 2016 Dr. Hiroshi Fujinoki CS 314.
CS101 Storage Information.
McGraw-Hill Technology Education
Chapter 11: File System Implementation
Operating Systems (CS 340 D)
Windows XP File Systems
Partitioning a Hard Drive
McGraw-Hill Technology Education
CS-401 Computer Architecture & Assembly Language Programming
File Managements.
Secondary Storage Devices
File Systems Implementation
Lecture 15 Reading: Bacon 7.6, 7.7
Disk Structure Analysis
Lesson 9 Types of Storage Devices.
Sector 25 from the Root Directory (in 32 byte chunks)
File System Implementation
Hard disk basics Prof:R.CHARLES SILVESTER JOE Departmet of Electronics St.Joseph’s College,Trichy.
McGraw-Hill Technology Education
Department of Computer Science
Storage and Multimedia
Recap – Intro to Project 3 and FAT32
FAT File System.
Presentation transcript:

DISK THEORY

Disk Theory n How information is stored on disk n How we can take advantage of that when bad things happen

Writing n Disk covered with iron oxide (rust) n Write Head magnetizes/demagnetizes areas n Similar to audio tape n Information is stored digitally

Physical Organization n Cylinders n Sectors n Tracks

Capacity n High Density 3.5” floppy = 1.44 Mb n 160 tracks/side x 9 sectors/track x 512 bytes/sector x 2 sides = 1,474,560 bytes = 1.44 Mb

Logical Organization n Boot Record n File Allocation Table (FAT) n Root Directory n Data Area

Boot Record n Always the first sector on side one n Contains bootstrap and other systems programs if it is a systems disk n contains info about the disk – bytes/sector, sectors/track, sectors/disk

File Allocation Table n Indicates the status of each sector – free, in use, or damaged n FAT tells us where next segment or file can go

Cluster n Inefficient to keep track of each sector n So, FAT keeps track in groups called Clusters n Usually 2 or 4 sectors in a cluster n Each cluster has a FAT entry

Root Directory n Contains name of each file stored on disk n Pointer to first cluster it is stored in n RD is fixed in size and can point to only 112 files – Cheat by creating more directories

Data Storage n New version covers the old version n What if new version is larger (more clusters)? n File extends to next open cluster (see FAT) n New cluster is linked to original clusters – Called a Fragmented File

File Recovery n File info is not erased, – Its name in Root Directory is erased – FAT changes to reflect an unused cluster n So, info exists until it is covered by new file n Utility programs can retrieve this info!