Check disk and SSD health on macOS
Find out whether your Mac's disk is healthy: check SMART status, rule out a full disk, verify the filesystem, and repair errors from the terminal.
What this covers
Slowdowns, dropped files, or disks that won't mount can mean anything from a full volume to a dying drive. Work through these steps in order: identify the disk, read its health, rule out space issues, and repair the filesystem if needed.
Symptom
Identify the disk you want to check
Before checking health you need the right device. diskutil list shows every internal and external disk, its partitions, and its /Volumes name, so you can pick the exact volume to inspect. It worked when you can see your target disk and note its /dev/diskX identifier.
See every internal and external disk, its partitions, and its /Volumes name from the terminal with one command.
$ diskutil listRead SMART status and filesystem details
diskutil info on your target volume reports the filesystem, APFS role, and SMART health — the quickest way to see whether the drive's self-monitoring reports a problem. If SMART Status says Verified, the drive hardware is reporting healthy; Failing means back up immediately.
Get the device node, filesystem, SMART health, and APFS role of any volume from one command.
$ diskutil info /Volumes/Macintosh\ HDRule out a full disk
Many 'disk problems' are actually capacity problems: a nearly full APFS volume causes slowdowns and errors that mimic drive failure. df -h shows capacity, used, and available space per volume, including the Data volume where your files live. If free space is very low, freeing space may fix the symptom without any hardware issue.
df -h reports capacity, used space, and available space per volume in human-readable units, and on modern macOS it also exposes the APFS Data volume where your real user space lives.
$ df -h
df -h /
df -h /System/Volumes/DataVerify the volume and repair filesystem errors
If the filesystem is the suspect, run a read-only verification of the volume. If verification reports errors, follow up with the repair command for the same device to fix them in place. It worked when verification no longer reports corruption on the volume.
Run Disk Utility's First Aid from the Terminal — check a volume's filesystem and fix errors without the GUI.
$ diskutil verifyVolume /dev/disk3s1▾ Undo
$ sudo diskutil repairVolume /dev/disk3s1Confirm the volume mounts cleanly
A final sanity check: unmount and re-mount the volume. A repaired, healthy volume unmounts without errors and mounts again immediately, with its files listed normally. If it refuses to mount or feels unstable, the drive may need replacement.
Re-attach a stubborn external volume or detach one without ejecting, using diskutil's mount and unmount verbs.
$ diskutil mount /Volumes/MyUSB▾ Undo
$ diskutil unmount /Volumes/MyUSBHow to confirm it worked
SMART Status reads Verified, the volume verifies without errors, and it mounts and unmounts cleanly.
Undo everything
Every command above can be reverted. Run these in order to undo all of it.
$ diskutil unmount /Volumes/MyUSB
sudo diskutil repairVolume /dev/disk3s1Review before running — some steps may not be independent.
Sources
- DISKUTIL(8) - macOS manual pageEvidence: The manual page text contains 'diskutil list' describing it as listing disks with their partitions and identifiers such as disk0s1.
- diskutil - Modify, verify and repair local disksEvidence: Documents the diskutil command with 'list' as its first documented verb for listing disks, including the 'diskutil list' syntax shown on the page.
- About Files and DirectoriesEvidence: Apple's file-system programming guide covering volumes, mount points, and macOS storage layout.
- df — display free disk space (macOS)Evidence: Documents -h human-readable sizes and per-file argument behavior.
- System Information User Guide for Mac - Apple SupportEvidence: Apple's reference for inspecting disks and volumes on macOS, including First Aid-style diagnostics.
Last verified: 2026-09-21
Related guides
A terminal-first walkthrough to find what is holding your external disk open on macOS and eject it safely, from quitting apps to forcing an unmount.
A diagnose-fix-verify walkthrough for a full macOS disk: measure real free space, map APFS volumes, clear local Time Machine snapshots, and confirm the space came back.
Find out why Spotlight returns no results — disabled indexing or a corrupted index — and rebuild it from the terminal.