Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

5.3.2. Storage Diagnostic Tools and Techniques

💡 First Principle: Storage diagnosis proceeds from logical to physical: check the file system and mount status first (quickest), then the RAID array status, then the physical drive, then the controller and cabling. Going straight to physical replacement when a logical issue is the cause wastes expensive drives and time.

Storage Diagnostic Tools
ToolPlatformPurpose
Disk Management (diskmgmt.msc)WindowsView partition layout, status, drive letter assignments
diskpartWindowsCommand-line partitioning and volume management
chkdskWindowsCheck and repair filesystem errors, scan for bad sectors
Event ViewerWindowsDisk, storage controller, and filesystem error events
fdisk / gdisk / partedLinuxPartition management
fsckLinuxFilesystem check and repair (unmounted volumes)
lsblk / blkidLinuxList block devices, show filesystem types and mount points
df / duLinuxShow disk usage and capacity
RAID management CLI/GUIVendor-specificArray status, drive health, rebuild progress
System logsLinux/var/log/syslog, /var/log/messages, dmesg for storage errors
badblocksLinuxScan for bad sectors on a drive
SMART toolsCross-platformsmartctl (Linux), vendor tools (Windows)
Mount-Related Commands

When a drive or network share is inaccessible:

  • net use (Windows): Connect or disconnect network drive mappings; shows current mapped drives
  • mount (Linux): Attach a filesystem to the directory tree; mount -a remounts all filesystems in /etc/fstab
  • umount (Linux): Safely unmount a filesystem before removal
Physical Diagnostic Techniques
  • Visual inspection: Check drive bay LEDs (fault LED lit = drive problem)
  • Auditory inspection: Clicking or grinding from HDD = mechanical failure; replace immediately
  • Cable inspection: Check SAS/SATA data cables and power cables for damage; try known-good cable
  • Re-seat drives: Remove and reinsert in bay to clear oxidation on connector
  • Test with known-good drive: Swap suspected bad drive with confirmed-good drive to verify the bay and backplane are functional

⚠️ Exam Trap: Never run fsck on a mounted filesystem — it will cause additional corruption. fsck must be run on unmounted volumes only (or on the next boot before the volume is mounted). The exam tests this constraint directly.

Reflection Question: A Linux server reports filesystem errors on /var/log. The server is currently running and /var/log is mounted. What must you do before running fsck, and why?

Alvin Varughese
Written byAlvin Varughese
Founder18 professional certifications