]> git.proxmox.com Git - mirror_smartmontools-debian.git/blob - debian/patches/61_cciss-doc.patch
new patch: manpage improvements
[mirror_smartmontools-debian.git] / debian / patches / 61_cciss-doc.patch
1 Author: Matt Taggart <taggart@debian.org>
2 Subject: Update cciss examples/docs
3
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
7 minor exceptions
8
9 diff --git a/smartd.conf b/smartd.conf
10 index 5490bde..59addd4 100644
11 --- a/smartd.conf
12 +++ b/smartd.conf
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
17 +#
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
23
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
32 .\" %ENDIF OS FreeBSD
33 .B #
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
39 +.B #
40 .B # Three SATA disks on a HighPoint RocketRAID controller.
41 .B # Start short self-tests daily between 1\(en2, 2\(en3, and
42 .B # 3\(en4 am.
43 @@ -1453,6 +1459,9 @@ configuration file Directives might be:
44 If you want more frequent information, use:
45 .B \-a.
46
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).
50 .TP
51 .B ADDITIONAL DETAILS ABOUT DEVICESCAN
52 If a non-comment entry in the configuration file is the text