Jump to content

[PLUGIN] nwipe (Secure Disk Eraser) for UNRAID


Recommended Posts

nwipe (Secure Disk Eraser) for UNRAID

 

You want to RMA a disk? You want to sell a disk? Feeling a bit anxious about it?

This helps you make sure your precious data on it is gone for good, before you do.

 

nwipe is a fork of the dwipe command originally used by Darik's Boot and Nuke (DBAN).

nwipe is a program that will securely erase the entire contents of disks.

 

It can wipe a single disk or multiple disks simultaneously.

It can operate as both a command line tool without a GUI or with a ncurses GUI.

 

It provides a convenient PDF confirmation that your disk was in fact erased.

The confirmation also includes relevant SMART values, e.g. for prospective buyers.

 

example_wipe.gif.fd7e49a219121b4a81554a0a8b68efa4.gif

 

Here's the websites with the project and documentations:

https://github.com/martijnvanbrummelen/nwipe

https://linux.die.net/man/1/nwipe

 

Installable via Community Applications

 

Edited by Rysz
  • Like 2
  • Thanks 2
Link to comment
Posted (edited)
5 hours ago, JonathanM said:

Are there any failsafes to keep folks from wiping mounted drives?

 

Yes, you have to consciously select the target device in the GUI (which shows the disk ID and diskspace) and then double-confirm to actually wipe it.  In that sense, for a Linux command-line utility, it's pretty generous with confirmations (as opposed to e.g. rm) before doing anything. I attached the project repository and manpages to the top post, so it's more visible that I just made this available for Unraid and am not the creator of the tool (which exists on multiple OS).

 

But thanks a lot for the idea, I did now add a warning message to the starter script, to not wipe any disks which are still still part of an array or pool. 🙂 

 

Edited by Rysz
Link to comment
1 hour ago, Masterwishx said:

@Rysz Thanks for adding cool plugins to Unraid.

Maybe it's good solution to add to unraid Gui the app icon where we can just enable or disable plugin if not needed for now? 

Offcourse we can just remove or install plugin also. 

 

The plugin system offers no way for a plugin to be activated or deactivated at the moment.

It's generally safe to keep this plugin installed (it doesn't do anything without user interaction), but you can also uninstall it until you need it.

  • Like 1
Link to comment
  • 1 month later...
On 8/24/2024 at 5:44 PM, Goldmaster said:

What does this do that zeroing a drive doesn't?

Am I right that it can only wipe unassigned devices with destructive mode turned on?

 

It's just another tool for the job, it has multiple algorithms (DOD Short, DOD Long, Gutmann,...) for safe erasure and respective verification mechanisms. It's more oriented at secure erasing rather than zeroing the drive for practical reasons. No, it can wipe any connected device and has nothing to do with UD and/or destructive mode. But it probably shouldn't be used on drives which are still part of the array, so in that sense best to use it on "unassigned" and unmounted drives.

Link to comment
Just now, Goldmaster said:

So in theory, it could wipe array drives if they were accidentally selected and thus cause data loss?

 

Sure, same as with any other Linux terminal command (rm, dd, ...) that's run without double checking.

Although this program actually makes you confirm your selection again, which most Linux terminal commands don't.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...