Solve: Introducing nvme_check.sh – A Safe, Friendly NVMe Diagnostic Tool for Raspberry Pi
Working with NVMe drives on the Raspberry Pi 5 is exciting—but it can also be frustrating. Most users aren’t sure if TRIM is working, or if their drive is mounted correctly, or why performance seems to drop over time. Worse, the common tools (hdparm, nvme-cli, fstrim, etc.) each speak their own strange dialect.
So we built a tool to make it all easier.
nvme_check.sh is a lightweight terminal script designed for Raspberry Pi users running Raspberry Pi OS or Armbian. It wraps essential Linux commands in a simple, menu-based interface—no background changes, no risk, no guesswork.
๐ What It Shows You
๐งช Why We Built It
We ran into a real-world issue helping a fellow Pi user who was trying to diagnose an NVMe slowdown. What should’ve been a few quick commands turned into a mess of hdparm confusion, missing nvme tools, and uncertainty about whether anything was actually working.
That’s when we realized: there's no "one screen" tool for checking NVMe health on a Pi. So we made one.
๐พ Try It Now
You can download the script and find full install instructions here:
๐ Public Gist: nvme_check.sh
If you’re a Raspberry Pi 5 user experimenting with NVMe drives, this tool is for you. If you’re running Debian Bookworm, Raspberry Pi OS, or Armbian—you’re covered.
So we built a tool to make it all easier.
nvme_check.sh is a lightweight terminal script designed for Raspberry Pi users running Raspberry Pi OS or Armbian. It wraps essential Linux commands in a simple, menu-based interface—no background changes, no risk, no guesswork.
๐ What It Shows You
- Which NVMe drive is connected (and how big it is)
- Whether it’s mounted properly and which file system it uses
- Whether TRIM is supported, working, and scheduled
- If the discard option is present for live TRIM
- A quick, safe 100MB read/write test
- NVMe health info via nvme smart-log
- An exportable session log you can share or save
๐งช Why We Built It
We ran into a real-world issue helping a fellow Pi user who was trying to diagnose an NVMe slowdown. What should’ve been a few quick commands turned into a mess of hdparm confusion, missing nvme tools, and uncertainty about whether anything was actually working.
That’s when we realized: there's no "one screen" tool for checking NVMe health on a Pi. So we made one.
๐พ Try It Now
You can download the script and find full install instructions here:
๐ Public Gist: nvme_check.sh
If you’re a Raspberry Pi 5 user experimenting with NVMe drives, this tool is for you. If you’re running Debian Bookworm, Raspberry Pi OS, or Armbian—you’re covered.
Need Raspberry Pi Expertise?
We'd love to help you with your Raspberry Pi projects. Feel free to reach out to us at info@pacificw.com.
Written by Aaron Rose, software engineer and technology writer at Tech-Reader.blog.
Comments
Post a Comment