"Factory reset"

"Factory reset"

Postby hardy74 » Tue Nov 11, 2014 10:14 pm

I'm selling my Lacie and would like to completely factory reset it (to fvdw default/after installation status) and wipe all data (files, passwords from different apps etc). How would I go about doing this?
hardy74
 
Posts: 41
Joined: Wed Nov 07, 2012 3:43 am

Re: "Factory reset"

Postby Jocko » Wed Nov 12, 2014 10:01 am

Hi hardly,

To reset your nwsp2 to fvdw-sl default status (after installation status), you can do:
- copy the attached file in /tmp. I assume that its location is in the share fvdw:
Code: Select all
cp /share/1000/fvdw/sda5-lacie-nwsp.tar.gz /tmp
- remove all data on sda8 in secure manner:
Code: Select all
shred -vzn 0 /dev/sda8
(you may change '0' by '3' for erasing the whole partition with 3 iterations ). Note this step can run a long time.
- create the default public share
Code: Select all
mkdir -m 777 /share/1000/public
From this step: never close your putty session without doing all steps, and check if sda5-lacie-nwsp.tar.gz is present in /tmp!
- in /rw_fs/.ssh, if these files exist:
Code: Select all
unlink /rw_fs/.ssh/authorized_keys
touch /rw_fs/.ssh/authorized_keys
unlink /rw_fs/.ssh/known_hosts
touch /rw_fs/.ssh/known_hosts
- erase all files in /rw_fs/etc: keep only the subfolder dropbear
- untar the attached file
Code: Select all
tar -xvf /tmp/sda5-lacie-nwsp.tar.gz -C /rw_fs
- restore the permissions for /rw_fs/etc
Code: Select all
chmod 777 /rw_fs/etc
- in /rw_fs/etc/dropbear, restore the original rsa key: erase all files except for dropbear_rsa_host_key.org
- rename this key
Code: Select all
 mv /rw_fs/etc/dropbear/dropbear_rsa_host_key.org /rw_fs/etc/dropbear/dropbear_rsa_host_key

Now, you can reboot the NAS, the firmware is fully reset
You do not have the required permissions to view the files attached to this post.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: "Factory reset"

Postby hardy74 » Wed Nov 12, 2014 9:16 pm

Thanks for the very thorough answer. Didn't expect the wipe to take quite this long though... chose 2 wipes and now the first has been running 6 hours and is at 83%

So sometime tomorrow it's done.
hardy74
 
Posts: 41
Joined: Wed Nov 07, 2012 3:43 am

Re: "Factory reset"

Postby hardy74 » Wed Nov 12, 2014 9:43 pm

Decided to leave it with one wipe.

The above process worked. The NAS seems to be back to fvdw default

I'm now moving over to a Synology, to get faster file access speeds, and because the disk in the very old Lacie was starting to break. Perhaps you'll make something cool to Synology's DSM some day...
hardy74
 
Posts: 41
Joined: Wed Nov 07, 2012 3:43 am

Re: "Factory reset"

Postby Jocko » Thu Nov 13, 2014 10:31 am

Hi hardly,

I hope you enjoyed the fvdw-sl experiment and indeed Synology NAS have often better speed performance than LACIE NAS
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France


Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 5 guests