summaryrefslogtreecommitdiff
path: root/sysutils/smartmontools/files/pkg-message.in
blob: 9b7b4e982f9718d0acce6e8bf92b3c8c9d4597da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[
{ type: install
  message: <<EOM
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

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