Chapter Sixteen Data Recovery and Fault Tolerance.

Slides:



Advertisements
Similar presentations
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:
Advertisements

Storage Management Lecture 7.
By Rashid Khan Lesson 6-A Place for Everything: Storage Management.
CS 346 – April 4 Mass storage –Disk formatting –Managing swap space –RAID Commitment –Please finish chapter 12.
Faculty of Information Technology Department of Computer Science Computer Organization Chapter 7 External Memory Mohammad Sharaf.
CN2140 Server II (V2) Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
Disk Fundamentals. More than one platter (round cylinders)
Fault tolerance and disaster recovery
Chapter 5: Server Hardware and Availability. Hardware Reliability and LAN The more reliable a component, the more expensive it is. Server hardware is.
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)
File Management Systems
Other Disk Details. 2 Disk Formatting After manufacturing disk has no information –Is stack of platters coated with magnetizable metal oxide Before use,
1 Chapter 6 Storage and Multimedia: The Facts and More.
Chapter 6: Configuring Server Storage, Backup, and Performance Options
CHAPTER Network Reliability: Fault Tolerance and Other Issues.
1 Disk Scheduling Chapter 14 Based on the slides supporting the text.
Operating Systems COMP 4850/CISG 5550 Disks, Part II Dr. James Money.
Servers Redundant Array of Inexpensive Disks (RAID) –A group of hard disks is called a disk array FIGURE Server with redundant NICs.
Session 3 Windows Platform Dina Alkhoudari. Learning Objectives Understanding Server Storage Technologies Direct Attached Storage DAS Network-Attached.
12.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts with Java – 8 th Edition Chapter 12: Mass-Storage Systems.
FDISK Partitioning Hard Disks. History We bought our new hard disk drive –Right size for BIOS and OS –Right connections (PATA/SATA) We installed our new.
Implementing Hard Drives Chapter 10
CS 346 – Chapter 10 Mass storage –Advantages? –Disk features –Disk scheduling –Disk formatting –Managing swap space –RAID.
LAN / WAN Business Proposal. What is a LAN or WAN? A LAN is a Local Area Network it usually connects all computers in one building or several building.
Storage and NT File System INFO333 – Lecture Mariusz Nowostawski Noria Foukia.
Redundant Array of Independent Disks
Day 10 Hardware Fault Tolerance RAID. High availability All servers should be on UPSs –2 Types Smart UPS –Serial cable connects from UPS to computer.
IT Essentials: PC Hardware and Software 1 Chapter 7 Windows NT/2000/XP Operating Systems.
Presented to: Sir Ahmad Karim
N-Tier Client/Server Architectures Chapter 4 Server - RAID Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept RAID – Redundant Array.
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.
Guide to Linux Installation and Administration, 2e 1 Chapter 9 Preparing for Emergencies.
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.
Disk Structure Disk drives are addressed as large one- dimensional arrays of logical blocks, where the logical block is the smallest unit of transfer.
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.
PC Maintenance: Preparing for A+ Certification Chapter 10: Introduction to Disk Storage.
IOS110 Introduction to Operating Systems using Windows Session 5 1.
4.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 4: Organizing a Disk for Data.
MCTS Guide to Microsoft Windows Vista Chapter 4 Managing Disks.
1 Interface Two most common types of interfaces –SCSI: Small Computer Systems Interface (servers and high-performance desktops) –IDE/ATA: Integrated Drive.
Managing Disks and Drives Chapter 13 powered by dj.
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.
CE Operating Systems Lecture 20 Disk I/O. Overview of lecture In this lecture we will look at: Disk Structure Disk Scheduling Disk Management Swap-Space.
I/O Management and Disk Structure Introduction to Operating Systems: Module 14.
Disks Chapter 5 Thursday, April 5, Today’s Schedule Input/Output – Disks (Chapter 5.4)  Magnetic vs. Optical Disks  RAID levels and functions.
Chapter 3 Partitioning Drives using NTFS and FAT32 Prepared by: Khurram N. Shamsi.
Windows Server 2003 硬碟管理與磁碟機陣列 林寶森
McLean HIGHER COMPUTER NETWORKING Lesson 15 (a) Disaster Avoidance Description of disaster avoidance: use of anti-virus software use of fault tolerance.
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 12 – Mass Storage Structures (Pgs )
Fault Tolerance and Disaster Recovery. Topics Using Antivirus software Fault tolerance –Power –Redundancy –Storage –Services Disaster Recovery –Backup/Restore.
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.
Adding a Hard Drive. BIOS / UEFI The Unified Extensible Firmware Interface (UEFI) defines a software interface between an operating system and platform.
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.
1 CEG 2400 Fall 2012 Network Servers. 2 Network Servers Critical Network servers – Contain redundant components Power supplies Fans Memory CPU Hard Drives.
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.
Network-Attached Storage. Network-attached storage devices Attached to a local area network, generally an Ethernet-based network environment.
Windows XP File Systems
Operating System I/O System Monday, August 11, 2008.
Chapter 14 Based on the slides supporting the text
Booting Up 15-Nov-18 boot.ppt.
Chapter 3: Windows7 Part 3.
Overview Continuation from Monday (File system implementation)
Hard disk basics Prof:R.CHARLES SILVESTER JOE Departmet of Electronics St.Joseph’s College,Trichy.
Disk Scheduling The operating system is responsible for using hardware efficiently — for the disk drives, this means having a fast access time and disk.
Storage Management Lecture 7.
Presentation transcript:

