SMART
sudo apt install smartmontools
sudo smartctl -H /dev/sda # verdict global
sudo smartctl -A /dev/sda # attributs
sudo smartctl -a /dev/nvme0 # SSD NVMe (Percentage Used, Media Errors)
sudo smartctl -t short /dev/sda # test court (long : -t long)
sudo smartctl -l selftest /dev/sda # résultatsÀ surveiller (doivent rester à 0) : Reallocated_Sector_Ct, Current_Pending_Sector, Offline_Uncorrectable, UDMA_CRC_Error_Count (souvent un câble). NVMe : Percentage Used proche de 100 %, Media and Data Integrity Errors.
dmesg
sudo dmesg -T --level=err,warn
sudo journalctl -k -p err -bErreurs I/O répétées = sauvegarde immédiate (rsync) puis remplacement. En graphique : application Disques › Données SMART.