完成后 Badblocks 不显示“通过已完成”

完成后 Badblocks 不显示“通过已完成”

这是我运行的用于测试带有坏块的硬盘的命令:

badblocks -b 4096 -c 98304 -w -s /dev/sda1

输出为:

[root@localhost liveuser]# badblocks -b 4096 -c 98304 -w -s /dev/sda1
Testing with pattern 0x55: done
Reading and comparing: done 
Testing with pattern 0xff: done
Reading and comparing: done 
Testing with pattern 0x00: done
Reading and comparing: done 
[root@localhost liveuser]# 

这是正确的吗?这是否意味着驱动器已通过?我以为会有“通过完成”或类似的输出。例如,这个问题的输出与我的不同。https://unix.stackexchange.com/questions/65349/how-to-interpret-badblocks-output

使用 Fedora 17 Live CD

答案1

添加-v开关(详细)以获取摘要:

# badblocks -v -b 4096 -c 1024 -w -s /dev/sdb
Checking for bad blocks in read-write mode
From block 0 to 1023
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                                                 
Testing with pattern 0x00: done                                                 
Reading and comparing: done                                                 
Pass completed, 0 bad blocks found. (0/0/0 errors)
#

相关内容