BSD Ports

sysutils/smartmontools 7.4_2 DragonFly

S.M.A.R.T. disk monitoring tools

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2+
Categories
sysutils
Package size
539.0 KiB, 2070.1 KiB installed

Description

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 SATA, NVMe and SCSI hard disks. It is derived from the smartsuite package, and includes support for ATA/ATAPI/SATA disks and SCSI disks and tape devices.

In the other systems

SystemPortVersion
DragonFlysysutils/smartmontools7.4_2
FreeBSDsysutils/smartmontools7.5_3
OpenBSDsysutils/smartmontools7.5
NetBSDsysutils/smartmontools7.4
MidnightBSDsysutils/smartmontools7.5
HardenedBSDsysutils/smartmontools7.5_2
GhostBSDsysutils/smartmontools7.5_2
OPNsensesysutils/smartmontools7.5_2

Install

Binary package:

pkg install smartmontools

From DPorts:

cd /usr/dports/sysutils/smartmontools && make install clean

Dependencies

Configuration

No options to configure.

Service scripts
none

Message after installing

smartmontools has been installed

To check the status of drives, use the following:

	/usr/local/sbin/smartctl -a /dev/ad0	for first ATA/SATA drive
	/usr/local/sbin/smartctl -a /dev/da0	for first SCSI drive
	/usr/local/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 /usr/local/sbin/smartd.
A sample configuration file has been installed as
/usr/local/etc/smartd.conf.sample
Copy this file to /usr/local/etc/smartd.conf and edit appropriately

To have smartd start at boot
	echo 'smartd_enable="YES"' >> /etc/rc.conf

To enable verification of the drivedb updates, install the "security/gnupg"
package.