有一个适用于 Windows 的名为“HDDscan”的应用程序:http://hddscan.com/
它还可以通过仅将磁盘传输到驱动器内部缓冲区的方式读取磁盘来验证磁盘,并且以某种方式仅检查数据完整性。
来自网站:“在验证模式下,设备仅将数据块读入驱动器的内部缓冲区并检查一致性,不通过接口连接器/电缆进行数据传输。该程序测量每个块的操作时间。该程序从最小到最大逐一测试块。在读取模式下,设备读取数据块并将其通过接口传输到主机控制器。该程序将数据块读入临时缓冲区并测量每个块的操作时间。该程序从最小到最大逐一测试块。”
在 Linux 中是否有类似的方法来验证数据完整性?
答案1
是的。
smartctl
。查看-t
选项
-t TEST, --test=TEST
Executes TEST immediately. The '-C' option can be used in conjunction with
this option to run the short or long (and also for ATA devices, selective or
conveyance) self-tests in captive mode (known as "foreground mode" for SCSI
devices). Note that only one test type can be run at a time, so only one
test type should be specified per command line. Note also that if a computer
is shutdown or power cycled during a self-test, no harm should result. The
self-test will either be aborted or will resume automatically.
[...]