Sub topic 8
Storage and RAID failures
This chapter assumes you know the CompTIA troubleshooting steps, can tell an HDD from an SSD, and can run commands in Windows and Linux. It covers how storage fails, how to separate file system damage from hardware failure, and how RAID changes the picture.
Recognizing storage symptoms
Storage faults usually show up as one of these patterns:
| Symptom | Likely cause |
|---|---|
| Clicking, grinding, or repeated spin-up on an HDD | Failing mechanical parts (heads, motor) |
| "No boot device" or "Operating system not found" | Drive not detected, damaged boot record, or wrong boot order |
| Very slow file access, freezes, long boots | Bad sectors, a dying drive, or a nearly full SSD |
| Files vanish or will not open, with read/write errors | File system corruption or bad sectors |
| Drive missing in BIOS/UEFI | Loose or bad cable, dead drive, or failed controller |
| Blue screens citing disk or I/O errors | Failing drive or corrupt system files |
Clicking and grinding mean physical failure. Back up what you can and replace the drive. Do not run repair tools on a drive that is dying, because heavy read activity can finish it off.
Separating software damage from hardware failure
Work from the least invasive check to the most. First check cables and power, then check the drive's health, then check the file system.
Check the drive's health in Windows PowerShell:
Get-PhysicalDisk | Select-Object FriendlyName, MediaType, HealthStatus, OperationalStatusA HealthStatus of Warning or Unhealthy points to hardware trouble. On Linux, ask the drive for its SMART result. SMART is the drive's built-in self-monitoring system.
sudo smartctl -H /dev/sdaA result of PASSED is good. FAILED means replace the drive now.
If the drive is healthy, check the file system for errors:
chkdsk C: /scanThe /scan switch runs an online check without taking the volume offline. If it finds errors, chkdsk C: /f fixes them at the next restart. Adding /r also looks for bad sectors and recovers readable data, but it takes a long time.
RAID basics for troubleshooting
RAID (Redundant Array of Independent Disks) combines several drives into one logical volume. The A+ exam expects you to know what each level tolerates.
| Level | Drives needed | Behavior | Survives a drive failure? |
|---|---|---|---|
| RAID 0 | 2+ | Striping, no redundancy, fastest | No. One failure loses all data |
| RAID 1 | 2 | Mirroring, same data on both | Yes, one drive |
| RAID 5 | 3+ | Striping with parity | Yes, one drive |
| RAID 10 | 4+ | Mirrored pairs, then striped | Yes, one drive per mirror pair |
Parity is extra data that lets the array rebuild a lost drive's contents.
Common RAID failures
- Degraded array: A redundant array (levels 1, 5, 10) lost a drive but still works. Performance drops and the array has no more protection. Replace the failed drive promptly.
- Rebuild: After you swap in a new drive, the controller copies or recalculates data onto it. A second failure during the rebuild can destroy a RAID 5 array.
- Array not found or missing: Check the RAID controller cables and power, then the controller's setup utility. Do not reinitialize the array, because that erases the data.
- Wrong replacement drive: Use a drive of equal or larger capacity, and prefer the same type.
- RAID 0 failure: There is no recovery from the array itself. Restore from backup.
Worked example
A user reports that a workstation boots slowly and freezes. You question the user, then check Get-PhysicalDisk and see HealthStatus: Warning. You back up the data, replace the drive, and restore. You then document the fix. This follows the methodology: identify, theorize, test, plan, implement, verify, document.
Exercise
A server with a RAID 5 array shows a degraded status after one drive fails. Name the next step and one risk during it.
Show answer
Replace the failed drive with one of equal or greater capacity and let the array rebuild. The risk is a second drive failing during the rebuild, which would destroy the array, so confirm a current backup first.
Exercise
A drive clicks repeatedly and chkdsk hangs. Should you run chkdsk /r?
Show answer
No. Clicking indicates mechanical failure. Copy off the data if possible, then replace the drive, because heavy repair reads can worsen the damage.