Closed eraser-monkey closed 10 months ago
Sounds like it might be a symptom of the --autopoweroff bug fixed here https://github.com/martijnvanbrummelen/nwipe/commit/7f39d81548309faaed195ced07222fc42315181f
Can you build from the master, version should be 0.35.1 in nwipes title bar and see if it now works.
Just checked this out and can confirm it's a different problem. Will commit a fix shortly.
Fixed by commit https://github.com/martijnvanbrummelen/nwipe/commit/3f78d76bacee4bcbe0e7ffa00bb96acaa43fe025
v0.35.3
If possible can you build the master, nwipe title version will be 0.35.3 and confirm it's now working correctly by exiting on completion of the wipes in --nogui mode.
Thanks.
Please re-open if still an issue, however my tests show this is now resolved.
Confirmed, it is completing the erase and showing the full logs!
Thanks
I noticed this as of the 0.35 update. I run nwipe with no gui as part of a perl script. This script checks stdout for completion and then logs the erase result to a database. As of 0.35, nwipe completes a wipe, then hangs. It needs to be manually stopped, and then it displays the test results.
I have run this within my perl scripts several times and it hangs every time. My perl scripts are typically erasing several hundred drives concurrently within separate nwipe processes and each process hangs, though the erase completes, and the PDF is generated after I kill the processes. I suspected an issue with my scripts but the issue presents when I run nwipe on it's own.
This is the command I run:
sudo nwipe --method=zero --rounds=1 --verify=off --nogui --autonuke /dev/sdz
This is the stdout:
At this point it hangs indefinitely, in this case I stopped it with ctrl-C at 23:57, 90 minutes later.
After the nwipe is stopped it outputs the erasure result:
System info:
Linux ERASE01 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux