What smartctl command to use to verify if disk is okay or failing ?
chris at cretaforce.gr
Sun Jan 6 23:15:35 UTC 2019
> On 7 Jan 2019, at 01:07, Manish Jain <jude.obscure at yandex.com> wrote:
> Yesterday I saw an AHCI/CAM error on my SATA SSD on the console, and I
> am a bit worried whether the disk (ada0) is failing.
> I installed smartmontools and enabled smartd in rc.conf. But I am
> unable to figure out the command to utilise for reliably testing the
> state of /dev/ada0 (Samsung EVO 850; SMART enabled).
> If anyone could tell me the right command to go through a good test
> (preferably with a log file generated), it would be much appreciated.
> Manish Jain
smartctl -t long /dev/ada0
and when it finishes try:
smartctl -a /dev/ada0
More information about the freebsd-questions