Title: Understanding and Installing Hard Drives
1Chapter 8
- Understanding and Installing Hard Drives
2You Will Learn
- About hard drive technologies
- How a computer communicates with hard drive
firmware - How a hard drive is logically organized to hold
data - How to install a hard drive
- How to solve hard drive installation problems
3Hard Drive Technologies
- Used by hard drive to interface with the system
- Used within hard drive to read and write data to
the drive
4Hard Drive Subsystem
5Types of Hard Drive Interfaces
- EIDE (Enhanced IDE) interface standards used by
most hard drives - Other interface standards
- IDE (Integrated Drive Electronics)
6EIDE Interface Standards
- Specify data transfer speed more than any other
factor - Considerations when selecting a standard
- Use fastest standard appropriate for range of the
system and size of the drive - Must be supported by the OS, system BIOS on
motherboard, and firmware on the drive - Ultra ATA/100 most popular
7EIDE Interface Standards (continued)
- Modes of transferring data between hard drive and
memory - PIO transfer mode (Programmed Input/Output )
- The original method used to transfer data between
the CPU (through the ATA controller) and an ATA
device. - DMA transfer mode (Direct Memory Access)
- Allows certain hardware subsystems within a
computer to access system memory for reading
and/or writing independently of the CPU.
8EIDE Interface Standards (continued)
- IDE cabling methods
- Parallel ATA (PATA) technology
- Serial ATA (SATA) technology
- Independent device timing
9ANSI Interface Standards
10ANSI
Acronym for the American National Standards
Institute. Founded in 1918, ANSI is a voluntary
organization composed of over 1,300 members
(including all the large computer companies) that
creates standards for the computer industry.
In addition to programming languages, ANSI sets
standards for a wide range of technical areas,
from electrical specifications to communications
protocols. For example, FDDI, the main set of
protocols for sending data over fiber optic
cables, is an ANSI standard.
11IDE Cabling Methods
12IDE Cabling Methods (continued)
13IDE Cabling Methods (continued)
14Configuring EIDE Drives
- EIDE standards support two IDE connections, a
primary and a secondary - Each connection can support up to two IDE devices
for a total of four devices on a system - Primary IDE channel, master device
- Primary IDE channel, slave device
- Secondary IDE channel, master device
- Secondary IDE channel, slave device
15Configuring EIDE Drives (continued)
16Other Interface Standards
- SCSI (small computer system interface)
- USB
- IEEE 1394
- Fibre Channel
17How Hard Drives Work
18How Hard Drives Work (continued)
19Tracks and Sectors on the Drive
20Tracks and Sectors on the Drive (continued)
CAV
Short for constant angular velocity, a technique
for accessing data off of rotating disks. With
CAV, the disk rotates at a constant speed
regardless of what area of the disk is being
accessed. This differs from Constant Linear
Velocity (CLV), which rotates the disk faster for
inner tracks. Disk drives use CAV, whereas
CD-ROMs generally use CLV, though some newer
drives use a combination of CAV and CLV. The
advantage of CAV is that it is much simpler to
design and produce because the motor doesn't need
to change speed. In addition, CLV runs into
problems for very high-speed CD-ROMs because
there's a brief latency whenever the drive needs
to change the rotational speed.
21Tracks and Sectors on the Drive (continued)
22Tracks and Sectors on the Drive (continued)
Zone Bit Recording
A method of recording data on a hard disk drive
whereby the sectors per track on the drive are
not consistent across the platter. In general,
tracks closest to the center have fewer sectors
than tracks toward the outside of the platter
where the tracks are larger and can fit more
sectors.
23Low-Level Formatting
- Occurs at the factory
- Process of writing sector and track markings on
the disk i.e. creates sectors tracks - Expected to last for the life of the drive
24Considerations When Purchasing a Hard Drive
- Capacity
- Spindle speed
- Technology standard
- Cache or buffer size
- Average seek time
- Match drive to motherboard
25Communicating with the Hard Drive Controller
26Calculating Drive Capacity on Older Drives
- For drives less than 8.4 GB
- Determined by number of heads, tracks, and
sectors on the disk, each sector holding 512
bytes of data
27Hard Drive Size Limitations
Operating system Maximum size supported
DOS and Windows 9x FAT16 2.1 GB cannot be used on hard drives that exceed 8.4 GB
Windows NT/2000/XP FAT16 4 GB
Windows 2000/XP FAT32 32 GB
Windows 9x FAT32 137 GB
Windows 2000/XP with Service Pack Larger than 137 GB
28Methods of Retaining Backward Compatibility
- CHS (Cylinder, Head, Sector) mode or normal mode
(for drives less than 528 MB) - Large mode or ECHS (Extended CHS) mode (for
drives between 504 MB and 8.4 GB) - LBA (Logical Block Addressing) mode (for drives
larger than 504 MB) - 33.8 GB limitation and 137 GB limitation
- Device drivers
29Methods of Retaining Backward Compatibility
- CHS (Cylinder, Head, Sector)
- Large mode or ECHS (Extended CHS) mode
- LBA (Logical Block Addressing) mode
The drive was accessed by specifying its
cylinder, head and sector address. More
appropriately, it was referred to as accessing
the drive through its "geometry".
A transition change in the way a drive was
accessed in order to work around the 504 MB
barrier, however, the addressing was still done
in terms of cylinder, head and sector numbers and
then translated one or more times before actually
accessing the drive itself.
It is a means by which a drive is accessed by
linearly addressing sector addresses, beginning
at sector 1 of head 0, cylinder 0 as LBA 0, and
proceeding on in sequence to the last physical
sector on the drive, which, for instance, on a
standard 540 Meg drive would be LBA 1,065,456.
I.e, each sector is assigned a unique "sector
number".
30How a Hard Drive Is Logically Organized to Hold
Data
- Steps for preparing a hard drive to hold files
- Low-level format (usually done at the factory)
- Partitioning the hard drive
- High-level format
31Hard Drive Partitions and Logical Drives
- Active partition Its the bootable partition.
OS installed in this partition. Only one drive
can be set as the active partition on a computer. - Primary partition The primary partition marked
as active contains the OS. Also referred as
System Partition. - Extended partition Can be broken down into
smaller drives accessible to the OS. These drives
are referred to as logical partitions or logical
drives. - Logical partition Exists in an extended
partition.
32Partitions and Logical Drives
33Hard Drive Partition Table in MBR
34Choice of File Systems
- FAT16
- Supported by all Windows systems
- FAT32 (and VFAT)
- Supported by Windows 95 Second Edition, Windows
98, Windows 2000, Windows XP - NTFS
- Supported by Windows NT, Windows 2000, Windows XP
- Each logical drive has its own file system
35Size of Logical Drives
36When to Partition a Drive
- First install a new hard drive
- Existing drive is giving errors
- Suspect a virus has attacked the drive
- Want to wipe a hard drive clean and install a new
OS
37Installing a Hard Drive
- Set jumpers or DIP switches physically install
drive attach power cord and data cable - Inform CMOS of new drive
- If installing an OS on the drive, boot from OS
setup CD (and skip next two steps) - If drive is not intended to hold an OS, use Fdisk
or Disk Management to create partition(s) and
divide extended partition into logical drives - For second drive, use Format command or Disk
Management to high-level format each logical drive
38Prepare for Installation
- Read documentation
- Plan drive configuration
- Prepare work area and take precautions
39Jumper Settings
40Jumper Settings (continued)
41Jumper Settings (continued)
42Mounting the Drive in the Bay
43Mounting the Drive in the Bay (continued)
44Mounting the Drive in the Bay (continued)
45Mounting the Drive in the Bay (continued)
46Mounting the Drive in the Bay (continued)
47Mounting the Drive in the Bay (continued)
48Mounting the Drive in the Bay (continued)
49Mounting the Drive in the Bay (continued)
50If the Bay Is Too Large
51Use CMOS to Change Hard Drive Settings
52Setup for Large-Capacity Hard Drives
53Setup for Large-Capacity Hard Drives (continued)
54Setup for Large-Capacity Hard Drives (continued)
55Using Fdisk to Partition a Drive
56Using Fdisk to Partition a Drive (continued)
57Using Fdisk to Partition a Drive (continued)
58Format Each Logical Drive
- After using Fdisk, you must reboot the PC before
you format the drive - Commands used to format logical drives C, D, and
E - Format C/S
- Format D
- Format E
59Using Windows to Partition and Format a New Drive
- Boot from Window setup CD
- Follow on-screen directions to install Windows on
new drive - The setup process partitions and formats new
drive before it begins Windows installation
60Troubleshooting Hard Drive Installations
- Check CMOS setup to verify that system BIOS
recognizes large drives - Verify status of Fdisk
- Verify that Format C/S was done
- Check configuration of CMOS setup
- Confirm setting of DIP switches or jumpers
- Check connection of power cord and data cable
- Refer to Web site of manufacturer for suggestions
61Summary
- Introduction to hard drive technology
- How a hard drive is logically organized
- Physical characteristics of a hard drive
- How the OS and system BIOS communicate with the
hard drive - How to install a hard drive
- Troubleshooting hard drive installation problems