This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

SMART reports stopped

Hard disks, HDD, RAID Hardware, disk controllers, SATA, PATA, SCSI, IDE, On Board, USB, Firewire, CF (Compact Flash)
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
bunk3m
Starter
Starter
Posts: 42
Joined: 16 May 2013 21:36
Status: Offline

SMART reports stopped

Post by bunk3m »

Not sure if this is the right forum so if incorrect please move.

I updated a mirrored ZFS disk set with a new drive that failed.

I have SMART report run tests and send me a report via email. (Disks|Management|S.M.A.R.T. is activated)

As far as I can tell, it hasn't done any tests since Mar 30 when I changed the disk. The logs show

Code: Select all

smartd[1877]: smartd is exiting (exit status 0)
I'm not sure what to do to get this going again because the reporting is activated.

What should I be checking?

Thanks
9.1.0.1 - Sandstorm (revision 775)
Mirrored ZPool

User avatar
crowi
Forum Moderator
Forum Moderator
Posts: 1176
Joined: 21 Feb 2013 16:18
Location: Munich, Germany
Status: Offline

Re: SMART reports stopped

Post by crowi »

sometimes SMART gets disabled when new drives are added.
Did you check if it is enabled in Disks|Management|Disk|Edit?
NAS 1: Milchkuh: Asrock C2550D4I, Intel Avoton C2550 Quad-Core, 16GB DDR3 ECC, 5x3TB WD Red RaidZ1 +60 GB SSD for ZIL/L2ARC, APC-Back UPS 350 CS, NAS4Free 11.0.0.4.3460 embedded
NAS 2: Backup: HP N54L, 8 GB ECC RAM, 4x4 TB WD Red, RaidZ1, NAS4Free 11.0.0.4.3460 embedded
NAS 3: Office: HP N54L, 8 GB ECC RAM, 2x3 TB WD Red, ZFS Mirror, APC-Back UPS 350 CS NAS4Free 11.0.0.4.3460 embedded

bunk3m
Starter
Starter
Posts: 42
Joined: 16 May 2013 21:36
Status: Offline

Re: SMART reports stopped

Post by bunk3m »

Hi. Thanks for the reply and suggestion.

I've checked and it is enabled.

Just to be sure, I disabled, save & restart and then enabled again.

Still no info in the log. The last entry is still Mar. 30.
9.1.0.1 - Sandstorm (revision 775)
Mirrored ZPool

bunk3m
Starter
Starter
Posts: 42
Joined: 16 May 2013 21:36
Status: Offline

Re: SMART reports stopped

Post by bunk3m »

I'm back trying to figure out how to get the SMART reports going again. It drives me crazy that it isn't worked but used to work. I've been reading various freebsd, nas4free, linux smartctl forum posts but haven't found anything that addresses this. I conclude that this is probably so obvious for most people that no one would ask. I'm too new to this or stupid to know that I don't know what I've missed.

Just wondering if there is anything that I perhaps should have done when I replace the drive in the ZFS Pool to get the reporting to work again??

As previously reported, I've disabled, deleted all the reports, defined the reports again and then enabled again but still no reports. The last one is still from Mar. 30 prior to me replacing the failing drive. Under the Diagnostics|Information|S.M.A.R.T., I can see that the SMART report for each of the disks as at the moment I click on the report. But I can't understand why the cronjob would run to do the short and long tests and report back using the daily log report??

Any suggestions would be appreciated!

Thanks.
9.1.0.1 - Sandstorm (revision 775)
Mirrored ZPool

bunk3m
Starter
Starter
Posts: 42
Joined: 16 May 2013 21:36
Status: Offline

Re: SMART reports stopped

Post by bunk3m »

I have noticed that the rc.conf file had

Code: Select all

smartd_enable="NO"
which I changed to "YES".

Also tried to restart smartd but it isn't where the freebsd man page says it should be.

Code: Select all

/usr/local/etc/rc.d/smartd start
/usr/local/etc/rc.d/smartd: Command not found.
I did find it at

Code: Select all

find . -name "smartd" 
./etc/rc.d/smartd
./usr/local/sbin/smartd
Then I had to find where the smartd.conf file was because it wasn't where the man page says it should be.

Code: Select all

