How to get SMART on external drives

    • Offizieller Beitrag

    BTW armbianmonitor does not seem to be installed anymore:

    That is because you installed raspbian not armbian. Armbian has never supported the RPi.

    Any advice?

    Try it.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I was finally able to try this today. No go for now.



    Some dmesg extracts.



    smartctl output.


    Any suggestions?

  • anotherchris have you managed to get this working?


    I am too failing to read SMART status from 2 Seagate Backup+ Hubs (6TB and 8TB) on OMV5 (latest) running on a RPI4B


    I have tried to add the quirks to:

    - /etc/modprobe.d/usb-storage-quirks.conf

    - /etc/modprode.d/ignore_uas.conf (https://askubuntu.com/question…st-on-external-hard-drive)

    - /boot/cmdline.txt (https://www.raspberrypi.org/forums/viewtopic.php?t=245931)


    However, no SMART status reporting, and smartctl gives the same errors as yours.


    According to this (https://www.smartmontools.org/wiki/Supported_USB-Devices) the Seagate Backup+ Hub should work with UAS blacklisting


    To end with your question: any suggestions...?

  • Thanks to this thread for helping me figure out why my SMARTS and hdparm was not working. The below links helped me solve my initial problem -

    1. Explanation of SAT with UAS Linux with workarounds

    2. Porting the fixes mentioned above on a RPi


    I do have some more questions regarding UAS and USBMS as below -


    Can anyone suggest how safe / unsafe it is to use UAS on a Seagate drive? Are there reported failures with UAS on Seagate which leads to data corruption? How Can i find out if my Seagate drive actually supports UAS without any problems (even when Linux says it does not) ?


    I am setting up my home NAS on RPi4B with OMV5 using Seagate HDDs and wanted to enable SMARTS and APM using hdparm. Initially both were not working but after setting the quirks to override the default NO_ATA_1X flag (by omitting the u at the end of usb-storage.quirks in /boot/cmdline.txt) I was able to get both APM and SMARTS working.


    I wanted to understand if there is any possibility my disks start failing because of using UAS. If so I can revert to :u to use USBMS and not UAS.


    My Drives:

    1 x Seagate Backup Plus Portable Drive USB 3.0 2TB

    1 x Seagate Backup Plus Slim 2TB USB 3.0 External Hard Drive

    2 x Seagate Backup Plus Hub 4TB External Hard Drive USB 3.0


    Thanks in advance! :)

  • Can someone give me a hand and help fix a similar issue pls?

    I have Rpi-4 and Seagate 5TB drive


    Here is some info:


    $ sudo smartctl --health /dev/sda


    smartctl 6.6 2017-11-05 r4594 [armv7l-linux-5.10.63-v7l+] (local build)

    Copyright (C) 2002-17, Bruce Allen, Christian Franke, http://www.smartmontools.org


    Read Device Identity failed: scsi error unsupported field in scsi command


    A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.


    $ sudo smartctl --health -d sat -a -T verypermissive /dev/sda

    smartctl 6.6 2017-11-05 r4594 [armv7l-linux-5.10.63-v7l+] (local build)

    Copyright (C) 2002-17, Bruce Allen, Christian Franke, http://www.smartmontools.org


    Read Device Identity failed: scsi error unsupported field in scsi command


    === START OF INFORMATION SECTION ===

    Device Model: [No Information Found]

    Serial Number: [No Information Found]

    Firmware Version: [No Information Found]

    Device is: Not in smartctl database [for details use: -P showall]

    ATA Version is: [No Information Found]

    Local Time is: Tue Dec 7 16:05:42 2021 PST

    SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.

    SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.

    Checking to be sure by trying SMART RETURN STATUS command.

    SMART support is: Unknown - Try option -s with argument 'on' to enable it.

    Read SMART Data failed: scsi error unsupported field in scsi command


    === START OF READ SMART DATA SECTION ===

    SMART Status command failed: scsi error unsupported field in scsi command

    SMART overall-health self-assessment test result: UNKNOWN!

    SMART Status, Attributes and Thresholds cannot be read.


    Read SMART Error Log failed: scsi error unsupported field in scsi command


    Read SMART Self-test Log failed: scsi error unsupported field in scsi command


    Selective Self-tests/Logging not supported


    $ lsusb

    Bus 002 Device 002: ID 0bc2:ac2b Seagate RSS LLC

    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

    Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


    Thanks in advance!

  • Did you finally solve your issue?


    Thx

  • I have Rpi-4 and Seagate 5TB drive

    What you need to tell or show is how and with what type of thingamadjing you have your drive connected to the Pi.


    Your smart ctl depends on it

    • Offizieller Beitrag

    I'd love to show tell this if I knew.

    How is the disk connected?

    A USB to SATA adapter? What is the make and model?

    An external USB disk enclosure? What is the make and model?

    Another device? What brand and model of device?

    • Offizieller Beitrag

    USB external drive from Costco "Seagate One Touch 5TB"

    Sorry, this is in Spanish.

    https://www.seagate.com/files/…S2054-2-2009-WW-es_ES.pdf

    But from the looks of it that disk is officially compatible only with Windows and Mac. If you're lucky someone will have "guessed" the firmware for linux. Otherwise you will not have SMART through that box.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!