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