Untitled

Module 5: Supporting Hard Drives and Other Storage Devices

Module Objectives

By the end of this module, you should be able to:

  • Describe and contrast technologies used inside a hard drive and how a computer communicates with a hard drive

  • Select and install a hard drive

  • Troubleshoot hard drives

  • Support optical drives, solid-state storage, and flash memory devices

Hard Drive Technologies and Interface Standards

  • A hard disk drive (HDD), commonly referred to as a hard drive, is characterized by several specifications:

    • Physical size

    • Capacity

    • Speed

    • Technologies used inside the drive

    • Interface standards

Technologies and Form Factors of Hard Drives

Magnetic Hard Drives
  • A magnetic hard drive consists of one or more platters (or disks) that revolve together inside a sealed metal casing.

  • It utilizes firmware to control the reading and writing of data as well as communication with the motherboard.

  • Data is read and written using read/write heads, which are managed by an actuator.

  • Data organization involves:

    • Tracks: Concentric circles on the disk

    • Sectors: Divisions within tracks

  • Common form factors for internal magnetic hard drives are 3.53.5\text{''} for desktops and 2.52.5\text{''} for laptops.

Solid-State Drives (SSD)
  • Also known as solid-state devices, SSDs contain no moving components.

  • Built on nonvolatile memory technology similar to that used in USB flash drives, the memory in SSDs is referred to as NAND flash memory.

  • The lifespan of an SSD is determined by the number of write operations it endures, frequently expressed as:

    • TBW (TeraBytes Written)

    • DWPD (Drive Writes Per Day)

  • SSD advantages:

    • Higher speed

    • Enhanced reliability

    • Longer lifespan

    • Reduced power usage compared to magnetic drives

  • Popular form factors include:

    • 2.52.5\text{''} SSD

    • M.2 SSD card

    • mSATA SSD

    • PCI Express SSD expansion card

Hard Drive Performance Metrics
  • Throughput: Measured in MB/sec, this metric describes the volume of data that traverses a designated point in the data path in one second.

  • IOPS (Input/Output Operations Per Second): Indicates the number of read or write operations executed in one second.

  • Latency: Refers to the duration necessary to complete a data request or transaction.

Logical Block Addressing (LBA) and Capacity
  • Low-Level Formatting: Involves the factory implementation of sector markings on the hard drive. This is distinct from high-level formatting, which prepares the drive for OS installation.

  • Logical block addressing (LBA) is utilized by the hard drive firmware, BIOS/UEFI, and the operating system to address all hard drive sectors, where the size of each block combined with the total number of blocks delineates the drive's capacity.

S.M.A.R.T. (Self-Monitoring Analysis and Reporting Technology)
  • S.M.A.R.T. is employed to anticipate potential drive failures.

  • It is actively monitored by system BIOS/UEFI to track performance metrics including temperature and other operational factors.

  • For magnetic drives, S.M.A.R.T. monitors:

    • Disk spin-up time

    • Distance between read/write head and disk surface

    • Various mechanical activities

  • If a failure is suspected, a warning message is generated that can be enabled or disabled via BIOS/UEFI setup.

Interface Standards Used by Hard Drives

IDE (Integrated Drive Electronics)
  • IDE standards can accommodate one or two IDE connectors on a motherboard, each utilizing a 40-pin data cable.

  • There are two types of IDE cables:

    • The older 40-pin cable, comprising 40 wires

    • A newer variant featuring the same 40-pin connector but containing 80 thinner wires

  • The maximum recommended cable length for IDE is 18 inches.

SCSI (Small Computer System Interface)
  • Supports up to 7 or 15 SCSI-compliant devices within a system.

  • SCSI host adapters, which are expansion cards, utilize a PCIe slot, enabling connections for both external and internal SCSI devices.

SATA (Serial ATA)
  • Currently, the predominant interface standard for hard drives is SATA.

  • SATA employs a serial data path and uses a 7-pin data cable for connecting to single SATA drives.

  • There are three SATA standards:

    • SATA Revision 1.x

    • SATA Revision 2.x

    • SATA Revision 3.x

  • Features of SATA include:

    • Support for hot-swapping (connecting or disconnecting a drive while the system is operational).

    • SATA drives connect to one internal SATA connector on the motherboard via a 7-pin data cable and a 15-pin SATA power connector.

  • The SATA 3.2 revision merges PCIe and SATA technologies into a single standard, termed SATA Express.

