Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Smartctl -a /dev/twe0 -d 3ware,0 over pfSense GUI?

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 945 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      slu
      last edited by

      Is it possible to check the smart status over the pfSense GUI?
      I can not select the HDDs in Diagnostics -> SMART Status

      smart_pfsense.png
      smart_pfsense.png_thumb

      pfSense Gold subscription

      1 Reply Last reply Reply Quote 0
      • D Offline
        doktornotor Banned
        last edited by

        • Diagnostics - Command Prompt

        P.S. Use Cron package to schedule short/long tests instead.

        1 Reply Last reply Reply Quote 0
        • S Offline
          slu
          last edited by

          Ok, that work.
          There is no way to see the state in the SMART Widget, right?

          I need a notification if a disk is dead, like it was yesterday  :-\

          pfSense Gold subscription

          1 Reply Last reply Reply Quote 0
          • D Offline
            doktornotor Banned
            last edited by

            State of… hmmm, what? The widget uses:

            
            $dev_state = trim(exec("smartctl -H /dev/$dev | awk -F: '/^SMART overall-health self-assessment test result/ {print $2;exit}
            
            

            smartctl -H is notoriously unreliable/useless (not exactly the widget fault).

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.