2/17 How Disk Storage Works Roll call. Video: disk storage. Step-by-step lecture.

Slides:



Advertisements
Similar presentations
A device that reads and writes data on a magnetic disk or tape. For writing, the surface of the disk or tape is moved past the read/write head. By discharging.
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 4 Storing Information in a Computer Peter Nortons Introduction to Computers.
Chapter 12: File System Implementation
Peripheral Storage Devices
Lesson 9 Types of Storage Devices.
Hard Drives Storing Information 1 Byte at a Time.
Types Of Storage Device
Disk Fundamentals. More than one platter (round cylinders)
SEMINAR ON FILE SLACK AND DISK SLACK
Section 5a Types of Storage Devices.
Operating Systems File Systems CNS 3060.
CS 104 Introduction to Computer Science and Graphics Problems Operating Systems (4) File Management & Input/Out Systems 10/14/2008 Yang Song (Prepared.
1 Storage Hierarchy Cache Main Memory Virtual Memory File System Tertiary Storage Programs DBMS Capacity & Cost Secondary Storage.
CPSC 231 Secondary storage (D.H.)1 Learning Objectives Understanding disk organization. Sectors, clusters and extents. Fragmentation. Disk access time.
 Contents 1.Introduction about operating system. 2. What is 32 bit and 64 bit operating system. 3. File systems. 4. Minimum requirement for Windows 7.
Storage device.
1 Partitioning a Hard Drive ©Richard Goldman Revised January 8, 2001 Revised December 9, 2002.
Disk Structures. CTEC 1102 Formatting a Disk Two parts to formatting a disk:  Low-level (physical) formatting  High level (logical) formatting Low-level.
1 Storing And Retrieving Information 2 Mass Storage and Files Programs and information (text, image, audio, video) are stored: –Magnetic Magnetic Tape.
2/19 How disk storage works (part II) Roll call. Video: disk storage. Step-by-step lecture: reading from a disk Step-by-step lecture: how a hard drive.
Lecture 9: The FAT and VFAT Filesystems 6/16/2003 CSCE 590 Summer 2003.
Computers: Information Technology in Perspective By Long and Long Copyright 2002 Prentice Hall, Inc. Computers: Information Technology in Perspective.
1 Chapter Overview Floppy Disk Drives Hard Disk Drives.
A+ Guide to Software Managing, Maintaining and Troubleshooting THIRD EDITION Chapter 2 How an OS Works with Hardware and Other Software.
3 1 Data, Information, and Files Ch.4-A; Ch.3-A,B; Ch.10-A FALL 2000 Rob Wolfe.
Lecture No 11 Storage Devices
Introduction to Hard Drives Chapter 6 - Key Terms Information Compiled by Diane Ferris, Michele Henderson & Vicki Kertz.
PC Maintenance: Preparing for A+ Certification Chapter 10: Introduction to Disk Storage.
Copyright Prentice-Hall, Inc Storing & Retrieving Information Chapter 7.
The disk surface is divided into tracks. into tracks. 1.
Hard disk drives It is a non volatile mass storage device. It consists of platters made of aluminum alloy or glass ceramic composite material. Platters.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 15 – The Hard Drive.
OSes: 11. FS Impl. 1 Operating Systems v Objectives –discuss file storage and access on secondary storage (a hard disk) Certificate Program in Software.
CSCI-375 Operating Systems Lecture Note: Many slides and/or pictures in the following are adapted from: slides ©2005 Silberschatz, Galvin, and Gagne Some.
External Storage Primary Storage : Main Memory (RAM). Secondary Storage: Peripheral Devices –Disk Drives –Tape Drives Secondary storage is CHEAP. Secondary.
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.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 7 Floppy Drives.
Storing And Retrieving Information Hard/Fixed Disks Permanently installed and cannot be removed - Data stored on all recording surfaces. - Allows greater.
1 Floppy Drive Formatting ©Richard Goldman February, 2001.
CS101 Storage Information Storage The zeros and ones in the input devices, output devices and process devices are in _______ form and are lost when the.
FAT File Allocation Table
Chapter 7 Volume versus Partition. Cylinder, Head, and Sector (CHS) Hard or fixed disks store information on a revolving platter of metal or glass coated.
2/22 Other data storage methods. Roll call. Video: magneto- optical drives Step-by-step lecture: Zip drives, magneto- optical drives.
Memory The term memory is referred to computer’s main memory, or RAM (Random Access Memory). RAM is the location where data and programs are stored (temporarily),
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.
Storage of Data Letts Chapter 6. Introduction Any system needs to store both programs and data and requires: n a main store for fast access storage; n.
ECE 456 Computer Architecture Lecture #9 – Input/Output Instructor: Dr. Honggang Wang Fall 2013.
Hard Disk Geometry. Physical Sizes ( Also called Form Factor) Hard Drives currently come in 2 main sizes: 2.5” and 3.5” 2.5” Drives are for laptop computers.
File System Department of Computer Science Southern Illinois University Edwardsville Spring, 2016 Dr. Hiroshi Fujinoki CS 314.
Lecture 3 Secondary Storage and System Software I
Copyright © 2003 Prentice Hall, Inc 1 Chapter 4 Storing Data: Electronic Filing Cabinets NEXT SLIDE.
File organization Secondary Storage Devices Lec#7 Presenter: Dr Emad Nabil.
CS101 Storage Information.
Disks and Formatting Ch 3.
Chapter 11: File System Implementation
I/O Resource Management: Software
Hard Drives.
Introduction to Computers
THIS IS Jeopardy. THIS IS Jeopardy With Your Host... Mrs. Glenn.
Lecture 15 Reading: Bacon 7.6, 7.7
Clusters, Sectors, and Files
Modern PC operating systems
Lesson 9 Types of Storage Devices.
Thursday April 19, 2018 (Discussion – Storing and Retrieving Data, Processing the Electronic Crime Scene)
File System Implementation
Hard disk basics Prof:R.CHARLES SILVESTER JOE Departmet of Electronics St.Joseph’s College,Trichy.
Department of Computer Science
Presentation transcript:

2/17 How Disk Storage Works Roll call. Video: disk storage. Step-by-step lecture.

1. Formatting a disk: Why bother? Formatting provides a “street map” for the data to be laid out on. Where’s that data? Image courtesy of Mapquest.com

1A. Formatting a disk A grid of wedges and tracks, made with magnetic “signposts”is laid out across the disk.

1B. Formatting a disk: wedges Wedges are wedge-shaped areas on a disk. Divided radially.

1C. Formatting a disk: tracks Tracks are ring- shaped sections of the disk.

1D. Formatting a disk The read/write heads check these signposts as it reads the disk to know where it is.

2. Sectors The junction of a wedge and a track is called a sector. Sectors can be thought of as city blocks: the 3600 block of Lindell Boulevard -- 1 sector, 1 block.

2A. Sectors make up clusters A cluster is two or more sectors. A cluster is the smallest unit of storage for the disk.

2B. How many sectors to a cluster? EX: a file needs 8K of space. Each sector is 12K big. How much disk space will the file take up? ANS: 24K (2 sectors is the minimum space)

2C. Operating systems differ Different operating systems divide up the disk in different portions. Some are more efficient than others.

3. The FAT and the VFAT A directory file -- File Allocation Table is created in sector 0 of the disk. DOS: FAT Win95: VFAT -- Virtual File Allocation Table

3A. Differences: FAT and VFAT name lengthbits read FAT<=11 char.16 bits VFAT <=25532 VFAT is faster at accessing data than FAT.

4. Writing a file to a disk The program is holding the file in the RAM. When you click “Save”, it asks the CPU to move the file from RAM to a disk. RAM HARD DRIVE

5. First, list it in the VFAT The operating system changes the VFAT to list where the file will be stored in the folders in the directory.

6. Second, find a spot for the file The VFAT also tells the operating system where an available cluster is on the disk. The cluster address lists the track and sectors that make up the cluster.

7. The VFAT to the OS to the BIOS The VFAT tells the OS what the address is of the cluster. The OS hands off the info to the BIOS.

8. The BIOS sends the file The BIOS grabs the file out of the RAM. It tells the disk controller to save the file, starting at the beginning point of the cluster.”

9. Oops! The file’s too big If the file is bigger than the cluster, the VFAT tells the OS where another available cluster is. The BIOS continues sending the file, but now directed to the next cluster.

9A. Oops! The file’s too big The VFAT keeps track of the chain of clusters that the file uses.

10. File’s done! An end of file marker tells the BIOS and VFAT that the transfer is complete.

11. Update the VFAT The file’s record in the VFAT is updated with the various clusters that make up the file.

On 2/19: Reading a file from a disk How a hard drive works 2 nd individual assignment discussion