eSATA (External SATA)
  • External SATA ports are available for connecting external drives.

  • These drives utilize specialized external shielded SATA cables that can measure up to 2 meters in length.

  • Compatibility considerations for SATA hard drives include:

    1. Matching SATA standards between the drive and the motherboard.

    2. Mismatched standards result in reduced operating speeds to that of the slower component.

NVMe (Non-Volatile Memory Express)
  • The NVMe interface is exclusively used by SSDs, providing substantial performance advantages over SATA.

  • Comparison of NVMe and SATA:

    • Common SATA standard (SATA 3): Up to 6 Gb/sec

    • NVMe:

    • PCIe 4.0: Up to 32 Gb/sec

    • PCIe 3.0: Up to 8 Gb/sec

  • NVMe can be executed via multiple formats:

    • PCIe expansion card

    • U.2 or U.3 slot

    • M.2 port

How to Select and Install Hard Drives

Selecting a Hard Drive
  • Ensure compatibility between the motherboard and the hard drive concerning interface standards.

  • Compatibility considerations to take into account:

    • SATA ports typically utilize color codes to indicate supported standards.

    • M.2 slots may support various standards, including:

    • PCIe 4.0

    • PCIe 3.0

    • SATA 2.x

    • SATA 3.x

    • USB 3.0

    • Note that when an M.2 port utilizes a SATA bus, one of the SATA ports may be deactivated.

    • NVMe expansion cards generally utilize PCIe x4 version 3.0 or higher slots.

  • Other factors when selecting a hard drive include:

    • Technology

    • Form factor

    • Storage capacity

    • Data transfer rate as determined by the drive interface

    • For magnetic drives, spindle speed impacts performance.

Steps to Install a SATA Drive
  1. Protection of Data: Back up significant data to alternative media and confirm accessibility of the data.

  2. Preparation: Understand your system's current configuration and operational status.

  3. Read Documentation: Review installation instructions and envision installation steps while preventing static discharge (ESD), avoiding carpeted surfaces.

  4. Drive Installation:

    • Power down the computer, disconnect it, and discharge residual power.

    • Choose the appropriate bay for the drive and secure it with screws.

    • Connect appropriate SATA and power connectors.

    • Verify that the drive is recognized in BIOS/UEFI setup.

Installing a Drive in a Removable Bay
  • Unplug the cage fan from power.

  • Rotate the handle of each locking device counterclockwise to detach.

  • Slide the bay forwards and out of the case.

  • Position the hard drive within the bay, securing it with two screws on each side.

  • Insert the bay back into the case, reinstall locking pins, and reconnect the cage fan power cord.

Installing an M.2 SSD Card
  • Consult the motherboard manual for supported M.2 card types.

  • Installation steps for the M.2 card:

Measure the card length to select the appropriate screw hole for the M.2 slot

Insert the card straight into the slot without angling upwards.

  1. Secure the card to the motherboard with a standoff screw.

  2. Verify recognition of the M.2 card in BIOS/UEFI setup after system start.

Installing a Hard Drive in a Laptop

  • General steps for replacing a laptop hard drive:

    1. Deactivate the system, disconnect peripherals, and remove the battery.

    2. Unscrew the drive cover.

    3. Detach the cover and remove the existing hard drive.

    4. Insert the new drive, resecure the cover, and initiate the system.

    5. Ensure that BIOS/UEFI recognizes the new drive and searches for an OS.

    6. In the case of a new drive, boot from Windows setup media to install the OS.

Setting Up Hardware RAID

  • RAID (Redundant Array of Inexpensive Disks) technology integrates multiple hard drives to function collectively as an array.

  • Benefits of using RAID:

    1. Enhanced performance by distributing data writes across multiple drives, reducing excess load on a single drive.

    2. Improved fault tolerance by duplicating data onto separate drives.

Types of RAID
  • Spanning: Combines two hard drives to create a single Windows volume, directing data to the second drive once the first is full.

  • RAID 0: Distributes data evenly across multiple disks to prevent any single disk from becoming a bottleneck.

  • RAID 1: Mirrors data across two drives for redundancy and fault tolerance.

  • RAID 5: Utilizes data striping augmented by parity checking, without full duplication of data.

  • RAID 10: A hybrid of RAID 1 and RAID 0 requiring at least 4 disks, involving mirroring across disk pairs.

