Advertisement
Guest User

Untitled

a guest
Dec 27th, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. smartmontools has been installed
  2.  
  3. To check the status of drives, use the following:
  4.  
  5. /usr/local/sbin/smartctl -a /dev/ad0 for first ATA/SATA drive
  6. /usr/local/sbin/smartctl -a /dev/da0 for first SCSI drive
  7. /usr/local/sbin/smartctl -a /dev/ada0 for first SATA drive
  8.  
  9. To include drive health information in your daily status reports,
  10. add a line like the following to /etc/periodic.conf:
  11. daily_status_smart_devices="/dev/ad0 /dev/da0"
  12. substituting the appropriate device names for your SMART-capable disks.
  13.  
  14. To enable drive monitoring, you can use /usr/local/sbin/smartd.
  15. A sample configuration file has been installed as
  16. /usr/local/etc/smartd.conf.sample
  17. Copy this file to /usr/local/etc/smartd.conf and edit appropriately
  18.  
  19. To have smartd start at boot
  20. echo 'smartd_enable="YES"' >> /etc/rc.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement