X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=smartd.conf;h=d4a0d10adb944d5defb70dd876aaf3bb17f7353b;hb=a86ec89e3a8bd0151810090b55d1a9130117fb82;hp=ad35f7d0d9793f847729103d6c71203350450ca3;hpb=ba59cff116181eae6e00eae958bc573eb5e97dfb;p=mirror_smartmontools-debian.git diff --git a/smartd.conf b/smartd.conf index ad35f7d..d4a0d10 100644 --- a/smartd.conf +++ b/smartd.conf @@ -1,8 +1,8 @@ # Sample configuration file for smartd. See man smartd.conf. -# Home page is: http://smartmontools.sourceforge.net +# Home page is: http://www.smartmontools.org -# $Id: smartd.conf,v 1.44 2006/10/09 19:58:08 chrfranke Exp $ +# $Id: smartd.conf 4120 2015-08-27 16:12:21Z samm2 $ # smartd will re-read the configuration file if it receives a HUP # signal @@ -33,31 +33,31 @@ DEVICESCAN # and min/max temperatures. #DEVICESCAN -I 194 -I 231 -I 9 -W 5 -# First (primary) ATA/IDE hard disk. Monitor all attributes, enable +# First ATA/SATA or SCSI/SAS disk. Monitor all attributes, enable # automatic online data collection, automatic Attribute autosave, and # start a short self-test every day between 2-3am, and a long self test # Saturdays between 3-4am. -#/dev/hda -a -o on -S on -s (S/../.././02|L/../../6/03) +#/dev/sda -a -o on -S on -s (S/../.././02|L/../../6/03) # Monitor SMART status, ATA Error Log, Self-test log, and track # changes in all attributes except for attribute 194 -#/dev/hdb -H -l error -l selftest -t -I 194 +#/dev/sdb -H -l error -l selftest -t -I 194 # Monitor all attributes except normalized Temperature (usually 194), # but track Temperature changes >= 4 Celsius, report Temperatures # >= 45 Celsius and changes in Raw value of Reallocated_Sector_Ct (5). # Send mail on SMART failures or when Temperature is >= 55 Celsius. -#/dev/hdc -a -I 194 -W 4,45,55 -R 5 -m admin@example.com +#/dev/sdc -a -I 194 -W 4,45,55 -R 5 -m admin@example.com -# Linux-specific example: monitor a SATA (Serial ATA) disk which uses -# the libata driver. This requires a Linux 2.6.15 or later kernel. -# Note that the disk is addressed via a SCSI device, but the -# underlying disk type is actually ATA -#/dev/sda -a -d ata +# An ATA disk may appear as a SCSI device to the OS. If a SCSI to +# ATA Translation (SAT) layer is between the OS and the device then +# this can be flagged with the '-d sat' option. This situation may +# become common with SATA disks in SAS and FC environments. +# /dev/sda -a -d sat # A very silent check. Only report SMART health status if it fails # But send an email in this case -#/dev/hdc -H -C 0 -U 0 -m admin@example.com +#/dev/sdc -H -C 0 -U 0 -m admin@example.com # First two SCSI disks. This will monitor everything that smartd can # monitor. Start extended self-tests Wednesdays between 6-7pm and @@ -76,12 +76,19 @@ DEVICESCAN #/dev/sdc -d 3ware,2 -a -s L/../../7/03 #/dev/sdc -d 3ware,3 -a -s L/../../7/04 -# Monitor 2 ATA disks connected to a 3ware 9000 controller which uses -# the 3w-9xxx driver (Linux, FreeBSD). Start long self-tests Tuesdays +# Monitor 2 ATA disks connected to a 3ware 9000 controller which +# uses the 3w-9xxx driver (Linux, FreeBSD). Start long self-tests Tuesdays # between 1-2 and 3-4 am. #/dev/twa0 -d 3ware,0 -a -s L/../../2/01 #/dev/twa0 -d 3ware,1 -a -s L/../../2/03 +# Monitor 2 SATA (not SAS) disks connected to a 3ware 9000 controller which +# uses the 3w-sas driver (Linux). Start long self-tests Tuesdays +# between 1-2 and 3-4 am. +# On FreeBSD /dev/tws0 should be used instead +#/dev/twl0 -d 3ware,0 -a -s L/../../2/01 +#/dev/twl0 -d 3ware,1 -a -s L/../../2/03 + # Same as above for Windows. Option '-d 3ware,N' is not necessary, # disk (port) number is specified in device name. # NOTE: On Windows, DEVICESCAN works also for 3ware controllers. @@ -134,5 +141,5 @@ DEVICESCAN # All but -d, -m and -M Directives are only implemented for ATA devices # # If the test string DEVICESCAN is the first uncommented text -# then smartd will scan for devices /dev/hd[a-l] and /dev/sd[a-z] +# then smartd will scan for devices. # DEVICESCAN may be followed by any desired Directives.