martijnvanbrummelen / nwipe

nwipe secure disk eraser
GNU General Public License v2.0
690 stars 79 forks source link

Add a feature that pauses the wipe if the drive temperature reaches CRITICAL ! #385

Open PartialVolume opened 2 years ago

PartialVolume commented 2 years ago

Pause the drive wipe if drive critical temperature data is available and actual drive temperature exceeds either upper or lower temperature settings. Typically this is around 60-65 degrees C. Not all drives provide critical temperature data in which case nwipe will carry on wiping.

Also add a command line option to nwipe that "pause on critical temperature" can be ignored at your own risk.

PartialVolume commented 2 years ago

From what I've seen, pausing the wipe may lower the drive temperature 10 degrees. By providing a suitable hysteresis of 2 degrees C, i.e. when the actual drive temperature drops below or rises above, depending on whether it's upper or lower critical temperature then the wipe will resume until critical temperature is once again reached, where upon it will pause again.

Critical temperatures are usually only reached when either the drive housing provides insufficient air flow or the ambient room temperature has risen to 30 degrees plus, combined with insufficient cabinet ventilation.

gorbiWTF commented 2 years ago

Maybe you could add a throttle so that if a drive is close to critical temperature it wipes progressively slower until it reaches normal temperatures again - then it would stay at that speed. Not sure if a throttle like that is even possible though.

PartialVolume commented 2 years ago

Yes, that certainly a possibility.