Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2019 01:15:24 +0200
From:      Christos Chatzaras <chris@cretaforce.gr>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: What smartctl command to use to verify if disk is okay or failing ?
Message-ID:  <8A02A61A-38E1-488C-A33B-FBDC6EB639EC@cretaforce.gr>
In-Reply-To: <613aefd600422ad976a4cf44a96b4977fa2937a3.camel@yandex.com>
References:  <613aefd600422ad976a4cf44a96b4977fa2937a3.camel@yandex.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 7 Jan 2019, at 01:07, Manish Jain <jude.obscure@yandex.com> wrote:
> 
> Hi,
> 
> 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.
> 
> 
> Thanks,
> Manish Jain

smartctl -t long /dev/ada0

and when it finishes try:

smartctl -a /dev/ada0



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8A02A61A-38E1-488C-A33B-FBDC6EB639EC>