The A+ Exams Guide: (Exam 220-301), (Exam 220-302) (TestTakers Guides)

 < Day Day Up > 


There have been many names associated with the hard drive since its inception. It has been called the hard disk, the fixed disk, Direct Access Storage Device (DASD), and the C drive. For the purposes of our A+ Core Hardware test study focus, we will use the terminologies hard drive and hard disk.

The hard drive is a component attached to a computer system unit in a fixed manner. It is usually installed in a drive bay that is inaccessible from the front of the system unit. When purchasing a computer, it is important to consider a system unit that has enough drive bays available to support multiple hard drives. You may wish to expand your storage capabilities in the future.

The hard drive is used as a mass storage device for data and programs. The hard drive is made up of metal platters, a spindle motor, an actuator arm, and a set of read/write heads. Hard drive space is measured in kilobytes, megabytes, and gigabytes.

Today's hard drives generally have a storage capacity between 10GB and 40GB, and rotation speeds between 5200 and 7400 Revolutions Per Minute (rpm).

In order for data to be stored, organized, and retrieved from a hard drive in a timely, organized fashion, the hard drive's media (platters) must be divided into separate tracks, sectors, cylinders, and clusters. The sizes of these separations are collectively known as a hard drive's geometry.

As mentioned earlier, a hard drive's components are similar to a floppy drive's. Some of the main components and organizational units that make up a hard drive are listed below.

Hard Drive Partitioning and Formatting

Two primary methods are used to prepare hard drives for supporting operating systems and applications: partitioning and formatting. Without being partitioned and formatted with an organized, logical file structure, a hard drive would be nothing more than a large metal paperweight. A hard drive must have the following processes done to it in order to be useful.

Partitioning

A hard drive normally receives a low-level format and is partitioned at the factory. If you receive or purchase a hard drive without a preinstalled operating system, you will need to partition and format the drive yourself.

Partitioning is the process of dividing one physical hard drive into separate areas of storage. In other words, you can create several logical hard drives out of one physical hard drive. This is useful for file storage purposes, installing multiple operating systems, and supporting multiple file system structures, such as FAT32 and NTFS (NT File System). Two partition types can be created on a hard drive: primary partitions and extended partitions.

DOS, Windows 3.x, and the early versions of Windows 95 are FAT16 operating systems, and will allow you to create only a single partition size up to 2GB. If you want to use more than 2GB of hard drive space with these operating systems, you will need to create multiple partitions of 2GB. If you want to use more than 2GB for a single partition on a single hard drive, you will need to use a newer operating system that supports FAT32 or NTFS file systems. Windows 98, Windows 2000, and Microsoft Me allow you to create a single partition of up to 4TB (terabytes).

FDISK

FDISK is a common DOS utility program that enables the partitioning of a hard drive. FDISK is located on a DOS bootable disk and is run from the command prompt.

To use FDISK, simply enter 'FDISK' at a command prompt. If your hard drive is larger than 512MB, a menu appears that asks if you would like to enable large disk support. You have the option of replying 'Y' for yes or 'N' for no. Pressing 'Y' accepts the default of yes, and you are presented with the FDISK Options menu. At the FDISK Options menu, you can create one large partition for the whole hard drive. However, if you plan on dividing your hard drive into primary and extended partitions, you will need to use options 1, 2, and 3 to partition the disk accordingly. If you create more than one primary partition, you will need to set one of them as the active, bootable partition. After creating partitions with FDISK and formatting partitions for operating systems and files, you can always use FDISK again to create new partitions. The FDISK Options menu has an option for displaying partition information, which can be a useful tool to assist you with making the right partition choices to suit your needs.

Third-party partitioning programs that will allow you to partition a hard drive through the use of a GUI can be purchased.

Note 

For the test, you can use FDISK to divide a hard drive into three primary partitions and one extended partition. The extended partition can be divided into 23 logical partitions. If you are installing a new hard drive and receive an 'Invalid Media Type' error message after booting the computer, you will need to use the FDISK utility to repartition the drive and set the active partition. If you run FDISK after installing a large hard drive, and the entire space available on the new drive is not recognized, chances are your BIOS did not recognize the hard drive changes or was not updated before you ran FDISK.

It is important to note that FDISK has an undocumented switch called /MBR. This switch causes FDISK to write the master boot record to the hard disk without altering partition table information. If you use the command FDISK /MBR, you will replace a systems boot loader with a generic boot loader. This is typically done if the originally installed system boot loader has become corrupted. Many viruses are written to infect a system's master boot record. Running the FDISK /MBR will also help remove these MBR infector viruses.

Formatting

Before an operating system or application can be installed on a partitioned hard drive, the drive must be formatted. Formatting is a two-level process that prepares a partition on a hard drive to accept an operating system, along with files and programs.

Two levels of formatting are implemented before the operating system is installed:

FORMAT.COM is a DOS utility program that is also run from the DOS command prompt. The FORMAT command will allow you to format the hard drive in preparation for an operating system. You can also format the hard drive from within an operating system, such as Windows, if the operating system supports FORMAT.

From a DOS command prompt, type

FORMAT D:

You can replace D: in this example with the letter of any drive you wish to format.

ScanDisk and Defrag

Over time, the constant use of your hard drive can cause the sectors to get worn out or damaged. Utility programs such as ScanDisk, Norton Utilities, and Check It are available to help you identify bad sectors on a hard drive. If you are developing bad sectors on your hard drive, it is a good idea to run ScanDisk and select the 'Thorough' option in the ScanDisk settings options. This runs a complete scan of your hard drive and attempts to fix any bad sectors it finds.

When files are written to a hard drive, they are not stored in contiguous order (one file written directly after another file). Files are stored in a noncontiguous order (anywhere there are available blocks of space). After a while, this can cause the clusters on your drive to become fragmented. It takes time for the CPU to request a file from the hard drive, and it takes even more time if the files are not in any order. Windows offers a built-in utility program called Disk Defragmenter that will help put clusters of files into a contiguous, structured order. Running Disk Defragmenter, or defrag, can increase the disk access time and the overall performance of your system. If a customer complains that his or her system is getting slower over time, running the defragmenter utility will most likely assist you with restoring the customer's disk access time. It is important to note that Windows 9.x, Windows Me, and Windows 2000 offer a built-in defragmenter utility. Windows NT does not. This is discussed in more detail in Section 2 of this book.


 < Day Day Up > 

Категории