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

    Not all disks are listed on the Diagnostics: S.M.A.R.T. Monitor Tools page.

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    3 Posts 3 Posters 1.2k 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
      sporocyst
      last edited by

      I have two disks setup as a GMirror, ad4 and ad10.  Only ad4 shows up on the Diagnostics: S.M.A.R.T. Monitor Tools page.  The disks and GMirror appear to be fine, but i cannot check the status or test the ad10 disk.  This is on 2.0-BETA5 (amd64) built on Thu Feb 10 20:31:21 EST 2011.

      1 Reply Last reply Reply Quote 0
      • S
        SeventhSon
        last edited by

        probably this

        exec("ls /dev | grep '^[ad][da]*[0-9]$'", $devs);
        

        regexp in

        /usr/local/www/diag_smart.php
        

        has to be

        exec("ls /dev | grep '^[ad][da][0-9]*$'", $devs);
        

        edit:
        or actually:

        exec("ls /dev | grep '^[ad][da][0-9]\{1,2\}$'", $devs);
        

        would be better.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Committed that regex to mainline. Should eventually make it into snapshots:

          https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/3e8b3cccab55f02be654ba342ac9d0e02c719d78

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

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