]> git.proxmox.com Git - mirror_smartmontools-debian.git/blame - debian/patches/61_cciss-doc.patch
new patch: manpage improvements
[mirror_smartmontools-debian.git] / debian / patches / 61_cciss-doc.patch
CommitLineData
2d3e4b94
GG
1Author: Matt Taggart <taggart@debian.org>
2Subject: Update cciss examples/docs
3
4Here is a patch that adds examples for cciss to the default smartd.conf
5file and adds some more cciss documentation to the manpages. I think this
6patch gets things to parity with the 3ware documentation with a couple
7minor exceptions
8
63180956 9diff --git a/smartd.conf b/smartd.conf
089a6ff8 10index 5490bde..59addd4 100644
901fe9c1
GI
11--- a/smartd.conf
12+++ b/smartd.conf
63180956 13@@ -92,6 +92,12 @@ DEVICESCAN -n standby -m root -M exec /usr/share/smartmontools/smartd-runner
2d3e4b94
GG
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.
63180956 26diff --git a/smartd.conf.5.in b/smartd.conf.5.in
089a6ff8 27index df2b6c4..f098a6e 100644
901fe9c1
GI
28--- a/smartd.conf.5.in
29+++ b/smartd.conf.5.in
63180956 30@@ -157,6 +157,12 @@ Section below!
089a6ff8 31 .B \ \ /dev/tws0 \-d 3ware,1 \-a \-s L/../../7/02
1855d634 32 .\" %ENDIF OS FreeBSD
2d3e4b94 33 .B #
2d3e4b94
GG
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 #
6052436d 40 .B # Three SATA disks on a HighPoint RocketRAID controller.
089a6ff8
JD
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:
789e1230 44 If you want more frequent information, use:
089a6ff8 45 .B \-a.
789e1230
GI
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