]> git.proxmox.com Git - mirror_smartmontools-debian.git/blame - debian/patches/61_cciss-doc.patch
Refreshed patches and removed patches applied upstream
[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
6052436d
GI
9--- a/smartd.8.in
10+++ b/smartd.8.in
1855d634 11@@ -153,6 +153,10 @@ Directive in the configuration file; see
9fcd4498
GI
12 .SH
13 OPTIONS
789e1230
GI
14
15+.B If a cciss controller is used
16+then the corresponding block device (/dev/cciss/c?d?) must be listed,
17+along with the \'\-d cciss,N\' Directive (see below).
18+
19 .TP
9fcd4498 20 .B \-A PREFIX, \-\-attributelog=PREFIX
1855d634 21 Writes \fBsmartd\fP attribute information (normalized and raw
6052436d
GI
22--- a/smartd.conf
23+++ b/smartd.conf
1855d634 24@@ -92,6 +92,12 @@ DEVICESCAN -n standby -m root -M exec /u
2d3e4b94
GG
25 # NOTE: On Windows, DEVICESCAN works also for 3ware controllers.
26 #/dev/hdc,0 -a -s L/../../2/01
27 #/dev/hdc,1 -a -s L/../../2/03
28+#
29+# Monitor 2 disks connected to the first HP SmartArray controller which
30+# uses the cciss driver. Start long tests on Sunday nights and short
31+# self-tests every night and send errors to root
32+#/dev/cciss/c0d0 -d cciss,0 -a -s (L/../../7/02|S/../.././02) -m root
33+#/dev/cciss/c0d0 -d cciss,1 -a -s (L/../../7/03|S/../.././03) -m root
34
35 # Monitor 3 ATA disks directly connected to a HighPoint RocketRAID. Start long
36 # self-tests Sundays between 1-2, 2-3, and 3-4 am.
6052436d
GI
37--- a/smartd.conf.5.in
38+++ b/smartd.conf.5.in
1855d634 39@@ -97,10 +97,11 @@ Section below!
2d3e4b94
GG
40 .B # This is an example smartd startup config file
41 .B # /usr/local/etc/smartd.conf for monitoring three
42 .B # ATA disks, three SCSI disks, six ATA disks
43-.B # behind two 3ware controllers, three SATA disks
6052436d
GI
44-.B # directly connected to the HighPoint Rocket-
45-.B # RAID controller, two SATA disks connected to
46-.B # the HighPoint RocketRAID controller via a pmport
2d3e4b94
GG
47+.B # behind two 3ware controllers, two disks on a cciss
48+.B # controller, three SATA disks directly connected
6052436d
GI
49+.B # to the HighPoint Rocket-RAID controller,
50+.B # two SATA disks connected to the HighPoint
51+.B # RocketRAID controller via a pmport
52 .B # device, four SATA disks connected to an Areca
53 .B # RAID controller, and one SATA disk.
2d3e4b94 54 .B #
1855d634
GI
55@@ -178,6 +179,13 @@ Section below!
56 .\" %ENDIF OS FreeBSD
2d3e4b94
GG
57 .B #
58 .nf
59+.B # Monitor 2 disks connected to the first HP SmartArray controller which
60+.B # uses the cciss driver. Start long tests on Sunday nights and short
61+.B # self-tests every night and send errors to root
62+.B \ \ /dev/cciss/c0d0 -d cciss,0 -a -s (L/../../7/02|S/../.././02) -m root
63+.B \ \ /dev/cciss/c0d0 -d cciss,1 -a -s (L/../../7/03|S/../.././03) -m root
64+.B #
65+.nf
6052436d 66 .B # Three SATA disks on a HighPoint RocketRAID controller.
2d3e4b94
GG
67 .B # Start short self-tests daily between 1-2, 2-3, and
68 .B # 3-4 am.
1855d634 69@@ -1497,6 +1505,9 @@ configuration file Directives might be:
789e1230
GI
70 If you want more frequent information, use:
71 .B -a.
72
73+.B If a cciss controller is used
74+then the corresponding block device (/dev/cciss/c?d?) must be listed,
75+along with the \'\-d cciss,N\' Directive (see below).
76 .TP
77 .B ADDITIONAL DETAILS ABOUT DEVICESCAN
78 If a non-comment entry in the configuration file is the text