FreeNAS Smartd?

smangular

Senior member
Nov 11, 2010
347
0
0
smartd on Freenas seams to have issues. Why does it keep trying to start it self in the log below? Checking the /var/run/smartd.pid is does have a process number 7250. I'm not sure how to investigate/fix.

I also have one 500gb seagate disk that failed the long generic seatools test, but zfs is happly using away. I have over 200gb written to it over the network and verified with teracopy . Only one error, Scrubs and SMART long checks are scheduled... not sure how to manually run them from the shell since the web-frontend does not seam to have the option.

Code:
Sep 21 19:40:53 freenas smartd[1779]: Device: /dev/ada1, 1 Currently unreadable (pending) sectors
Sep 21 19:40:53 freenas smartd[1779]: Device: /dev/ada1, 1 Offline uncorrectable sectors


FreeBSD freenas.local 8.2-RELEASE-p9 FreeBSD 8.2-RELEASE-p9 #0: Thu Jul 19 12:39:10 PDT 2012 root@build.ixsystems.com:/build/home/jpaetzel/8.2.0/os-base/amd64/build/home/jpaetzel/8.2.0/FreeBSD/src/sys/FREENAS.amd64 amd64

Intel S3200SHC, 8GB ECC

Code:
Sep 21 19:51:58 freenas notifier: Stopping smartd.
Sep 21 19:51:58 freenas notifier: smartd not running? (check /var/run/smartd.pid).
Sep 21 19:51:58 freenas notifier: Starting smartd.
Sep 21 19:52:23 freenas notifier: Stopping smartd.
Sep 21 19:52:23 freenas notifier: smartd not running? (check /var/run/smartd.pid).
Sep 21 19:52:23 freenas notifier: Starting smartd.
Sep 21 19:53:15 freenas notifier: Stopping smartd.
Sep 21 19:53:15 freenas notifier: smartd not running? (check /var/run/smartd.pid).
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Does a process with pid 7250 exist?

Otherwise, I would look into replacing that drive. While the data may be fine right now, you never know when that will change.
 

smangular

Senior member
Nov 11, 2010
347
0
0
I'm trying to simulate a failure/slowly having problems drive. Frankly it FreeNAS does not seam to do a great job at raising red flags. No Email notifications for at least two bad sectors that were reallocated although if you manually review the logs its there.

Yeah I'll have to try over there and perhaps also switch to Nexenta Community Edition.
 

murphyc

Senior member
Apr 7, 2012
235
0
0
I'm trying to simulate a failure/slowly having problems drive.

smartd found a real problem with /dev/ada. You should run smartctl -t long on that device, and then do smartctl -a or -x to see either which LBA has an error and zero it to force the disk firmware to remove it; or see if the offline uncorrectable sector has been reallocated. If you can't establish what LBA is bad, then you should zero the disk.

Frankly it FreeNAS does not seam to do a great job at raising red flags. No Email notifications for at least two bad sectors that were reallocated although if you manually review the logs its there.

smartd needs to be configured to use an MTA to send you an email for these notifications.