570 likes | 742 Views
A+ Guide to Managing and Maintaining your PC, 6e. Chapter 8 Hard Drives. Objectives. Learn how the organization of data on floppy drives and hard drives is similar Learn about hard drive technologies Learn how a computer communicates with a hard drive Learn how to install a hard drive
E N D
A+ Guide to Managing and Maintaining your PC, 6e Chapter 8 Hard Drives
Objectives • Learn how the organization of data on floppy drives and hard drives is similar • Learn about hard drive technologies • Learn how a computer communicates with a hard drive • Learn how to install a hard drive • Learn how to solve hard drive problems A+ Guide to Managing and Maintaining your PC, 6e
Introduction • Hard drive: most important secondary storage device • Hard drive technologies have evolved rapidly • Hard drive capacities and speeds have increased • Interfaces with the computer have also changed • Floppy disk will be presented before hard drives • Floppy disk is logically organized like a hard drive • Practical applications: • Managing problems occurring during drive installation • Troubleshooting hard drives after installation A+ Guide to Managing and Maintaining your PC, 6e
Learning from Floppy Drives • Floppy drives are a fading technology • Replacements: CD drives and USB flash memory • Good reasons for studying floppy drive technology • Developing support skills for legacy applications • Building a foundation for hard drive support skill set A+ Guide to Managing and Maintaining your PC, 6e
How Floppy Drives Work • Secondary storage devices are organized physically and logically • Physical storage: how data is physically written to media • Logical storage: how OS and BIOS view stored data • How data is physically stored on a floppy disk • Two types of floppy disk: 5 ¼ inch or 3 ½ inch • Subsystem: drive, 34-pin cable, connector, power cord - The cable is called a floppy connector or a Berg connector • Formatting: marking tracks and sectors on a disk • Magnetic read/write heads read/write binary 1s and 0s • Heads attach to an actuator arm that moves over surface A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-4 3 1 -inch, high-density floppy disk showing tracks and sectors A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-5 Inside a floppy disk drive A+ Guide to Managing and Maintaining your PC, 6e
How Floppy Drives Work (continued) • How data is logically stored on a floppy disk • Floppy drives are always formatted using FAT12 • Cluster (file allocation unit): smallest grouping of sectors • The BIOS manages the disk as a set of physical sectors • OS treats the disk as list of clusters (file allocation table) • A 3 ½ inch high density floppy disk has 2880 clusters • A cluster contains one sector, which contains 512 bytes • Format floppy disk using Formator Windows Explorer • Structures and features added to the disk • Tracks, sectors, boot record, two FATs, root directory A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-6 Clusters, or file allocation units, are managed by the OS in the file allocation table, but BIOS manages these clusters as one or two physical sectors on the disk A+ Guide to Managing and Maintaining your PC, 6e
How to Install a Floppy Drive • It is more cost-effective to replace than repair a drive • A simple seven-step installation procedure: • 1. Turn off computer, unplug power cord, remove cover • 2. Unplug the power cable to the old floppy drive • 3. Unscrew and dismount the drive • 4. Slide the new drive into the bay • 5. If drive is new, connect data cable to motherboard • 6. Connect data cable and power cord to drive • 7. Replace the cover, turn on computer, verify status A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-8 Connect colored edge of cable to pin 1 A+ Guide to Managing and Maintaining your PC, 6e
How Hard Drives Work • Components of a hard drive: • One, two, or more platters (disks) • Spindle to rotate all disks • Magnetic coating on disk to store bits of data • Read/write head at the top and bottom of each disk • Actuator to move read/write head over disk surface • Hard drive controller: chip directing read/write head • Head (surface) of platter is not the read/write head • Physical organization includes a cylinder • All tracks that are the same distance from disk center A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-10 Inside a hard drive case A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-11 A hard drive with two platters A+ Guide to Managing and Maintaining your PC, 6e
Tracks and Sectors on the Drive • Tracks on older drives held the same amount of data • Newer drives use zone bit recording • Tracks near center have smallest number sectors/track • Number of sectors increase as tracks grow larger • Every sector still has 512 bytes • Sectors identified with logical block addressing (LBA) A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-13 Floppy drives and older hard drives use a constant number of sectors per track A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-14 Zone bit recording can have more sectors per track as the tracks get larger A+ Guide to Managing and Maintaining your PC, 6e
The History of Hard Drive Size • ATA-1 permitted a maximum hard drive size of 504 MB - First ATA drives connected using a 40-pin ribbon cable • LBA allowed for an increase from the max of 504 MB to 8.4 GB by basically lying to the BIOS about its geometry using advanced sector translation - The BIOS was actually causing the limitation • Interrupt (INT) 13 extensions allowed for our next increase - The BIOS was rewritten by Phoenix Technologies and now our maximum size increased to 137 GB • ATA-6 has been the most recent push for drive size and by changing the LBA from 24-bit to 48-bit addressing, drive size has increased to 144 petabytes which is approximately 144,000,000 GB A+ Guide to Managing and Maintaining your PC, 6e
Low-Level Formatting • Two formatting levels: • Low-level: marks tracks and sectors • High-level: creates boot sector, file system, root directory • Manufacturers currently perform most low-level formats • Using the wrong format program can destroy a drive • If necessary, contact the manufacturer for format program • At one time, when a drive started to fail, you’d provide a low-level format and reuse the drive • With drives today, you’ll backup the data and replace drive A+ Guide to Managing and Maintaining your PC, 6e
Drive Capacity for Today’s Drives • The OS reports the capacity of hard drives • Use Windows Explorer to find the size of your drive and the available memory • Right-click the drive letter • Select Propertieson the shortcut menu • Calculating total capacity if the drive is broken up into several logical drives • Record capacity of each logical drive on hard drive • Add individual capacities to calculate total capacity • Reporting total capacity (regardless of formatting) • Windows 2000/XP: use Disk Management A+ Guide to Managing and Maintaining your PC, 6e
Hard Drive Interface Standards • Facilitate communication with the computer system • Several standards exist: • Several ATA standards • SCSI • USB • FireWire (also called 1394) • Fibre Channel • The various standards will be covered A+ Guide to Managing and Maintaining your PC, 6e
The ATA Interface Standards • Specify how drives communicate with PC system • Drive controller interaction with BIOS, chipset, OS • Type of connectors used by the drive • The motherboard or expansion cards • Developed by Technical Committee T13 • Published by ANSI • Selection criteria: • Fastest standard that the motherboard supports • OS, BIOS, and drive firmware must support standard A+ Guide to Managing and Maintaining your PC, 6e
The ATA Interface Standards (continued) • Parallel ATA • Allows two connectors for two 40-pin data cables • Ribbon cables can accommodate one or two drives • Look for pin 1 by the colored stripe on the side of the cable • ATA-5 introduced the 80-wire, 40-pin data cable - Still has 40-pin cable, but 40 more wires provide grounding allowing for the cable to handle higher rates of speed • EIDE (Enhanced Integrated Device Electronics) • Pertains to how secondary storage device works • Drive follows AT Attachment Packet Interface (ATAPI) • Four parallel ATA devices can attach with two cables • Serial ATA (SATA) cabling • Use a serial data path rather than a parallel data path • Types of SATA cabling: internal and external A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-16 A PC’s hard drive subsystem using parallel ATA A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-18 A hard drive subsystem using the new serial ATA data cable A+ Guide to Managing and Maintaining your PC, 6e
The ATA Interface Standards (continued) • DMA (direct memory access) transfer mode • 7 modes (0 - 6) bypassing CPU in transfer of data to RAM • DMA is faster than PIO • PIO (Programmed Input/Output) transfer mode • 5 modes (0 - 4) involving CPU in data transfer • Independent device timing • Enables two drives to run at different speed A+ Guide to Managing and Maintaining your PC, 6e
The ATA Interface Standards (continued) • Configuring parallel ATA drives • Each of two IDE connectors supports an IDE channel • Primary/secondary channels each support two devices • EIDE devices: hard drive, DVD, CD and Zip drives • Devices in each channel configured as master/slave • Designate master/slave: jumpers, DIP switches, cable • Cable-select allows you to use a special cable-select cable and then you set both drives to cable-select • Configuring serial ATA drives • One ATA cable supports one drive (no master/slave) • Use an ATA controller card in two circumstances: • IDE connector not functioning or standard not supported A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-22 A motherboard has two IDE channels; each can support a master and slave drive using a single EIDE cable A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-25 Rear of a serial ATA drive and a parallel ATA drive A+ Guide to Managing and Maintaining your PC, 6e
SCSI Technology • Small Computer System Interfacestandards • For system bus to peripheral device communication • Support either 7 or 15 devices • Provide for better performance than ATA standards • The SCSI subsystem • SCSI controller types: embedded or host adapter • Host adapter supports internal and external devices • Daisy chain: combination of host adapter and devices • Each device on bus assigned SCSI ID (0 - 15) - Host adapter is usually assigned 7 or 15 • A physical device can embed multiple logical devices A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-28 Using a SCSI bus, a SCSI host adapter can support internal and external SCSI devices A+ Guide to Managing and Maintaining your PC, 6e
SCSI Technology (continued) • Terminating resistor • Plugged into last device at the end of the chain • Reduces electrical noise or interference on the cable • Termination is required on the end devices - Some devices are configured to automatically terminate themselves • Various SCSI standards • SCSI are SCSI-1, SCSI-2, and SCSI-3 • Also known as regular SCSI, Fast SCSI, Ultra SCSI • Serial attached SCSI (SAS): compatible with serial ATA • Ensure all components of subsystem use one standard A+ Guide to Managing and Maintaining your PC, 6e
Other Interface Standards • USB (Universal Serial Bus) • USB 1.1 (12 Mbps) and USB 2.0 (480 Mbps) accommodate hard drives • Up to 127 devices • IEEE 1394 (FireWire) – 1394a = 400 Mbps, 1394b = 800 Mbps – Up to 63 devices • Uses serial transmission of data • Device can connect to PC via FireWire external port • Device also attaches to an internal connector • Fibre Channel • Rival to SCSI • 4.8 Gbps • Allows up to 126 devices on a single bus A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-31 This CrossFire hard drive holds 160GB and uses a 1394a or USB 2.0 connection A+ Guide to Managing and Maintaining your PC, 6e
How to Select a Hard Drive • Hard drive must be compatible with the OS and motherboard • BIOS uses autodetection to prepare the device • Drive capacity and configuration are selected • Best possible ATA standard is part of configuration • Selected drive may not supported by BIOS • Troubleshooting tasks (if drive is not recognized) • Flash the BIOS • Replace the controller card • Replace the motherboard A+ Guide to Managing and Maintaining your PC, 6e
Installations Using Legacy BIOS • Older hard drive standards that may be encountered • CHS (cylinder, head, sector) mode for drives < 528 MB • Large (ECHS) mode for drives from 504 MB - 8.4 GB • The 137 GB limitation • How to install a drive not supported by BIOS • Let the BIOS see the drive as a smaller drive • Upgrade the BIOS • Replace the motherboard • Use a software interface between BIOS and drive • Substitute BIOS with ATA connector card and firmware A+ Guide to Managing and Maintaining your PC, 6e
Steps to Install a Parallel ATA Drive • Components needed: • The drive itself • 80-conductor or 40-conductor data cable • Kit to make drive fit into much larger bay (optional) • Adapter card (if board does not have IDE connection) • Steps for installing parallel ATA drive: • Step 1: Prepare for the installation • Know your starting point • Read the documentation • Plan the drive configuration • Prepare your work area and take precautions A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-32 Plan for the location of drives within bays A+ Guide to Managing and Maintaining your PC, 6e
Steps to Install a Parallel ATA Drive (continued) • Steps for installing parallel ATA drive (continued): • Step 2: Set the jumpers or DIP switches • Step 3: Mount the drive in the drive bay • Remove the bay for the hard drive • Securely mount the drive in the bay • Connect the data cables to the drives (can be done later) • Re-insert (and secure) the bay in the case • Install a power connection to each drive • Connect the data cable to the IDE connector on board • Attach bay cover and other connections (if needed) • Verify BIOS recognizes device before adding cover A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-33 A parallel ATA drive most likely will have diagrams of jumper settings for master and slave options printed on the drive housing A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-41 Connect a power cord to each drive A+ Guide to Managing and Maintaining your PC, 6e
Steps to Install a Parallel ATA Drive (continued) • Steps for installing parallel ATA drive (continued): • Step 4: Use CMOS setup to verify hard drive settings • Step 5: Partition and format the drive • If installing an OS, boot from Windows setup CD • If not, use Disk Management utility or Fdisk and Format A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-45 Standard CMOS setup A+ Guide to Managing and Maintaining your PC, 6e
Serial ATA Hard Drive Installations • No jumpers to set on the drive • Each serial ATA connector is dedicated to 1 drive • A simpler installation process than PATA: • Install the drive in the bay (like parallel ATA drive) • Connect a power cord to the drive • Documentation identifies which connector to use • Example: use red connectors (SATA1, SATA2) first • After checking connections, verify drive is recognized A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-48 This motherboard has four serial ATA connectors A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-49 American Megatrends, Inc. CMOS setup screen shows installed drives A+ Guide to Managing and Maintaining your PC, 6e
Installing a Hard Drive in a Wide Bay • Universal bay kit: adapts a drive to a wide bay • Adapter spans distance between drive and bay A+ Guide to Managing and Maintaining your PC, 6e
Figure 8-52 Hard drive installed in a wide bay using a universal bay kit adapter A+ Guide to Managing and Maintaining your PC, 6e
Troubleshooting Hard Drives • Problems occur before and after installation • Problems may be hardware or software related • Hardware-related problems will be addressed A+ Guide to Managing and Maintaining your PC, 6e
Problems with Hard Drive Installations • CMOS setup does not reflect new hard drive • Solution: Enable autodetection and reboot system • Error message: “ Hard drive not found.” • Reseat the data cable and reboot the PC • Error message: “No boot device available.” • Insert bootable disk and restart the machine • Error message 601 appears on the screen • Connect the power cord to the floppy disk drive • Error message: “Hard drive not present” • Restore jumpers to their original state A+ Guide to Managing and Maintaining your PC, 6e