A disk drive is made up of a platter, an arm with a read/write head at the end of it, some gizmo to move the arm back and forth, and some electronics to.

Slides:



Advertisements
Similar presentations
Hard Drives Storing Information 1 Byte at a Time.
Advertisements

Chapter 4 : File Systems What is a file system?
Disk Fundamentals. More than one platter (round cylinders)
SEMINAR ON FILE SLACK AND DISK SLACK
1 X-Ways Security: Permanent Erasure Supervised By: Dr. Lo’ai Tawalbeh Prepared By :Murad M. Ali.
An Introduction to Computer Forensics James L. Antonakos Professor Computer Science Department.
File Systems Implementation
11/29/2005Comp 120 Fall November 4 to go! Questions? Interrupts and I/O devices.
CS 333 Introduction to Operating Systems Class 18 - File System Performance Jonathan Walpole Computer Science Portland State University.
Ceng Operating Systems
1 Outline File Systems Implementation How disks work How to organize data (files) on disks Data structures Placement of files on disk.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts, Amherst Operating Systems CMPSCI 377 Lecture.
Operating Systems File systems
CPSC 231 Secondary storage (D.H.)1 Learning Objectives Understanding disk organization. Sectors, clusters and extents. Fragmentation. Disk access time.
V Material obtained from a summer workshop-July, 2014 in Guildford County.
Hard Drives “ Hard disks store digital information in a relatively permanent form.” --howstuffworks.com.
Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.
Lecture on Electronic Memories. What Is Electronic Memory? Electronic device that stores digital information Types –Volatile v. non-volatile –Static v.
Physical Storage and File Organization COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI.
File Implementation. File System Abstraction How to Organize Files on Disk Goals: –Maximize sequential performance –Easy random access to file –Easy.
1 6 Further System Fundamentals (HL) 6.2 Magnetic Disk Storage.
How Hard Disks Work. Hard disks were invented in the 1950s. They started as large disks up to 20 inches in diameter holding just a few megabytes. They.
Disk Access. DISK STRUCTURE Sector: Smallest unit of data transfer from/to disk; 512B 2/4/8 adjacent sectors transferred together: Blocks Read/write heads.
1Fall 2008, Chapter 11 Disk Hardware Arm can move in and out Read / write head can access a ring of data as the disk rotates Disk consists of one or more.
Hard Drives Ryan2005. What it Does Stores info magnetically hard “platter” holds info.
Components & Mechanism. People & Computers Hard Disk What purpose does it serve?
Component 4: Introduction to Information and Computer Science Unit 4: Application and System Software Lecture 3 This material was developed by Oregon Health.
Binary and Hard Disk Aslin Izmitli PEOPLE Program.
Database Management Systems,Shri Prasad Sawant. 1 Storing Data: Disks and Files Unit 1 Mr.Prasad Sawant.
GENERAL INFORMATION Invented in 1950's on mainframe computers with 20 inches diameter with only few megabytes of data. Originally called 'Fixed Disc'
Storing data – Storage devices and media. What is a storage device?  A storage device is any device used in a computer to store information.  A storage.
Higher Systems Computer Software. Operating System (O/S) ► The O/S controls the computer. It controls communication with peripheral devices. It loads.
By Wendell. Vocabulary  Cable management  Corona wire  Cookie  Defragmentation  Ergonomic keyboard  Fragmentation  Maintenance  Recycle bin 
CS 153 Design of Operating Systems Spring 2015 Lecture 22: File system optimizations.
Practical PC, 7 th Edition Chapter 4: File Basics.
Lecture 3 Page 1 CS 111 Online Disk Drives An especially important and complex form of I/O device Still the primary method of providing stable storage.
Computer Data Expert The following slides are from a presentation developed to support/explain a Data Forensics expert testimony. Click or hit spacebar.
CS4432: Database Systems II Data Storage 1. Storage in DBMSs DBMSs manage large amounts of data How does a DBMS store and manage large amounts of data?
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.
Disk formatting Magnetic disks come in various sizes and so each use different disk drives. Different computers have different ways of organizing data.
CS333 Intro to Operating Systems Jonathan Walpole.
Copyright © Curt Hill Disk Basics Structure and Characteristics of Secondary Storage.
CES Industries, Inc. Hard Disk Drive Lesson 6. 1.Information stored magnetically on the surface of the disk, in a similar fashion to the floppy disk.
By : Craig Messenger What do you know about your hard drive? A hard drive stores all the information on your computer. It has a recording device called.
Disk storage systems Question#1 (True/False) A track is divided into multiple units called sectors.
Section 13.2 – Secondary storage management. Index 13.2 Disks Mechanics of Disks The Disk Controller Disk Access Characteristics.
Magnetic Disk Rotational latency Example Find the average rotational latency if the disk rotates at 20,000 rpm.
CPSC 231 Secondary storage (D.H.)1 Learning Objectives Understanding disk organization. Sectors, clusters and extents. Fragmentation. Disk access time.
Lecture Topics: 11/22 HW 7 File systems –block allocation Unix and NT –disk scheduling –file caches –RAID.
W4118 Operating Systems Instructor: Junfeng Yang.
Lecture 3 Secondary Storage and System Software I
1 Components of the Virtual Memory System  Arrows indicate what happens on a lw virtual address data physical address TLB page table memory cache disk.
File organization Secondary Storage Devices Lec#7 Presenter: Dr Emad Nabil.
Copyright Prentice Hall, Inc. 1 Computers: Information Technology in Perspective, 11e Larry Long and Nancy Long Chapter 5 Storing and Retrieving Information.
CS101 Storage Information.
Jonathan Walpole Computer Science Portland State University
FileSystems.
Welcome To Our Presentation.
Hard Drives.
Introduction to Computing
Disk Drive Fragmentation
Management and Optimization Example File Systems
COMPUTER ICON ON THE DESKTOP
Operating System The OS is JUST A PROGRAM
Operating System The OS is JUST A PROGRAM
THIS IS Jeopardy. THIS IS Jeopardy With Your Host... Mrs. Glenn.
File Management – Implementation
Disk Structure Analysis
Computer Hardware Ms. Wade.
Networks & I/O Devices.
Presentation transcript:

A disk drive is made up of a platter, an arm with a read/write head at the end of it, some gizmo to move the arm back and forth, and some electronics to control it all. Platters are made up of a magnetic material. You can think of it as being made up of billions of little magnets, some with the north pole up (for zeros), some with the south pole up (for ones). The disk drive head floats just above the platter. To read from the disk, a coil in the head can sense the orientation of each tiny magnet, and convert it into a one or zero. To write to the disk, the orientation of the individual little magnets is set by passing an electrical current through the coil. How a Hard Drive Works* *it's actually more complicated, but this is the basic idea...

Tracks and Sectors a Track is a ring on the surface of the disk, like the ring of a tree a Sector is a pie-shaped wedge of a track. Sectors are generally 512 bytes. Data on disk drives is always read and written in blocks of 512. Seek time is the amount of time it takes for the read/write head to move to the right sector on the disk to find the data you want. It depends on how long it takes the head to move back and forth, and how fast the disk rotates.

Deleting Files The operating system keeps a list of the free sectors that are available on the hard drive. When you save information to a file, it picks some sectors from this list and writes your information into them. It stores information about the name of the file and the sectors that file uses in a directory, which is also kept on the disk. When you move a file to the recycle bin, the entry in the directory is just marked in some special way – you can recover it if you change your mind. When you delete the file from the recycle bin, the sectors that it used are put back on the free list, to be reused for some other file. The information in the sectors is not actually erased!

Defrag ment ing If a file is composed of sectors that are spread out all over the disk, it can take a while for the operating system to read it, because the read/write head has to jump around a lot. When this happens, we say that the file is fragmented. After the disk has been used for a while and starts to get full, this can happen frequently, as new files are created from the sectors released from other deleted files. The operating system gives you a way to defragment the drive – to reorganize the files so that the sectors for each file are contiguous – right next to each other on the platter.