Chapter Sixteen Data Recovery and Fault Tolerance

Objectives Just what is it about that hard disk that lets you recover erased data? –How is data stored on the hard drive? –What happens when you delete it? What can different utilities do to help you? What kind of disaster prevention/recovery schemes are available? What is a good backup strategy? What options are there for keeping things going when equipment fails?

Disk Structure and Data Recovery Data geometry is based on cylinders, heads, and the numbers of sectors per track (CHS). A BIOS routine called Int13h controls disk access. Different methods for extending Int13h (the extensions) allow for larger drives.

Disk Structure

Cylinders The minimum data unit on a drive is a sector. –Sectors are 512 bytes. –Hard disks read data in groups of multiple sectors called file allocation units (FAU) or sometimes clusters. Hard disks have multiple platters. Sectors are laid out in concentric rings on the hard disk platter called tracks. All the tracks that form a stack from platter to platter are called a cylinder.

Heads Platters generally store data on the top and bottom surfaces. Each surface requires an independent read/write head. The number of heads tells you how many readable surfaces the disk contains.

Sectors Per Track Int13h was taught to believe that there would always be 63 sectors per track. –In reality, there are far more than that on hard disk drives. –Int13h extensions have methods of interpreting the actual numbers as groups of 63.

Int13h and CHS Cylinder address = 10 bits (1,024 cylinders) Head numbers = 8 bits (256 heads) Sectors per track = 6 (64 sectors) –Sector 0, track 0 on all cylinders is reserved for the master boot record, leaving 63 available. 1,024 x 256 x 63 x 512 (bytes per sector) equals 8,455,716,864 bytes, or 8GB

Int13h Extensions To make drives larger than 8GB, new algorithms were written to intercept data calls and report back to Int13h. Extended CHS (ECHS or Large) –The number of heads is cut and the address bits given to cylinders. –The number of available cylinders is greatly exaggerated. Logical Block Addressing (LBA) –It uses a 28-bit address space. –Each sector is given a number from 0 to whatever. –LBA translates physical sector addresses into logical addresses Int13h can understand.

Disk Structure The master boot record Partitions The file allocation tables