find . -name "smartd.conf"
./var/etc/smartd.conf
The smartd.conf file is blank/empty.

I'm confused. Something isn't correct here.
9.1.0.1 - Sandstorm (revision 775)
Mirrored ZPool

bunk3m
Starter
Starter
Posts: 42
Joined: 16 May 2013 21:36
Status: Offline

Re: SMART reports stopped

Post by bunk3m »

Just a quick follow-up about some of the results that I'm getting.
The log showed this today:

Code: Select all

Jul 19 16:26:12 nas4free smartd[12121]: Unable to monitor any SMART enabled devices. Try debug (-d) option. Exiting...
Jul 19 16:26:12 nas4free smartd[12121]: Configuration file /var/etc/smartd.conf parsed but has no entries (like /dev/hda)
Jul 19 16:26:12 nas4free smartd[12121]: Opened configuration file /var/etc/smartd.conf
Jul 19 16:26:12 nas4free smartd[12121]: Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
Jul 19 16:26:12 nas4free smartd[12121]: smartd 6.1 2013-03-16 r3800 [FreeBSD 9.1-RELEASE-p3 amd64] (local build)
Since this worked fine before I changed the defective drive, then what could have happened to the smartd.conf file? Shouldn't this be created somehow from the GUI as when you change any of the options, it would add/remove drives from the monitoring, add/remove drives from running quick or long reports etc.

Anyone have an idea what might have gotten corrupted and how I might fix this?

Thanks.
9.1.0.1 - Sandstorm (revision 775)
Mirrored ZPool

RedAntz
experienced User
experienced User
Posts: 125
Joined: 11 Jul 2012 07:46
Location: Sydney, Australia
Status: Offline

Re: SMART reports stopped

Post by RedAntz »

Hi bunk3m,

Which NAS4Free version are you using ?

If it's the latest, did you restore your config from previous version ? If so, please perform 'Clear and Import' from Disks | Management, and setup your S.M.A.R.T.. The latest NAS4Free require config to be updated that way so that S.M.A.R.T. will work properly.

bunk3m
Starter
Starter
Posts: 42
Joined: 16 May 2013 21:36
Status: Offline

Re: SMART reports stopped

Post by bunk3m »

Hi RedAntz.

Thanks for your reply.

I'm running "9.1.0.1 - Sandstorm (revision 775)". This is the original install that I did. The only change that I've done was replace one drive in the ZPool.
9.1.0.1 - Sandstorm (revision 775)
Mirrored ZPool

RedAntz
experienced User
experienced User
Posts: 125
Joined: 11 Jul 2012 07:46
Location: Sydney, Australia
Status: Offline

Re: SMART reports stopped

Post by RedAntz »

When you mentioned S.M.A.R.T. is enabled, do you mean the Disks|Management|S.M.A.R.T. is enabled or the one in each individual hardisk : "S.M.A.R.T. Activate S.M.A.R.T. monitoring for this device." under "Disks|Management|Disk|Edit" page ?

bunk3m
Starter
Starter
Posts: 42
Joined: 16 May 2013 21:36
Status: Offline

Re: SMART reports stopped

Post by bunk3m »

Hi RedAntz. Thanks for the reply. I didn't remember that there were two places it needed to be enabled.

I had Disks|Management|S.M.A.R.T. enabled. This is the place I always enabled it.

I didn't realize that there was a SMART activate on Disks|Management|Disk|Edit. I don't think I set this before. Having said that, I just set this to Activate for each disk. I'll have to see if I have a report in the morning.
9.1.0.1 - Sandstorm (revision 775)
Mirrored ZPool

bunk3m
Starter
Starter
Posts: 42
Joined: 16 May 2013 21:36
Status: Offline

Re: SMART reports stopped

Post by bunk3m »

I think that fixed it. The logs already have info.

Code: Select all

Jul 20 19:47:41 	nas4free 	smartd[14527]: Configuration file /var/etc/smartd.conf parsed.
Jul 20 19:47:41 	nas4free 	smartd[14527]: Opened configuration file /var/etc/smartd.conf
Thanks again for your help!!
9.1.0.1 - Sandstorm (revision 775)
Mirrored ZPool

Post Reply

Return to “Hard disk & controller”