Clear critical drive errors so DSM will let you use the drive
If DSM decides a drive is critical DSM stores "status critical" in a database and will not let you use the drive again. If you run an extended S.M.A.R.T. test on the drive in a computer and it says there is nothing wrong with the drive DSM will still refuse to let you use the drive. You can use this script on the Synology to delete that drive's "status critical" entries from DSM's database. Then DSM will let you use the drive again.
NOTE The script does not fix a faulty drive.
If this script does not work use the following method:
- Open Storage Manager and select the drive.
- Click on Actions then select Deactivate.
- Remove the drive from the NAS.
- Reboot.
- Insert the drive.
- Open Storage Manager and click on Repair.
- Select the drive, click Next then Repair.
- Download the latest version Source code (zip) from https://github.com/007revad/Synology_clear_drive_error/releases
- Save the download zip file to a folder on the Synology.
- Unzip the zip file.
How to enable SSH and login to DSM via SSH
Run the script:
sudo -s /volume1/scripts/syno_clear_drive_error.sh
Note
Replace /volume1/scripts/ with the path to where the script is located.
If Storage Manager is already open, close it and then open it again.
Clearing critical error for 2 drives