]> git.proxmox.com Git - mirror_smartmontools-debian.git/blob - debian/patches/61_cciss-doc.patch
Merge tag 'upstream/6.2+svn3841'
[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 --- a/smartd.8.in
10 +++ b/smartd.8.in
11 @@ -153,6 +153,10 @@ Directive in the configuration file; see
12 .SH
13 OPTIONS
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
20 .B \-A PREFIX, \-\-attributelog=PREFIX
21 Writes \fBsmartd\fP attribute information (normalized and raw
22 --- a/smartd.conf
23 +++ b/smartd.conf
24 @@ -92,6 +92,12 @@ DEVICESCAN -n standby -m root -M exec /u
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.
37 --- a/smartd.conf.5.in
38 +++ b/smartd.conf.5.in
39 @@ -97,10 +97,11 @@ Section below!
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
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
47 +.B # behind two 3ware controllers, two disks on a cciss
48 +.B # controller, three SATA disks directly connected
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.
54 .B #
55 @@ -178,6 +179,13 @@ Section below!
56 .\" %ENDIF OS FreeBSD
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
66 .B # Three SATA disks on a HighPoint RocketRAID controller.
67 .B # Start short self-tests daily between 1-2, 2-3, and
68 .B # 3-4 am.
69 @@ -1497,6 +1505,9 @@ configuration file Directives might be:
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