blob: 9c68b7009fc2981fcf2401eebfc01bdec0d8cf72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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
|