How to Implement Hardware RAID
  • Hardware RAID setup can be completed through a RAID-enabled motherboard manipulated within BIOS/UEFI or a dedicated RAID controller card.

  • For optimal performance, ensure all drives in the array are identical in brand, size, and speed.

  • For Windows installation on RAID, RAID must be configured prior to the Windows setup.

Troubleshooting Hard Drives

  • Boot problems related to the hard drive may arise from several factors, including:

    • Issues within the hard drive subsystem

    • File system errors

    • Missing files necessary for Windows startup

  • When diagnosing boot problems, determine if the malfunction is hardware or software related.

Slow Performance
  • A common complaint regarding systems is sluggish performance.

  • Overall computer performance is contingent upon the functionality of the CPU, motherboard, memory, and hard drive.

  • Methods to optimize drive performance include:

    • Utilizing Windows tools or utilities the hard drive manufacturer provides.

    • Employing hard drive speed test applications such as DISKSPD.

    • Leveraging Windows Defrag and Optimization tools (dfrgui.exe) for drive optimization.

Migrating Data to a New SSD in a Laptop

Steps for Migration:

  • Install cloning software onto the laptop.

  • Connect a SATA-to-USB data transfer cable to a USB port on the laptop.

  • Connect the new SSD via the SATA-to-USB cable.

  • Follow the prompts to complete data migration.

  • Replace the old hard drive with the new SSD, and install the manufacturer’s drive management software.

Supporting Other Types of Storage Devices

  • This section addresses:

    • File systems utilized by various storage devices.

    • Additional types of storage devices like optical discs, USB flash drives, and memory cards.

File Systems Used by Storage Devices
  • A file system outlines the framework the operating system employs for naming, storing, and organizing files on a drive.

  • In Windows, each storage device receives a drive letter designation, termed a volume.

  • The process of establishing a new file system on a device or logical drive via Windows is known as formatting.

Types of File Systems
  • Common file systems include:

    • NTFS

    • exFAT

    • FAT32 and FAT

    • CDFS (Compact Disc File System) or UDF (Universal Disk Format); with a newer UDF version being applicable for DVDs and BDs (Blu-ray discs).

Standards Used by Optical Discs and Drives
  • CD, DVD, and BD utilize analogous laser technologies with microscopic lands and pits representing bits read by lasers.

  • Optical Discs:

    • Data is recorded on only one side of a CD, whereas DVDs or Blu-ray discs may be written to on both sides.

    • DVDs or BDs can store data on two layers per side.

  • Optical Drives and Burners:

    • Blu-ray drives maintain backward compatibility with DVD and CD technologies.

    • DVD drives hold backward compatibility with CDs.

    • Optical drives may read and write to all three types depending on their features.

    • Modern internal optical drives connect to motherboards via SATA; external drives may utilize either eSATA or USB ports.

Installing An Optical Drive
  • Internal optical drives on contemporary computers deploy a SATA interface and are typically housed in the upper drive bay of a desktop case.

  • After secure installation in the bay, connect data and power cables.

  • Windows natively supports optical drives via embedded drivers upon installation.

  • Use Device Manager to confirm the absence of installation errors.

Solid-State Storage
  • Solid-state storage encompasses SSDs, USB flash drives, and memory cards, with USB flash drives also referred to as flash pen drives, jump drives, and thumb drives.

  • Flash drives can operate at USB 2.0 or 3.0 speeds and commonly employ FAT or exFAT file systems.

  • Windows includes embedded drivers for supporting flash drives.

  • Memory cards are frequently used in portable devices like digital cameras and smartphones, with most laptops containing built-in smart card readers.

Popular Memory Card Types
  • Secure Digital (SD) cards are widely used memory cards, classified by capacity standards:

    • SD 1.x (standard SD)

    • SD 2.x (SD High Capacity, SDHC)

    • SD 3.x (SD eXtended Capacity, SDXC)

    • SD 7.x (SD Ultra Capacity, SDUC)

  • SD cards come in three sizes: full-size, MiniSD, and MicroSD.

  • SD slots maintain backward compatibility with SD cards; however:

    • SDHC cards cannot be utilized in standard SD slots, and

    • SDXC cards are incompatible with SDHC or standard SD slots;

    • Use of SDUC cards is restricted to SDUC slots only.

Summary

By the conclusion of this lesson, you should be capable of:

  1. Describing and contrasting technologies utilized within hard drives and understanding computer communication with hard drives.

  2. Selecting and installing hard drives.

  3. Troubleshooting hard drive issues.

  4. Supporting optical drives, solid-state storage, and flash memory devices.