]> git.proxmox.com Git - mirror_smartmontools-debian.git/blob - smartd.conf
add debian specific patches
[mirror_smartmontools-debian.git] / smartd.conf
1 # Sample configuration file for smartd. See man smartd.conf.
2
3 # Home page is: http://smartmontools.sourceforge.net
4
5 # $Id: smartd.conf,v 1.40 2006/04/12 14:00:12 ballen4705 Exp $
6
7 # smartd will re-read the configuration file if it receives a HUP
8 # signal
9
10 # The file gives a list of devices to monitor using smartd, with one
11 # device per line. Text after a hash (#) is ignored, and you may use
12 # spaces and tabs for white space. You may use '\' to continue lines.
13
14 # You can usually identify which hard disks are on your system by
15 # looking in /proc/ide and in /proc/scsi.
16
17 # The word DEVICESCAN will cause any remaining lines in this
18 # configuration file to be ignored: it tells smartd to scan for all
19 # ATA and SCSI devices. DEVICESCAN may be followed by any of the
20 # Directives listed below, which will be applied to all devices that
21 # are found. Most users should comment out DEVICESCAN and explicitly
22 # list the devices that they wish to monitor.
23 DEVICESCAN
24
25 # First (primary) ATA/IDE hard disk. Monitor all attributes, enable
26 # automatic online data collection, automatic Attribute autosave, and
27 # start a short self-test every day between 2-3am, and a long self test
28 # Saturdays between 3-4am.
29 #/dev/hda -a -o on -S on -s (S/../.././02|L/../../6/03)
30
31 # Monitor SMART status, ATA Error Log, Self-test log, and track
32 # changes in all attributes except for attribute 194
33 #/dev/hdb -H -l error -l selftest -t -I 194
34
35 # Linux-specific example: monitor a SATA (Serial ATA) disk which uses
36 # the libata driver. This requires a Linux 2.6.15 or later kernel.
37 # Note that the disk is addressed via a SCSI device, but the
38 # underlying disk type is actually ATA
39 # /dev/sda -a -d ata
40
41 # A very silent check. Only report SMART health status if it fails
42 # But send an email in this case
43 #/dev/hdc -H -m admin@example.com
44
45 # First two SCSI disks. This will monitor everything that smartd can
46 # monitor. Start extended self-tests Wednesdays between 6-7pm and
47 # Sundays between 1-2 am
48 #/dev/sda -d scsi -s L/../../3/18
49 #/dev/sdb -d scsi -s L/../../7/01
50
51 # Monitor 4 ATA disks connected to a 3ware 6/7/8000 controller which uses
52 # the 3w-xxxx driver. Start long self-tests Sundays between 1-2, 2-3, 3-4,
53 # and 4-5 am.
54 # NOTE: starting with the Linux 2.6 kernel series, the /dev/sdX interface
55 # is DEPRECATED. Use the /dev/tweN character device interface instead.
56 # For example /dev/twe0, /dev/twe1, and so on.
57 #/dev/sdc -d 3ware,0 -a -s L/../../7/01
58 #/dev/sdc -d 3ware,1 -a -s L/../../7/02
59 #/dev/sdc -d 3ware,2 -a -s L/../../7/03
60 #/dev/sdc -d 3ware,3 -a -s L/../../7/04
61
62 # Monitor 2 ATA disks connected to a 3ware 9000 controller which uses
63 # the 3w-9xxx driver. Start long self-tests Tuesdays between 1-2 and 3-4 am
64 #/dev/twa0 -d 3ware,0 -a -s L/../../2/01
65 #/dev/twa0 -d 3ware,1 -a -s L/../../2/03
66
67 # HERE IS A LIST OF DIRECTIVES FOR THIS CONFIGURATION FILE.
68 # PLEASE SEE THE smartd.conf MAN PAGE FOR DETAILS
69 #
70 # -d TYPE Set the device type: ata, scsi, marvell, removable, 3ware,N
71 # -T TYPE set the tolerance to one of: normal, permissive
72 # -o VAL Enable/disable automatic offline tests (on/off)
73 # -S VAL Enable/disable attribute autosave (on/off)
74 # -n MODE No check. MODE is one of: never, sleep, standby, idle
75 # -H Monitor SMART Health Status, report if failed
76 # -l TYPE Monitor SMART log. Type is one of: error, selftest
77 # -f Monitor for failure of any 'Usage' Attributes
78 # -m ADD Send warning email to ADD for -H, -l error, -l selftest, and -f
79 # -M TYPE Modify email warning behavior (see man page)
80 # -s REGE Start self-test when type/date matches regular expression (see man page)
81 # -p Report changes in 'Prefailure' Normalized Attributes
82 # -u Report changes in 'Usage' Normalized Attributes
83 # -t Equivalent to -p and -u Directives
84 # -r ID Also report Raw values of Attribute ID with -p, -u or -t
85 # -R ID Track changes in Attribute ID Raw value with -p, -u or -t
86 # -i ID Ignore Attribute ID for -f Directive
87 # -I ID Ignore Attribute ID for -p, -u or -t Directive
88 # -C ID Report if Current Pending Sector count non-zero
89 # -U ID Report if Offline Uncorrectable count non-zero
90 # -v N,ST Modifies labeling of Attribute N (see man page)
91 # -a Default: equivalent to -H -f -t -l error -l selftest -C 197 -U 198
92 # -F TYPE Use firmware bug workaround. Type is one of: none, samsung
93 # -P TYPE Drive-specific presets: use, ignore, show, showall
94 # # Comment: text after a hash sign is ignored
95 # \ Line continuation character
96 # Attribute ID is a decimal integer 1 <= ID <= 255
97 # except for -C and -U, where ID = 0 turns them off.
98 # All but -d, -m and -M Directives are only implemented for ATA devices
99 #
100 # If the test string DEVICESCAN is the first uncommented text
101 # then smartd will scan for devices /dev/hd[a-l] and /dev/sd[a-z]
102 # DEVICESCAN may be followed by any desired Directives.