Quickly Reset the Hard Disk in your ThecusOS Device as New


After testing NAS running ThecusOS 6, I want to clean my hard disk. Thecus provides a neat tool to do this job. It’s easier than resetting hard disk in QNAP.

Use Official Tool

This works only for N2310 N2520 N2560 N4520 N4560 with ThecusOS 6.

Download OS6_clean_HDD_up.zip and unzip. Copy all contents to an empty USB flash drive and boot your NAS with it. It will clean up the disk and power off automatically.

What Has Been Done

After unzip, factory_test.sh is the only executable script files found. Here is the script:

#!/bin/sh
###################################
### For OS6 bin file dd
###################################
## Must use folder gofactory
cp /etc/gofactory/dd.sh /tmp
rm -f /etc/gofactory
rm -rf /mnt2/gofactory
sync

sh /img/bin/clean_raid.sh

echo "Buzzer 1" > /proc/thecus_io
/img/bin/pic.sh LCM_MSG "Clean Disk" "Finish"
sleep 3
echo "Buzzer 0" > /proc/thecus_io

poweroff -f
exit

Unfortunately, I cannot find dd.sh nor clean_raid.sh using find in ThecusOS 6. It seems a different boot image will be mounted while booting with USB flash. Therefore, I don’t know what it has done.

Reference

  1. Linux: My Missing Manual: find: Look for files in directories
  2. Quickly Reset the Hard Disk in your QNAP Device as New
  3. Thecus
  4. Thecus: Support: How to clean N2310 N2520 N2560 N4520 N4560 (OS6) HDD up and doing a brand new initial.
  5. Thecus: OS6_clean_HDD_up.zip
  6. ThecusOS 6

One thought on “Quickly Reset the Hard Disk in your ThecusOS Device as New

  1. bedankt voor je heel nuttig informatie, maar ik heb de USB DISK in de Nas 2520 gedaan maar de server blijf aan staan en doet ie niks verder en ik kan de server niet benaderen. graag help

    Like

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.