
Устанавливаем S.M.A.R.T. HDD из портов в FreeBSD
# cd /usr/ports/sysutils/smartmontools # make install clean;rehash
Проверяем включен ли SMART на HDD:
# atacontrol cap ad4
Protocol SATA revision 2.x
device model WDC WD1600AAJS-22PSA0
serial number WD-WMAP9E330089
firmware revision 05.06H05
cylinders 16383
heads 16
sectors/track 63
lba supported 268435455 sectors
lba48 supported 312581808 sectors
dma supported
overlap not supported
Feature Support Enable Value Vendor
write cache yes yes
read ahead yes yes
Native Command Queuing (NCQ) yes — 31/0x1F
Tagged Command Queuing (TCQ) no no 31/0x1F
SMART yes yes
microcode download yes yes
security no no
power management yes yes
advanced power management no no 0/0x00
automatic acoustic management yes no 254/0xFE 128/0x80
# smartctl -a /dev/ad4
Скопируем стандартный конф.
# cd /usr/local/etc/ # cp smartd.conf.sample smartd.conf
#Устанавливаем S.M.A.R.T. HDD из портов в FreeBSD
# ee /etc/syslog.conf
# ee /etc/newsyslog.conf
# echo 'smartd_enable="YES"' >> /etc/rc.conf # echo 'smartd_flags="--interval=900"' >> /etc/rc.conf # touch /var/log/smartd.log # killall -1 syslogd # /usr/local/etc/rc.d/smartd start # ps -ax | grep smart
Всё работает! А как теперь удалить старую, и никому не нужную утилиту du??
DU — устаревшее говно мамонта!
чудесная и нагладная программа, больше нечего добавить