A hard disk drive (HDD) can be a magnetic drive or a solid-state drive. A magnetic drive comes in two sizes: for desktop computers and for laptops.
A solid-state drive contains NAND flash memory and is more expensive, faster, more reliable, and uses less power than a magnetic drive. Form factors used by SSDs include , mSATA, M.2, and PCIe cards.
Hard drive performance is measured by throughput, IOPS, and latency.
S.M.A.R.T. is a self-monitoring technology whereby the BIOS/UEFI monitors the health of the hard drive and warns of an impending failure.
Interface standards used by hard drives and optical drives include the outdated IDE and SCSI standards, SATA (the most popular standard), and NVMe (applies only to SSDs and the fastest standard).
The three SATA standards provide data transfer rates of 1.5 Gb/sec (using SATA Revision 1.x), 3 Gb/sec (using SATA Revision 2.x), and 6 Gb/sec (using SATA Revision 3.x).
The NVMe standard can be used by SSDs embedded on PCIe expansion cards, SSDs using a U.2/U.3 connector, and SSD M.2 cards using an M.2 slot.
When selecting a hard drive, consider the interface standards, storage capacity, technology (solid-state or magnetic), form factor, spindle speed (for magnetic drives), and interface standard.
SATA drives require no configuration and are installed using a power cord and a single SATA data cable.
Laptop hard drives plug directly into a SATA connection on the system board.
RAID technology uses an array of hard drives to provide fault tolerance and/or improved performance. The following are choices for RAID:
RAID 0 (striping using two drives and improves performance)
RAID 1 (mirroring using two drives and provides fault tolerance)
RAID 5 (parity checking using three drives; provides fault tolerance and improves performance)
RAID 10 (striping and mirroring combined using four drives; provides optimum fault tolerance and performance)
Hardware RAID is implemented using the motherboard BIOS/UEFI or a RAID controller card. Software RAID is implemented in Windows. The best practice is to use hardware RAID rather than software RAID.
Defragmenting a magnetic hard drive can sometimes improve slow performance of the drive. Trimming an SSD improves performance.
Hard drive problems during the boot can be caused by the hard drive subsystem, the file system on the drive, or the files required by Windows when it begins to load. After the boot, bad sectors on a drive can cause problems with corrupted files.
To determine if the hard drive is the problem when booting, try to boot from other media, such as the Windows setup DVD or a bootable USB flash drive.
For problems with a RAID volume, use the RAID controller firmware (on the motherboard or on the RAID controller card) or RAID management software installed in Windows to report the status of the array and to rebuild the RAID volume.
To determine if a drive has bad sectors, use the chkdsk command. You can run the command after booting the system using Windows setup media.
Use the format command to erase everything on a Windows volume.
Use commands within the diskpart utility to completely erase a partition on a hard drive.
Field replaceable units in the hard drive subsystem are the data cable, optional storage card, and hard drive.
File systems a storage device might use in Windows include NTFS, exFAT, FAT32, FAT, CDFS (used by CDs), and UDF (used by CDs, DVDs, and BDs).
CDs, DVDs, and BDs are optical discs with data physically embedded into the surface of the disc. Laser beams are used to read data off the disc by measuring light reflection.
Optical discs can be recordable (such as a CD-R disc) or rewriteable (such as a DVD-RW disc). A BD-R QL (Blu-ray disc quad-layer) can hold 128 GB.
Flash memory cards are a type of solid-state storage. Types of flash memory card standards by the SD Association include SD, MiniSD, MicroSD, SDHC, MiniSDHC, MicroSDHC, SDXC, MicroSDXC, SDUC, and microSDUC. Other memory cards include CompactFlash, XQD, and CFexpress.
Storage devices are an integral part of any computing system. The following table shows the types of storage devices available:
Storage TypeDescription | |
Hard disk drive | A hard disk is a thick magnetic disk encased in a thicker protective shell. Key facts are:
Standard hard drives are categorized as follow:
Some advantages of hard disks are:
Some disadvantages of hard disks are:
SCSI is a standard for transferring data between devices on internal and external computer buses. Though SCSI devices are most commonly used for tape storage devices and hard disks, they can also be used for devices such as CD-ROM drives, scanners, and printers. |
Solid state drive | A solid-state drive is a flash device with a storage capacity similar to a small hard drive. Solid state drives are used as replacements for hard disk drives for storing the operating system, applications, and data files.
The main disadvantage currently for solid state drives is cost. They are often more expensive than comparable hard drives. However, their advantages make them a good choice, especially for portable devices. |
Non-Volatile Memory Express | NVMe is a memory storage device designed to allow access to non-volatile storage media through a PCI express (PCIe) bus. |
Flash devices | Flash memory cards store information using programmable, non-volatile flash memory. Some of the advantages of flash devices are:
Additional advantages of flash devices are:
Common flash memory cards include:
|
Optical disc | Optical discs (such as CDs, DVDs, and Blu-ray discs) are a storage medium that uses lasers for both reading and writing information. Optical discs store information through pits in their reflective coating. As the disc spins, the optical drive sends laser optics to the disk and receives the stored information through the deflected output.
Some disadvantages of optical discs are:
|
Integrated Drive Electronics | An electronic interface allows communication between a motherboard's data paths (or bus) and a computer's hard disks. |
StandardDescription | |
SATA1 | SATA1 is the original SATA standard. It provided for 1.5 Gbps (1500 MBps) data transfer. |
SATA2 | The second generation of SATA devices support up to 3 Gbps (3000 MBps). SATA2 includes the following enhancements:
|
SATA3 | The third generation of SATA devices supports up to 6 Gbps (6000 MBps).
|
eSATA | The external SATA (eSATA) standards are a subset of other standards specifically for externally connected devices.
|
eSATAp | The Power over eSATA or Power eSATA (eSATAp) standard is meant to replace eSATA.
|
You should know the following facts about SATA:
Each SATA drive has its own channel, with a single drive connected to each cable and port.
The cable length can be up to one meter (up to 2 meters for eSATA).
SATA devices use a special 15-pin power connector that supplies 3.3, 5, and 12 volts. You can use an adapter cable to convert a 4-pin Molex connector to a SATA power connector, but if you do, the resulting cable will not have 3.3 volts (3.3 volts are typically not used in most SATA devices).
Devices you can connect using SATA include:
Hard disk drives (HDD)
Optical drives (CD/DVD/Blu-ray)
Solid state drives (SSD)
All new motherboards include support for multiple SATA devices.
Some motherboards include eSATA connectors, or you can use a port connector device to add external ports using the internal SATA connections.
You can also install an adapter card in an available bus slot to increase the number of SATA ports.
Removable storage devices are typically connected through eSATA or USB. A hard drive enclosure allows you to connect a SATA hard drive to a USB port on a computer. This makes the hard drive a form of portable storage.
You connect the boot drive to the lowest SATA channel number of the installed devices. The boot sequence will normally follow the channel order unless a boot priority is specified in the BIOS/UEFI.
When installing a newer SATA2 drive into a system that supports only SATA1, you might need to:
Configure the drive to operate in SATA1 mode. This is typically done by setting a jumper.
Update the BIOS/UEFI to recognize the new drive.
Even with these steps, some SATA2 drives will not work in a motherboard that supports only SATA1. In that case, install a SATA2 controller card.
eSATA cards offer simple connectivity between a host computer and eSATA devices. Remember that you also have the option to use expansion cards as needed.
The following table describes common RAID levels.
RAID LevelDescription | |
RAID 0 (striping) | A stripe set breaks data into units and stores the units across a series of disks by reading and writing to all disks simultaneously. Striping:
|
RAID 1 (mirroring) | A mirrored volume stores data to two (or more) duplicate disks simultaneously. If one disk fails, data is present on another disk. The system switches immediately from the failed disk to a functioning disk. Mirroring:
|
RAID 5 (striping with distributed parity) | A RAID 5 volume combines disk striping across multiple disks with parity for data redundancy. Parity information is stored on each disk. If a single disk fails, its data can be recovered using the parity information stored on the remaining disks. Striping with distributed parity:
|
RAID 10 (stripe of mirrors) | A RAID 10 volume stripes data across mirrored pairs and across multiple disks for data redundancy. If a single disk fails, its data can be recovered using the mirrored information stored on the remaining disks. If two disks in the same mirrored pair fail, all data will be lost because there is no redundancy in the striped sets.
|
Be aware of the following facts about RAID:
Some RAID controllers support combined levels of RAID. For example, RAID 0+1 is a striped array that is mirrored. Other combined configurations that might be supported include RAID 1+0 (also called RAID 10), RAID 5+0, and RAID 5+1.
For all RAID configurations, the amount of disk space used on each disk must be of equal size. If disks in the array are of different sizes, the resulting volume will be limited to the smallest disk. Remaining space on other drives can be used in other RAID sets or as traditional storage.
While some RAID configurations provide fault tolerance in the event of a disk failure, configuring RAID is not a substitute for regular backups.
Another term that is sometimes used with disk arrays is JBOD which stands for just a bunch of disks. JBOD is not a RAID configuration, but like RAID, configures multiple disks into a single logical storage unit.
A JBOD configuration creates a single volume using space from two or more disks.
Spanning is another term for JBOD because the volume spans multiple physical disks.
Data is not striped between disks, but saved to one or more disks (depending on how the operating system decides to save each file). On a new JBOD configuration, data is typically saved to the first disk until it is full. Additional data is saved to the second disk and so on.
Disks used within the spanned volume can be of different sizes.
JBOD uses the entire space available on all disks for data storage (no overhead).
There are no performance or fault tolerance benefits with JBOD.
If one drive fails, you might be able to use disk recovery tools to recover data from the remaining disks.
Optimizing your hard disk drive can improve your computer's overall performance. The following table lists some features you can upgrade to optimize your hard disk performance:
Features | Description |
Upgrade the Hard Disk | Upgrade to the fastest hard disk possible. Hard disk drives come in a variety of different rotation speeds such as:
|
Upgrade the Disk Interface | Upgrading your disk interface will greatly improve the throughput of data to and from your hard disk drive. For optimal performance, consider upgrading to SATA3. This will upgrade your speed to 600 MBps. |
A mostly full drive can run slower than a mostly empty one. The following table contains various methods you can use to clean up a disk drive:
Utility | Description |
Disk Cleanup | Disk Cleanup helps manage disks by locating and disposing of files that can be safely removed from the disk by:
You can type Cleanmgr at the command prompt to run Disk Cleanup. |
Disk Defragmenter | Disk Defragmenter optimizes the performance of your hard drive by joining fragments of files that are in different locations on your hard drive into a single location.
Run Defrag at a command prompt to run Disk Defragmenter in a text mode. |
Check Disk | Check Disk is a utility that verifies the file system integrity of a hard disk. Errors that can be checked and fixed by Check Disk include:
The NTFS file system automatically detects bad sectors as the system operates saving and reading files. You can run Check Disk by typing Chkdsk at a command prompt.
|
Implementing an SSD storage device in a desktop or notebook computer can significantly increase the system's overall performance. However, the same flash memory technology that makes SSDs so much faster than standard hard disk drives also introduces other maintenance and troubleshooting issues.
Issue | Description |
Defragmentation | On an SSD storage device, fragmentation is much less of an issue than it is for standard hard disk drives. File systems such as NTFS still fragment files when writing them to the drive in order to optimize storage space. However, an SSD storage device doesn't have read-write heads, and no repositioning must occur to read heavily fragmented files. As a result, fragmented files can be read as quickly as contiguous files. When working with SSD drives, you should not defragment them as you do standard hard disk drives. This is because SSDs wear out over time. Each cell in a flash memory bank has a finite lifetime and can only be written to and erased a certain number of times before it fails. Running defragmentation utilities causes unnecessary write/erase operations to occur. Use Security and Maintenance in Control Panel to disable automatic disk defragmentation on SSD storage devices. |
Mean Time Before Failure (MTBF) | Because of the way they are constructed, an SSD storage device has a lifespan called the mean time before failure, which is usually much shorter than standard hard disk drives. Each time a write/erase operation occurs, it consumes some of the finite lifetime of the flash memory chips within the SSD device. Be aware that some applications running on the system can overuse SSD storage devices. For example, audio, graphic, and especially video editing applications commonly require a very large number of write/erase operations and can cause SSD storage devices to fail prematurely. However, these applications also benefit greatly from the increased speed offered by SSD storage devices. Therefore, if you chose to use SSDs with these types of applications, you should consider configuring an automatic data backup process (such as Windows Backup and Restore or File History) to protect the data stored on the SSD drive on a traditional hard disk drive. Some system builders implement a mix of storage devices in high performance systems so that:
|
TRIM | One method for extending an SSD device's life is to enable TRIM functionality. TRIM configures the operating system to communicate with an SSD device and to tell it which blocks of data on the device are no longer required and can be wiped clean. This prevents the SSD device from storing unnecessary data and being overused. Later versions of Windows should automatically detect the presence of an SSD device and enable TRIM. You can verify this by opening a command window and entering fsutil behavior query DisableDeleteNotify. This command will return either a 0 or a 1. A value of 0 indicates that TRIM is enabled, but a value of 1 indicates that it is not. If it is disabled, you can manually enable TRIM on an SSD drive by entering fsutil behavior set DisableDeleteNotify 0. |
Resource Troubleshooting
Several commonly observed issues with storage devices are shown here. Be aware that this lesson cannot cover every storage issue and its cause. Instead, several of the more common issues and their causes are addressed. For more complex issues, use all of the resources available in order to identify the problem. This includes the following:
System docs
Knowledge bases
Service manuals
User forums
Storage Drive Types
When troubleshooting storage drives, it is important to know the type of drive you are working with. There are two main types of storage drives that are used in computers: mechanical hard disk drives (HDDs) and solid state hard drives (SSDs). Mechanical hard disks have moving parts that wear out over time. It's not a matter of if an HDD will fail, it's a matter of when it will fail. SSDs don't have any moving parts, but the storage medium they use has finite read/write counts. The more use an SSD gets, the faster it will wear out.
All storage devices have a Mean Time Between Failure (MTBF) rating that is an estimated lifespan for the device. Because of the sealed nature of storage devices, there's really no maintenance you can perform. Instead, you need to decide when it is time to replace the disk. Accordingly, you should implement a data backup plan for your hard disks to ensure the data on them is protected in the event of a failure.
Common Storage Issues
Some common storage device issues and associated resolutions are listed in the following table:
Issue | Device Type | Resolution |
Slow Performance | HDD | Several things can help increase the performance of a slow HDD:
|
SSD | The more an SSD is used, the slower the read/write speed will be.
While features such as TRIM will help to an extent, the best way to maintain high performance is keeping an SSD below 90% capacity. | |
Failure to Boot (OS not Found) | HDD/ SSD | A failure to boot with an error message that reads something to the effect of "OS Not Found" could be trivial or serious. Common causes include the following:
|
Drive not Recognized by the BIOS/UEFI | HDD/SSD | A modern BIOS/UEFI automatically detects your drives and their geometry during POST. In older systems, you had to manually enter the disk geometry and it was very common for a wrong value to be entered. In modern systems, this rarely happens. If the BIOS can't detect your drive, it's usually caused by one of three things.
|
Application Crash | If an application you are using crashes, an error has occurred that gives you no choice except to exit the application. Sometimes you can fix the problem by rebooting the computer. You may need to debug your system. Check log files for errors that provide clues about what might have caused the crash. | |
Crash Screens | If you experience a Blue Screen of Death (BSOD) on a Windows machine or Spinning Pinwheel of Death (SPOD) on a MAC, several events may have occurred. You could have a fatal system error that is preventing the system from operating safely, or just one application may have failed. Often, rebooting the computer solves the problem. If that doesn't work, you can attempt to revert the system to a previous state to undo any software or hardware changes that are causing problems. Scan your computer for viruses, roll back drivers, update drivers, update your operating system, update BIOS or return them to their factory settings, repair permissions, or clear the dyld cache. | |
Drive Noise | HDD | Excessive or unusual drive noise is almost always indicative of a failing hard disk. For example, a clicking noise coming from the drive usually indicates one or more failing heads. |
An optical disc is a round flat medium used to store various types of data. The data stored on an optical disc is read using a laser. Reading from an optical disc is normally slower than reading from a hard disk drive or solid-state drives (SSD). The following table lists several types of optical media and a brief explanation of each.
Optical MediaCharacteristics | |
Compact Disc | CDs were first developed to store digital music. Later, the CD technology was adapted to store digital computer data. A CD:
CD-ROM stands for compact disc read-only memory. CD-ROMs are identical in appearance to audio CDs. CD-ROMs store and retrieve data in a very similar manner to CDs. CD-ROMs:
CD-RW stands for compact disc rewritable.
|
Digital versatile disc | A DVD is an optical media standard that can be used to store large amounts of different types of data, such as computer data, video, and audio. Most DVD drives can read and write.
|
Blu-ray disc | Blu-ray Disc is a newer optical disc format that is capable of greater storage capacity than DVDs.
|
Be aware of the following when working with optical drives:
When you place a disc in the drive, it can take several seconds for the drive to recognize the new disc and spin up to speed. If you receive a message saying that the drive is not accessible after trying to access a recently inserted new disc, wait a few seconds and try again.
If you install a new hard drive, the drive letter for your optical drive might change. Software programs or shortcuts that rely on the old drive letter may not run properly until they have been told the correct drive letter for the drive.
Access time is a general measure of drive performance.
Like hard drives, average access time includes average seek time and average latency time.
However, it also includes average spin up/down time. This is the time required for a drive to spin up or down to the proper speed to read the data from that particular location of the disc.
If the drive tray won't open for some reason (such as the power being off), you can insert a straightened paper clip in the small hole beneath the drive door to eject the drive tray.
Use the following precautions to protect optical discs:
Some recordable discs use a foil placed on the top of the disc instead of imbedding the foil inside the plastic. Be very careful when working with these types of discs. A scratch or even some types of markers can damage this layer.
To help prevent scratching, keep the disc in its case when not being used.
To minimize the effect of scratches that might be generated while wiping a disc, wipe the disc in straight lines from the center to the edge (like the spokes of a wheel).
To prevent damage, keep the disc away from direct sunlight and other sources of heat.