erase HDD for NS4600

  • Last Post 21 February 2021
Aliaksandr Dzeshchanka posted this 15 April 2020

For some reasons I had to remove on of the HDDs from my NS4600 without removing it from web-interface and use it somewhere for a while. After I've returned it back, I've filled first couple of MB with zeroes and returned it back to NAS. And it begun to check and restore "data" lasting it for couple of days now. There was no RAIDs, plain volume on drive and I need just to use it as storage once again, how should I explain to my NAS this is new HDD and not the old one it know?

Order By: Standard | Latest | Votes
Aliaksandr Dzeshchanka posted this 21 February 2021

Argh, this sucks. Its possible to do everything with IE only :( had to install virtual windows to do it.

R P posted this 27 April 2020

Hi Aliaksandr,

The RAID information is stored in the DDF, which is at the end of the disk. When you zeroed the data in front of the disk, you deleted the disk label and partition information, but not the DDF.

Since you have a NS4600, I'm not sure if this will work or not, but the first thing to try would be to power down the NS4600 (you may have to pull the power temporarily, remove all drives but the one you want to clear, then boot the NS4600 and try and delete the array.

If this does not work, then you will need to use some other tools. The simplest way to clear the DDF is with the Linux 'dd' command. The problem with 'dd' is that it's dangerous if you're not careful, it's also known as 'disk destroyer'. So with that in mind, a computer is needed, ideally with a USB to SATA dock, but you can plug the drive directly onto the motherboard.

To be safe, the idea is to power down the computer, disconnect the SATA cable from the boot disk and any data disks, boot with a linux liveCD or a bootable flash drive (Unubtu should work fine).

Open a terminal and you can see the disks with

sudo fdisk -l

If there is the only one disk attached, your disk will probably be /dev/sda

Then we let 'dd' clean the entire disk. This is probably something like what you've already done...

dd if=/dev/zero of=/dev/sda bs=1M

Note, this will run till it reaches the end of the disk, then it will error out. This is expected and don't worry about the error.

After this, the DDF will be gone and the NS4600 will see the drive as unconfigured and ready for use.

Of course, then you need to reconnect any SATA disks on the computer you used and reboot it.

Always be very careful when working with 'dd', I always like to check things 3 times if other disks are attached.

  • Liked by
  • Yu Qin
Aliaksandr Dzeshchanka posted this 15 April 2020

After I'm removing this HDD I'm still having VOLUME4 colored in red I'm unable to remove