New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #34629 (new defect)

Opened 13 months ago

Last modified 13 months ago

smartmontools failed to start

Reported by: th.chiang@… Owned by: takanori@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: smartmontools

Description

Hi,

This is a request for assisting configuration, probably NOT a bug in the system.

I'm trying to run smartmontools as a daemon on OS X 10.7.4.

First, executing from terminal works fine:

smartctl -t short /dev/disk0

However, I encountered problem while setting up smartd (mail and ssmtp works fine from the terminal):

sudo nano /opt/local/etc/smartd.conf
/dev/disk0 -H -l error -l selftest -f -s (S/../.././09|C/../.././21|L/../../6/04) -m mymail@gmail.com

Setting Disabled=false:

sudo nano /opt/local/etc/LaunchDaemons/org.macports.smartd/org.macports.smartd.plist
...
<key>Disabled</key><false/>
...

adding to launchd:

sudo launchctl load -w /opt/local/etc/LaunchDaemons/org.macports.smartd/org.macports.smartd.plist

On reboot, smartd is running.

However,

sudo smartctl -l selftest /dev/disk0

shows no new records of self-test being carried out.

And:

cat /var/log/system.log:
May 26 21:11:55 mymac smartd[174]: Device: /dev/disk0, execute Conveyance Self-Test failed.

Please advise, thanks.

Change History

comment:1 Changed 13 months ago by ryandesign@…

  • Owner changed from macports-tickets@… to takanori@…
  • Port set to smartmontools
Note: See TracTickets for help on using tickets.