60792b3ad1
- Sort CONFIGURE_ARGS Changes: http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/tags/RELEASE_5_41/smartmontools/CHANGELOG PR: ports/157762 Submitted by: Jin-Sih Lin <linpct@gmail.com> Approved by: Alex Samorukov <samm@os2.kiev.ua> (maintainer)
20 lines
799 B
Text
20 lines
799 B
Text
smartmontools has been installed
|
|
|
|
To check the status of drives, use the following:
|
|
|
|
%%PREFIX%%/sbin/smartctl -a /dev/ad0 for first ATA/SATA drive
|
|
%%PREFIX%%/sbin/smartctl -a /dev/da0 for first SCSI drive
|
|
%%PREFIX%%/sbin/smartctl -a /dev/ada0 for first SATA drive
|
|
|
|
To include drive health information in your daily status reports,
|
|
add a line like the following to /etc/periodic.conf:
|
|
daily_status_smart_devices="/dev/ad0 /dev/da0"
|
|
substituting the appropriate device names for your SMART-capable disks.
|
|
|
|
To enable drive monitoring, you can use %%PREFIX%%/sbin/smartd.
|
|
A sample configuration file has been installed as
|
|
%%PREFIX%%/etc/smartd.conf.sample
|
|
Copy this file to %%PREFIX%%/etc/smartd.conf and edit appropriately
|
|
|
|
To have smartd start at boot
|
|
echo 'smartd_enable="YES"' >> /etc/rc.conf
|