Hi,
I regularly have to zero the drives that I use as clones for data recoveries.
As the size of drive increases, this takes more and more time, typically a few hours for drives with capacity >= 1 TB.
Assume that the "shred -n 0 -z /dev/sdb" command has zeroed 400 GB when it was stopped.
Without having to create partitions, is there a command to go on the shredding from that offset ?
For security reasons, I dislike the idea of letting the drives on the table when I'm out of the office, like during the night. So, is there any solution to finish the job on the next day when using the "shred" command ?
Currently, I can see the alternative of using the "dd if=/dev/zero …" command, as it does accept the seek/skip parameters.
In Windows, softwares like HD Tune Pro also allows starting the shredding with an offset.
I don't see DD being a bad idea. Not sure how you would get a progression bar, or some sort of feedback from DD to tell you what cluster it was last working on (been a little while since I used DD).
If DD would work for you then maybe DCFLDD would provide the feedback you need?
I use the pv tool to give me some feedback thus
dd if=/dev/zero ibs=4096 | pv -s {size in bytes} | dd of={target} obs=4096
Experimenting with different block sizes helps with speed. Of course all this piping slows things down a bit though.
I use the pv tool to give me some feedback thus
dd if=/dev/zero ibs=4096 | pv -s {size in bytes} | dd of={target} obs=4096
Experimenting with different block sizes helps with speed. Of course all this piping slows things down a bit though.
How universal would you say the pv command to be? Is it exclusive to dd?



