centos7上检测硬盘是否有坏块
命令是centos7自带的,使用时要用root命令
badblocks -v /dev/sda10 > badsectors.txt
在 Linux 上使用 Smartmontools 工具扫描坏道
安装
yum install smartmontools
smartctl -H /dev/sda10
实践出真知
命令是centos7自带的,使用时要用root命令
badblocks -v /dev/sda10 > badsectors.txt
在 Linux 上使用 Smartmontools 工具扫描坏道
安装
yum install smartmontools
smartctl -H /dev/sda10