Title: Understanding and Supporting Hard Drives
1Chapter 7
- Understanding and Supporting Hard Drives
2You Will Learn
- About hard drive technologies
- How communication with hard drive BIOS is
accomplished - How a hard drive is logically organized to hold
data - How to install a hard drive
- How to troubleshoot hard drives
3Hard Drive Technology
- Technology of how the hard drive interfaces with
the system - Technology used within the hard drive to read and
write data to the drive
4Types of Hard Drive Interfaces
- EIDE standards
- Other interface standards
- SCSI
- IEEE 1394
- Fibre Channel
5(No Transcript)
6IDE Channels on a Motherboard
7How Hard Drives Work
- Platter(s) are stacked together and spin in
unison - Read/write heads are controlled by an actuator
and move in unison across disk surfaces as disks
rotate on a spindle - Require hard drive controller for instructions
8Hard Drive with Four Platters
9IDE Technology
- Most hard drives use IDE standards
10Tracks and Sectors on IDE Drive
- Older MFM and RLL technologies
- Have either 17 or 26 sectors per track over
entire drive platter - All tracks contain same number of bytes
- IDE drives use zone bit recording formatting
system - Number of sectors per track is not the same
throughout the platter - Tracks near center have smallest number of
sectors per track
11Older Technologies
12Zone Bit Recording
13IDE Drives
- Low-level formatting
- Track and sector markings are written on hard
drive at the factory - High-level formatting (OS formatting)
- Executed by the OS
- Creating a boot sector, FAT, and root directory
14Hard Drive Manufacturers
15Communicating with the Hard Drive BIOS
- Calculating drive capacity on older drives
- Adjusting for more complex hard drive
organization - Calculating capacity on newer drives
- CHS or normal mode
- Translation methods
- ECHS mode or large mode
- LBA mode
16Calculating Drive Capacity on Older Drives
17Installations Using Legacy BIOS
- Let the BIOS see the drive as a smaller drive
- Upgrade the BIOS
- Upgrade entire motherboard
- Use software that interfaces between older BIOS
and large-capacity drive - Use an adapter card that provides the BIOS to
substitute for system BIOS
18How System BIOS Helps Manage Data Transfer
- Provides interrupt handler for software
interrupts - Automatically detects/configures hard drive
- Helps manage data transfer over I/O bus between
hard drive and memory - Using PIO mode, CPU is in charge
- Using DMA with DMA controller in charge (no CPU
involvement) - With bus mastering using DMA, hard drive BIOS
controls data transfer
19How a Hard Drive Is Logically Organized to Hold
Data
- Requirements to boot from hard drive and get to a
command prompt - Drive must have track and sector markings written
on it - A file system must be installed
- Files needed to boot the PC must be copied to
root directory of drive
20How a Hard Drive Is Logically Organized to Hold
Data
- Steps for preparing a hard drive to hold files
(after physical installation) - Low-level format
- Partition hard drive
- High-level format
21Hard Drive Partitions and Logical Drives
- Partitions
- High-level divisions
- Logical drives (volumes)
- Further division of partitions
- Have letters assigned to them
- Each has its own file system (eg, FAT16, FAT32)
22Drive Partitions and Logical Drives
23Contents of a Partition Table
24How Many Logical Drives?
25When to Partition a Drive
- When installing a new hard drive
- If existing hard drive is giving errors
- If you suspect a virus has attacked the drive
- To wipe hard drive clean and install new OS
26What Happens During Formatting
- OS format for each logical drive creates these
file system items at beginning of each logical
drive - OS boot record
- FAT
- Root directory
27Layout for the Boot Record
28Disk Type and Descriptor Byte
29Installing a Hard Drive
- Set jumpers or DIP switches on drive physically
install drive inside case attach power cord and
data cable - Inform CMOS setup of new drive, or verify that
autodetect correctly detected the drive - Use Fdisk utility to create partition(s) on
drive divide extended partition into logical
drives - Use Format command to high-level format each
logical drive - Install OS and other software
30Prepare for Installation
- Read documentation
- Plan drive configuration
- Prepare work area and take precautions
31Prepare for Installation
32Set Jumpers and DIP Switches
33Set Jumpers and DIP Switches
34Set Jumpers and DIP Switches
35Mount Drive in the Bay
36Mount Drive in the Bay
37Mount Drive in the Bay
38Mount Drive in the Bay
39Mount Drive in the Bay
40Mount Drive in the Bay
41Mount Drive in the Bay
42If Bay Is Too Large
43Use CMOS Setup to Change Hard Drive Settings
44Use CMOS Setup to Change Hard Drive Settings
45Use CMOS Setup to Change Hard Drive Settings
46Use CMOS Setup to Change Hard Drive Settings
47Use Fdisk to Partition a Drive
48Use Fdisk to Partition a Drive
49Use Fdisk to Partition a Drive
50Format Each Logical Drive
- Format C/S
- Format D
- Format E
51Managing and Troubleshooting Hard Drives
- Error messages
- Tools for troubleshooting and maintaining hard
drive - Solving common hard drive problems
- General troubleshooting guidelines
52An Ounce of Prevention
- Make backups and keep them current
- Run antivirus software regularly
- Defragment files scan hard drive occasionally
- Dont smoke around the hard drive
- Dont leave PC turned off for weeks/months at a
time - High humidity can be dangerous for hard drives
- Be gentle with a hard drive
53Commands to Usewith Hard Drives
- Fdisk
- Format
- Defrag and Windows Disk Defragmenter
- ScanDisk to correct cross-linked and lost clusters
54Lost and Cross-Linked Clusters
55ScanDisk fromCommand Prompt
56ScanDisk from the Desktop
57Resolving CommonHard Drive Problems
- Computer recently moved?
- New hardware recently installed?
- New software recently installed?
- Software recently reconfigured or upgraded?
- History of similar problems?
58Common Hard Drive Problems
- Computer will not recognize newly installed hard
drive - Hardware problems
- Hard drive not found
- Invalid drive or drive specification
- Damaged boot record
- Damaged FAT or root directory or bad sectors
- Cannot boot from hard drive
- Drive retrieves and saves data slowly
59Getting Technical Support
- Before you call
- Drive model and description
- Manufacturer and model of computer
- Exact wording of error message, if any
- Description of problem
- Hardware and software configuration for the system
60Chapter Summary
- Hard drive technology
- Communicating with hard drive BIOS
- Logical organization of a hard drive
- Installing and troubleshooting hard drives
- Importance of good backups