securely erase Linux directory?

Non Joggler related discussion.
Post Reply
User avatar
dwl99
Posts: 765
Joined: Fri Mar 04, 2011 7:38 am
Location: Glasgow

securely erase Linux directory?

Post by dwl99 »

I've upgraded my elderly Buffalo Linkstation NAS to a rather nifty Zyxel NSA310. Can anyone give me an idiot-proof way to securely erase the contents of the Linkstation's /share directory? I have ssh access. Thanks!
User avatar
acesabe
Posts: 38
Joined: Tue Mar 15, 2011 2:19 pm

Re: securely erase Linux directory?

Post by acesabe »

You are probably limited in what shell functions you have in your Linkstation, but if you have 'shred', that seems to be a good command to overwrite data in a folder. Personally I'd remove the hard drive and completely wipe the whole thing using one of the numerous tools for the job available, but maybe that isn't an option..?
User avatar
dwl99
Posts: 765
Joined: Fri Mar 04, 2011 7:38 am
Location: Glasgow

Re: securely erase Linux directory?

Post by dwl99 »

Thanks - I don't want to break open the enclosure as it's heading for fleabay. Will look into the shred command. Would it be a matter of:

cd /share
sudo shred *.*

or something along those lines?
User avatar
acesabe
Posts: 38
Joined: Tue Mar 15, 2011 2:19 pm

Re: securely erase Linux directory?

Post by acesabe »

OK if you aren't prepared to open up the box, then it would be more a case of using any suitable command (from a Linux environment) to overwrite the network mapped and attached folder on your host computer. If you don't have Linux you could use a live CD to boot your computer, map the NAS drive then nuke the folder.

This post runs through some suggestions on doing that to a Buffalo Linkstation:

http://forum.buffalo.nas-central.org/vi ... 41&t=23059
User avatar
JimbobVFR400
Posts: 264
Joined: Fri Jul 20, 2012 8:39 pm

Re: securely erase Linux directory?

Post by JimbobVFR400 »

I was going to suggest removing the drive. I did look at swapping my 500GB for a bigger drive and it didn't look that difficult from my initial reading. Is it an LS Live, instructions here

http://buffalo.nas-central.org/wiki/Dis ... LS_Live_v2

OT what LS is it? I might be tempted to add a 2nd one as a backup and save you eBay fees. I was experimenting with installing LMS on mine last night and was convinced I'd bricked it, luckily it was in EM Mode and reinstalling firmware brought it back but it was a nervous hour until I fixed it. Phew
User avatar
dwl99
Posts: 765
Joined: Fri Mar 04, 2011 7:38 am
Location: Glasgow

Re: securely erase Linux directory?

Post by dwl99 »

Thanks for the advice, I might give it a go.
It's this one http://tinyurl.com/d3tb6yx - 1TB size. I managed to install the latest LMS on it too so let me know if you need any help with that.
User avatar
JimbobVFR400
Posts: 264
Joined: Fri Jul 20, 2012 8:39 pm

Re: securely erase Linux directory?

Post by JimbobVFR400 »

Well I'm definitely interested in that case.

Mines much older than that one and TBH I don't think it's up to the task.
User avatar
dwl99
Posts: 765
Joined: Fri Mar 04, 2011 7:38 am
Location: Glasgow

Re: securely erase Linux directory?

Post by dwl99 »

I'll double check the model # when I get home but I'm sure it's a LS-CH1.0TL & will PM you then.

I compiled a guide to installing LMS at http://forums.slimdevices.com/showthrea ... post725170 if you wanted to have another go at it!
User avatar
JimbobVFR400
Posts: 264
Joined: Fri Jul 20, 2012 8:39 pm

Re: securely erase Linux directory?

Post by JimbobVFR400 »

I actually think my dedicated SqPOS Joggler is more capable for LMS so I'm gonna stick with it I think.
Post Reply