The smartmontools package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.) built into most modern ATA and SCSI hard disks. It is derived from the smartsuite package, and includes support for ATA/ATAPI-5 disks. PR: 58085 Submitted by: Eduard Martinescu <martines@rochester.rr.com> Approved by: krion (implicit)
14 lines
542 B
Text
14 lines
542 B
Text
smartmontools has been installed
|
|
|
|
To check the status of drives, use the following:
|
|
|
|
${PREFIX}/sbin/smartctl -a ad0 for first ATA drive
|
|
${PREFIX}/sbin/smartctl -a da0 for first SCSI drive
|
|
|
|
To enable monitor of drives, 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
|
|
cp ${PREFIX}/etc/rc.d/smartd.sample ${PREFIX}/etc/rc.d/smartd.sh
|
|
chmod 555 ${PREFIX}/etc/rc.d/smartd.sh
|