这是我运行的命令,用来测试带有坏块的HDD:
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活cd
发布于 2013-07-24 08:26:28
添加-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)
#https://serverfault.com/questions/525849
复制相似问题