Contents of the Master Boot Record The MBR contains executable code that introduces the file system. Next are the partition tables that map the sectors used by each partition. An OS pointer directs the system to the first line of code used to launch the OS. Immediately following the MBR are the file allocation tables.

Partitions The number and type of partitions required are dictated by the OS. –Windows can be installed on a single partition. –Linux and Unix generally create multiple partitions. The maximum size of partitions and the size of clusters used are a function of OS.

Partition Generation Partitions are created by a utility specific to the OS. –FDISK for WIN9x and earlier –Disk Manager for WIN2K and later –Various utilities exist for Linux and Unix Third-party utilities exist that allow you to create partitions after the OS is installed without damaging the installation.

File Mapping Systems File Allocation Tables (FAT) used by all FAT file systems Master File Table (MFT) used by NTFS File Descriptor Table used by Unix –Whatever it is called, the file mapping tables keep track of what files are stored, what files are open, and where everything belongs. –Mapping tables directly follow the MBR and precede the first formatted partition.

Disk Utilities “Disk Doctors” and disk editors Unformatting utilities File recovery utilities

File Recovery When a file is deleted, the data doesn’t go anywhere. –The file tables are simply rewritten. A good file recovery utility rewrites the file table entry and the data is restored. To permanently delete a file, use a disk wiping utility that writes 0s over the file sectors.

Backup and Recovery Backup hardware Backup software Backup/recovery strategy Backup type Backup rotation

Backup Hardware Tape drives –DAT –DLT –AIC –QIC CD-RW or DVD-RW

Backup Software Nearly every OS comes with a rudimentary backup utility. –For many people, this is sufficient. –For more sophisticated requirements, look into third-party solutions.

The Backup/Recovery Strategy What kind of hardware? What kind of software? Who is responsible for backups? What backup type do you use? What is your backup rotation?

Backup Types Full Incremental Differential Daily File copy

Backup Rotations Nightly versus weekly (versus whenever you happen to think about it) When to use full and when to use differential or incremental The Grandfather Method –A different set of tapes for each week

Off-site Backup Options Off-site storage of tapes made locally Backups made directly to an off-site backup/ recovery agent –Internet options –Internal WAN options

Fault Tolerance Systems can be designed so that defective parts can be replaced on the fly (hot swappable). –Hard disks –PCI –Memory (requires OS that supports the function)

Hot Spares and Cold Spares A hot spare is running and connected all the time. –If a part fails, the hot spare automatically takes over. A cold spare is installed in the system, but not connected. –If a part fails, the administrator can have it hooked up and running in short order.

Hot Sites, Warm Sites, and Cold Sites Hot sites consist of a duplicate server farm with all data constantly replicated from the network to the hot site. Warm sites have a completely configured server farm to which data can be copied with short notice. Cold sites have all the equipment on site, but in the event of failure it must be configured and the data restored.

RAID Redundant Array of Independent Disks –Two or more drives are seen by the system as one drive. –Different levels of RAID have different levels of fault tolerance.

RAID 0 Disk striping without parity Data is written in small pieces to two or more drives. Performance is greatly enhanced, but there is no fault tolerance at all.

RAID 1 Disk mirroring or disk duplexing –Identical copies of the data are stored on two disks. –Mirroring uses a single controller; duplexing puts the second drive on an independent controller. –If one drive fails, the other takes over.

RAID 5 Disk striping with parity –Data is stored on three or more drives. –Recovery data called parity is equally divided over all drives. –If one drive fails, the parity from the other drives fills in the blank. –Storage space equal to one drive (or the partition size used) must be reserved for parity.

RAID 1+0 A RAID 0 array is configured to enhance system performance. An identical RAID 0 array is duplexed on a separate controller. If a drive fails on the primary RAID array, the second array automatically takes over. It requires third-party software to work.

RAID 50 A RAID 5 array is configured on one controller. A duplicate RAID 5 array is configured on a second controller. Four drives must fail before the system goes down completely. It requires third-party software and special controllers to function.