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
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s