1. 查看硬盘的厂商,SN等信息。

    smartctl -a /dev/sda

    hdparm -i /dev/sda

    dmidecod    #通过主板型号查看硬盘

  2. 查看硬盘的健康状况。

    smartctl -H /dev/sda