freebsd-ports/sysutils/smartmontools/files/pkg-message.in
Pav Lucistnik f1fdf32a0c - Now comes with a periodic script
PR:		ports/129722
Submitted by:	wollman
2008-12-19 13:14:29 +00:00

19 lines
736 B
Text

smartmontools has been installed
To check the status of drives, use the following:
%%PREFIX%%/sbin/smartctl -a /dev/ad0 for first ATA drive
%%PREFIX%%/sbin/smartctl -a /dev/da0 for first SCSI 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