1 Author: Matt Taggart <taggart@debian.org>
2 Subject: Update cciss examples/docs
4 Here is a patch that adds examples for cciss to the default smartd.conf
5 file and adds some more cciss documentation to the manpages. I think this
6 patch gets things to parity with the 3ware documentation with a couple
9 diff --git a/smartd.conf b/smartd.conf
10 index 5490bde..59addd4 100644
13 @@ -92,6 +92,12 @@ DEVICESCAN -n standby -m root -M exec /usr/share/smartmontools/smartd-runner
14 # NOTE: On Windows, DEVICESCAN works also for 3ware controllers.
15 #/dev/hdc,0 -a -s L/../../2/01
16 #/dev/hdc,1 -a -s L/../../2/03
18 +# Monitor 2 disks connected to the first HP SmartArray controller which
19 +# uses the cciss driver. Start long tests on Sunday nights and short
20 +# self-tests every night and send errors to root
21 +#/dev/cciss/c0d0 -d cciss,0 -a -s (L/../../7/02|S/../.././02) -m root
22 +#/dev/cciss/c0d0 -d cciss,1 -a -s (L/../../7/03|S/../.././03) -m root
24 # Monitor 3 ATA disks directly connected to a HighPoint RocketRAID. Start long
25 # self-tests Sundays between 1-2, 2-3, and 3-4 am.
26 diff --git a/smartd.conf.5.in b/smartd.conf.5.in
27 index df2b6c4..f098a6e 100644
28 --- a/smartd.conf.5.in
29 +++ b/smartd.conf.5.in
30 @@ -157,6 +157,12 @@ Section below!
31 .B \ \ /dev/tws0 \-d 3ware,1 \-a \-s L/../../7/02
34 +.B # Monitor 2 disks connected to the first HP SmartArray controller which
35 +.B # uses the cciss driver. Start long tests on Sunday nights and short
36 +.B # self-tests every night and send errors to root
37 +.B \ \ /dev/cciss/c0d0 -d cciss,0 -a -s (L/../../7/02|S/../.././02) -m root
38 +.B \ \ /dev/cciss/c0d0 -d cciss,1 -a -s (L/../../7/03|S/../.././03) -m root
40 .B # Three SATA disks on a HighPoint RocketRAID controller.
41 .B # Start short self-tests daily between 1\(en2, 2\(en3, and
43 @@ -1453,6 +1459,9 @@ configuration file Directives might be:
44 If you want more frequent information, use:
47 +.B If a cciss controller is used
48 +then the corresponding block device (/dev/cciss/c?d?) must be listed,
49 +along with the \'\-d cciss,N\' Directive (see below).
51 .B ADDITIONAL DETAILS ABOUT DEVICESCAN
52 If a non-comment entry in the configuration file is the text