擦除硬盘需要多长时间?

擦除硬盘需要多长时间?

我正在做一个sudo dd if=/dev/urandom of=/dev/sdc bs=4096 磁盘为 3Tb 的操作。它已经运行了 14 个小时,这是一个可以接受的时间范围吗?我预计它什么时候能完成?我可以计算处理该操作的预期时间吗?

答案1

根据http://pc.net/helpcenter/answers/seven_pass_erase_duration大约需要 16 个小时...(250GB 的单次覆盖大约需要 79 分钟)。

创建随机种子的速度取决于您的计算机速度/dev/urandom、您的设备速度以及您的端口速度。

顺便说一句,使用/dev/urandom并不比使用更安全/dev/zero,而且速度也更快:

root@m2310:~# dd if=/dev/zero of=file.txt count=1024 bs=1024
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB) copied, 0.00741118 s, 141 MB/s
root@m2310:~# dd if=/dev/urandom of=file.txt count=1024 bs=1024
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB) copied, 0.165744 s, 6.3 MB/s

读取速度为 141 MB/s /dev/zero,读取速度为 6.4 MB/s/dev/urandom

相关内容