Skip to content
main
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

truenas-smr-check

TrueCommand has a built-in check for known WD SMR disks on connected TrueNAS servers. However, if you don't use TrueCommand, you can still use this bash script to help you identify culprit disks. The script doesn't limit checks just to the WD NAS range of disks (RED), but extends this to any WD SMR disk listed in its database (BLUE, BLACK, etc.).

The latest version identifies known Seagate SMR drives as well.

Status

This script will work with FreeNAS 11.3, and TrueNAS CORE 12.0 or later. Though untested, it may very well work with earlier version of FreeNAS 11.

How to Use

Download the repository to a convenient directory on your TrueNAS system by changing to that directory and running git clone https://github.com/basilhendroff/truenas-smr-check. Then change into the newly created directory and run the script ./smr-check.sh. The script should only take a few seconds to execute. The script is non-invasive and does not leave anything behind once it's run. If SMR disks are detected, the device name, WD SATA disk model and disk serial number of each disk is displayed in a table e.g.


Known SATA SMR disk(s) detected.

 Device |        Model |     Serial Number |
--------------------------------------------
   ada0 |  ST8000VX008 |          xxxxxxxx |
   ada3 |     WD30EFAX |   xxxxxxxxxxxxxxx |

The script SMR database is updated whenever SMR disks is identified. It's important therefore to always download and use the latest version of this script.

Scope

At this stage, only known WD and Seagate SMR disks are checked for.

The database of known SMR disks has been compiled from the following sources:

  1. TrueNAS Community Resource: List of known SMR drives
  2. NAS Compares: List Of WD CMR And SMR Hard Drives (HDD)
  3. HDDScan: What WD and HGST hard drives are SMR?

Disclaimer

Disclaimer It's your data. It's your responsibility. This resource is provided as a community service. Use it at your own risk.

About

A bash script to check for SMR disks on a TrueNAS server

Resources

License

Packages

No packages published

Languages