Не пишутся логи SMARTD
Добавлено: 2007-08-23 11:01:12
Здравствуйте
Установил smartd
Не пишет логи в /var/log/smartd.log. Файл есть, но он пустой
Перезагружал роутер, ждал целый день. Эффект один и тот же.
А теперь вопрос - Что делать? Или все нормально - нет ошибок нет и логов?
Установил smartd
Код: Выделить всё
/home/seradmin/>pkg_info
....
smartmontools-5.37_1 S.M.A.R.T. disk monitoring tools
...
--------------------------------------------------------------------------------------------------------------
ps aux | grep smartd
root 923 0,0 0,4 2512 1012 ?? S сб17 0:00,15 /usr/local/sbin/smartd -p /var/run/smartd.pid -l local2
--------------------------------------------------------------------------------------------------------------
less /etc/rc.conf
...
# Monitoring HDD
smartd_enable="YES"
smartd_flags="-l local2"
--------------------------------------------------------------------------------------------------------------
>less /usr/local/etc/smartd.conf
# First (primary) ATA/IDE hard disk. Monitor all attributes, enable
# automatic online data collection, automatic Attribute autosave, and
# start a short self-test every day between 2-3am, and a long self test
# Saturdays between 3-4am.
/dev/ad0 -a -o on -S on -s (S/../.././02|L/../../6/03)
--------------------------------------------------------------------------------------------------------------
smartctl -i /dev/ad0
smartctl version 5.37 [i386-portbld-freebsd6.2] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Model Family: IBM/Hitachi Deskstar 120GXP family
Device Model: IC35L040AVVN07-0
Serial Number: VNP200B2G4ZRYB
Firmware Version: VA2OAE0X
User Capacity: 41 174 138 880 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 5
ATA Standard is: ATA/ATAPI-5 T13 1321D revision 1
Local Time is: Thu Aug 23 11:18:17 2007 MSD
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Код: Выделить всё
less /etc/syslog.conf
...
# S.M.A.R.T.
local2.* /var/log/smartd.log
--------------------------------------------------------------------------------------------------------------
ll /var/log/smartd.log
-rw-r--r-- 1 root wheel 0 18 авг 15:18 /var/log/smartd.log
А теперь вопрос - Что делать? Или все нормально - нет ошибок нет и логов?