Linux 检查硬盘坏道

fdisk -l

#列出分区有哪些

badblocks -v /dev/sda1 > badblocks.txt

#检查指定分区坏道,并写入root/badblocks.txt

1