PartialVolume / shredos.x86_64

Shredos Disk Eraser 64 bit for all Intel 64 bit processors as well as processors from AMD and other vendors which make compatible 64 bit chips. ShredOS - Secure disk erasure/wipe
Other
1.4k stars 58 forks source link

hot swap support #69

Open ITJamie opened 3 years ago

ITJamie commented 3 years ago

Is / Would it be possible to have hot swap support with auto wiping?

We want to build a system that we can pop drives into and have them automatically wipe and unmount when complete. we would remove them once there is no more drive activity.

PartialVolume commented 3 years ago

Sort of related to this, but that was talking about updating the drive selection window, I think you may be talking about new drives appearing and being wiped automatically while other drives are still currently being wiped? I would imagine this being a scenario where you would have a lot of drives to wipe of differing sizes that complete their wipes at different times, so when a smaller drive completes a new drive can be hot swapped while the others are still wiping.

I think that's a feature that's worth having.

It will require changes to the way nwipe detects drives, it will probably still use libparted for drive detection, but once started will monitor for drives using a method that doesn't hang drive detection when drives are being wiped. Alternatively libparted for drive detection may get ditched which would then allow multiple Instances of nwipe running simultaneously, something other uses have requested.

ITJamie commented 3 years ago

yes exactly that. We basically want a server that we pop all drives into from decommissioned servers and have them autowipe.

an additional nicety would be the ability to have it send a syslog event or even an email via a relay to say that drive has been wiped with its serial + wipe method used etc. Being able to have it syslog or email like that to a permanent location would be fantastic for audit / legal reasons.

realistically i think (based on my quick scan through the code) the easier solution would be allowing multiple instances of nwipe to run and having some newer app or script watchdog monirot for system events of new drive connections and then point a new nwipe process at that specific drive.

ITJamie commented 3 years ago

Just wondering if this is something you are still considering?

PartialVolume commented 3 years ago

Yes, it's still a feature worth adding. Things are busy for me at the moment as I'm up to my eye balls with programming that pays the bills, so I'm not able to devote as much time as I would like to nwipe/ShredOS. Usually there's a gap between projects where I can spend a bit of time on this and hopefully that's coming up soon.

qedisme commented 3 years ago

The is was be a killer feature, and would make our decom and donation process so much easier. @PartialVolume please consider bumping this up in your feature list. Already love this distro, but this would be a boon to anybody that has a donation program.

Binary-Bear commented 2 years ago

Hot swap is an excellent idea!