Menu

#5109 SMART Drive Status

1.880
open
nobody
None
5
2018-03-30
2018-03-29
Morpf
No

Hello,
I am running a Raspberry Pi 3 B with Operating System: Debian Linux 9.4, Kernel and CPU: Linux 4.14.30-v7 + on armv7l, Processor information: ARMv7 Processor rev 4 (v7l) @ 76 bMips, 4 cores.

I would like to use Webmin to manage my Seagate IronWolf NAS HDD ST4000VN008 - 4TB 5900rpm 64MB 3.5inch SATA600 with SMART Drive status / S.M.A.R.T. Monitoring Tools. Connected via USB.

Through the terminal I can use SMART as normal and everything works.

pi@myhomeserver:~ $ sudo smartctl -d sat -a /dev/sda
smartctl 6.6 2016-05-31 r4324 [armv7l-linux-4.14.30-v7+] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     ST4000VN008-2DR166
Serial Number:    ZDH36NNE
LU WWN Device Id: 5 000c50 0afc5c4f5
Firmware Version: SC60
User Capacity:    4,000,787,030,016 bytes [4.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5980 rpm
Form Factor:      3.5 inches
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Mar 29 10:17:42 2018 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

Unfortunately, in Webmin Hardware / SMART Drive status, nothing is displayed to me.

In the Module config, the setting is: Force ATA query mode? on YES law.

I also tried the setting: Extra command-line parameters to smartctl: with smartctl -d sat -a / dev / sda to prove, unfortunately no result.

What am I doing wrong or what settings do you have to make with Webmin use S.M.A.R.T. Monitoring Tools?
Sorry for my bad English
Thank you very much.

1 Attachments

Discussion

  • Kay

    Kay - 2018-03-29

    what about simply entering smartctl instead of smartd in config field ' path to smartctl'?

     

    Last edit: Kay 2018-03-29
    • Morpf

      Morpf - 2018-03-29

      Hi, thanks for the quick response.
      Unfortunately, it makes no difference.

       
  • Morpf

    Morpf - 2018-03-29

    In the terminal everything is green / OK

    pi@myhomeserver:~ $ sudo systemctl status smartmontools.service
     smartd.service - Self Monitoring and Reporting Technology (SMART) Daemon
       Loaded: loaded (/lib/systemd/system/smartd.service; enabled; vendor preset: enabled)
       Active: active (running) since Thu 2018-03-29 08:41:16 UTC; 8h ago
         Docs: man:smartd(8)
               man:smartd.conf(5)
     Main PID: 306 (smartd)
       CGroup: /system.slice/smartd.service
               └─306 /usr/sbin/smartd -n
    
    Mar 29 09:11:36 myhomeserver smartd[306]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 29 to 32
    Mar 29 09:41:21 myhomeserver smartd[306]: Device: /dev/sda [SAT], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 68 to 66
    Mar 29 09:41:21 myhomeserver smartd[306]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 32 to 34
    Mar 29 10:11:21 myhomeserver smartd[306]: Device: /dev/sda [SAT], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 66 to 65
    Mar 29 10:11:21 myhomeserver smartd[306]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 34 to 35
    Mar 29 11:11:22 myhomeserver smartd[306]: Device: /dev/sda [SAT], SMART Prefailure Attribute: 3 Spin_Up_Time changed from 95 to 94
    Mar 29 12:11:21 myhomeserver smartd[306]: Device: /dev/sda [SAT], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 65 to 64
    Mar 29 12:11:21 myhomeserver smartd[306]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 35 to 36
    Mar 29 14:41:21 myhomeserver smartd[306]: Device: /dev/sda [SAT], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 64 to 65
    Mar 29 14:41:21 myhomeserver smartd[306]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 36 to 35
    pi@myhomeserver:~ $
    

    For the installation I have followed this page
    Configure SMART Disk Monitoring Daemon

     
  • Jamie Cameron

    Jamie Cameron - 2018-03-30

    What does the command smartctl --version output on your system?

     
    • Morpf

      Morpf - 2018-03-30
      pi@myhomeserver:~ $ smartctl --version
      smartctl 6.6 2016-05-31 r4324 [armv7l-linux-4.14.30-v7+] (local build)
      Copyright (C) 2002-16, 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 6.6 dated 2016-05-07 at 11:17:46 UTC
      smartmontools SVN rev 4324 dated 2016-05-31 at 20:45:50
      smartmontools build host: arm-unknown-linux-gnueabihf
      smartmontools build with: C++98, GCC 5.4.0 20160609
      smartmontools configure arguments: '--prefix=/usr' '--build=arm-linux-gnueabihf' '--host=arm-linux-gnueabihf' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-initscriptdir=no' '--docdir=/usr/share/doc/smartmontools' '--with-savestates=/var/lib/smartmontools/smartd.' '--with-attributelog=/var/lib/smartmontools/attrlog.' '--with-exampledir=/usr/share/doc/smartmontools/examples/' '--with-drivedbdir=/var/lib/smartmontools/drivedb' '--with-systemdsystemunitdir=/lib/systemd/system' '--with-smartdscriptdir=/usr/share/smartmontools' '--with-smartdplugindir=/etc/smartmontools/smartd_warning.d' '--with-systemdenvfile=/etc/default/smartmontools' '--with-selinux' 'build_alias=arm-linux-gnueabihf' 'host_alias=arm-linux-gnueabihf' 'CXXFLAGS=-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -fsigned-char -Wall -O2' 'LDFLAGS=-fPIE -pie -Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CFLAGS=-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -fsigned-char -Wall -O2'
      pi@myhomeserver:~ $ 
      
       

Log in to post a comment.

MongoDB Logo MongoDB