Not all disks are listed on the Diagnostics: S.M.A.R.T. Monitor Tools page.
-
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.
-
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.
-
Committed that regex to mainline. Should eventually make it into snapshots:
https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/3e8b3cccab55f02be654ba342ac9d0e02c719d78
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.