[smartmontools-support] FW: Cron <root at artemis> /usr/local/sbin/smartctl -a /dev/ada0

Doug Sampson dougs at dawnsign.com
Thu Feb 21 20:25:05 CET 2019


Yep, of course, the wrong parameter! Here's the correct output that was asked for:

[12:56]root at artemis:~ # /usr/local/sbin/smartctl -V
smartctl 7.0 2018-12-30 r4883 [FreeBSD 12.0-RELEASE-p3 amd64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

smartctl comes with ABSOLUTELY NO WARRANTY. This is free
software, and you are welcome to redistribute it under
the terms of the GNU General Public License; either
version 2, or (at your option) any later version.
See http://www.gnu.org for further details.

smartmontools release 7.0 dated 2018-12-30 at 14:47:55 UTC
smartmontools SVN rev 4883 dated 2018-12-30 at 14:48:54
smartmontools build host: amd64-portbld-freebsd12.0
smartmontools build with: C++14, GCC 4.2.1 Compatible FreeBSD Clang 6.0.1 (tags/RELEASE_601/final 335540)
smartmontools configure arguments: '--disable-dependency-tracking' '--enable-sample' '--with-nvme-devicescan=yes' '--with-initscriptdir=/usr/local/etc/rc.d' '--prefix=/usr/local' '--localstatedir=/var' '--mandir=/usr/local/man' '--disable-silent-rules' '--infodir=/usr/local/share/info/' '--build=amd64-portbld-freebsd12.0' 'build_alias=amd64-portbld-freebsd12.0' 'CXX=c++' 'CXXFLAGS=-O2 -pipe -fstack-protector -fno-strict-aliasing  ' 'LDFLAGS= -fstack-protector ' 'LIBS=' 'CPPFLAGS=' 'CC=cc' 'CFLAGS=-O2 -pipe  -fstack-protector -fno-strict-aliasing '
[11:23]root at artemis:~ #



~Doug

> -----Original Message-----
> From: James Lockie <bjlockie at lockie.ca>
> Sent: Wednesday, February 20, 2019 11:27 AM
> To: Doug Sampson <dougs at dawnsign.com>; 'smartmontools-
> support at listi.jpberlin.de' <smartmontools-support at listi.jpberlin.de>
> Subject: Re: [smartmontools-support] FW: Cron <root at artemis>
> /usr/local/sbin/smartctl -a /dev/ada0
> 
> It looks like a problem with the new json output:
> 
> > Smartctl: Exception: >json.cpp(121): Assertion >failed: value
> 
> 
> 
> 
> 
> I think it says to run smartctl -V (capital).
> 
> 
> 
> On February 20, 2019 1:30:48 PM Doug Sampson <dougs at dawnsign.com> wrote:
> 
> 
> 
> > I'm getting an error message when running smartctl against Marvell based
> SSDs.
> 
> >
> 
> >
> 
> > ~Doug
> 
> >
> 
> >
> 
> > -----Original Message-----
> 
> > From: Cron Daemon <root at artemis.dawnsign.com>
> 
> > Sent: Friday, February 15, 2019 3:00 AM
> 
> > To: admin <admin at dawnsign.com>
> 
> > Subject: Cron <root at artemis> /usr/local/sbin/smartctl -a /dev/ada0
> 
> >
> 
> >
> 
> > smartctl 7.0 2018-12-30 r4883 [FreeBSD 12.0-RELEASE-p3 amd64] (local
> build)
> 
> > Copyright (C) 2002-18, Bruce Allen, Christian Franke,
> www.smartmontools.org
> 
> >
> 
> >
> 
> > === START OF INFORMATION SECTION ===
> 
> > Model Family:     Marvell based SanDisk SSDs
> 
> > Device Model:     SanDisk SD6SB1M064G1022I
> 
> > Serial Number:    143332400456
> 
> > LU WWN Device Id: 5 001b44 c6adbd948
> 
> > Firmware Version: X231600
> 
> > User Capacity:    64,023,257,088 bytes [64.0 GB]
> 
> > Sector Size:      512 bytes logical/physical
> 
> > Rotation Rate:    Solid State Device
> 
> > Form Factor:      Unknown (0x000a)
> 
> > Smartctl: Exception: json.cpp(121): Assertion failed: value
> 
> > Please inform smartmontools-support at listi.jpberlin.de, including output
> of
> 
> > smartctl -V.
> 
> >
> 
> >
> 
> >
> 
> >
> 
> > [13:48]root at artemis:~ # /usr/local/sbin/smartctl -v
> 
> > smartctl 7.0 2018-12-30 r4883 [FreeBSD 12.0-RELEASE-p3 amd64] (local
> build)
> 
> > Copyright (C) 2002-18, Bruce Allen, Christian Franke,
> www.smartmontools.org
> 
> >
> 
> >
> 
> > =======> ARGUMENT REQUIRED FOR OPTION: v
> 
> > =======> VALID ARGUMENTS ARE:
> 
> > help
> 
> > N,raw8[:012345rvwz][,ATTR_NAME]
> 
> > N,raw16[:012345rvwz][,ATTR_NAME]
> 
> > N,raw48[:012345rvwz][,ATTR_NAME]
> 
> > N,hex48[:012345rvwz][,ATTR_NAME]
> 
> > N,raw56[:012345rvwz][,ATTR_NAME]
> 
> > N,hex56[:012345rvwz][,ATTR_NAME]
> 
> > N,raw64[:012345rvwz][,ATTR_NAME]
> 
> > N,hex64[:012345rvwz][,ATTR_NAME]
> 
> > N,raw16(raw16)[:012345rvwz][,ATTR_NAME]
> 
> > N,raw16(avg16)[:012345rvwz][,ATTR_NAME]
> 
> > N,raw24(raw8)[:012345rvwz][,ATTR_NAME]
> 
> > N,raw24/raw24[:012345rvwz][,ATTR_NAME]
> 
> > N,raw24/raw32[:012345rvwz][,ATTR_NAME]
> 
> > N,sec2hour[:012345rvwz][,ATTR_NAME]
> 
> > N,min2hour[:012345rvwz][,ATTR_NAME]
> 
> > N,halfmin2hour[:012345rvwz][,ATTR_NAME]
> 
> > N,msec24hour32[:012345rvwz][,ATTR_NAME]
> 
> > N,tempminmax[:012345rvwz][,ATTR_NAME]
> 
> > N,temp10x[:012345rvwz][,ATTR_NAME]
> 
> > 9,halfminutes
> 
> > 9,minutes
> 
> > 9,seconds
> 
> > 9,temp
> 
> > 192,emergencyretractcyclect
> 
> > 193,loadunload
> 
> > 194,10xCelsius
> 
> > 194,unknown
> 
> > 197,increasing
> 
> > 198,offlinescanuncsectorct
> 
> > 198,increasing
> 
> > 200,writeerrorcount
> 
> > 201,detectedtacount
> 
> > 220,temp
> 
> > <=======
> 
> >
> 
> >
> 
> > Use smartctl -h to get a usage summary
> 
> >
> 
> >
> 
> > [13:48]root at artemis:~ #
> 
> > _______________________________________________
> 
> > Smartmontools-support mailing list
> 
> > Smartmontools-support at listi.jpberlin.de
> 
> > https://listi.jpberlin.de/mailman/listinfo/smartmontools-support
> 
> 
> 
> 
> 




More information about the Smartmontools-support mailing list