LMLPHP后院

badblocks 命令要慎用了技术

maybe yes 发表于 2022-11-22 13:56

这个时间问题,要考虑好。

badblocks 真的要慎用啊,耗时约 72 小时,三天啊!

$ sudo badblocks -sw -v /dev/sda > badsectors.txt
Checking for bad blocks in read-write mode
From block 0 to 3907018583
Testing with pattern 0xaa: done
Reading and comparing: done
Testing with pattern 0x55: done
Reading and comparing: done
Testing with pattern 0xff: done
Reading and comparing: done                                                  (0/0/0 errors)s)
Testing with pattern 0x00: done
Reading and comparing: done
Pass completed, 0 bad blocks found. (0/0/0 errors)
2024-11-19 06:34:49 1731969289 0.018574