]> 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 --- a/smartd.conf
10 +++ b/smartd.conf
11 @@ -92,6 +92,12 @@
12 # NOTE: On Windows, DEVICESCAN works also for 3ware controllers.
13 #/dev/hdc,0 -a -s L/../../2/01
14 #/dev/hdc,1 -a -s L/../../2/03
15 +#
16 +# Monitor 2 disks connected to the first HP SmartArray controller which
17 +# uses the cciss driver. Start long tests on Sunday nights and short
18 +# self-tests every night and send errors to root
19 +#/dev/cciss/c0d0 -d cciss,0 -a -s (L/../../7/02|S/../.././02) -m root
20 +#/dev/cciss/c0d0 -d cciss,1 -a -s (L/../../7/03|S/../.././03) -m root
21
22 # Monitor 3 ATA disks directly connected to a HighPoint RocketRAID. Start long
23 # self-tests Sundays between 1-2, 2-3, and 3-4 am.
24 --- a/smartd.conf.5.in
25 +++ b/smartd.conf.5.in
26 @@ -92,10 +92,11 @@
27 .B # This is an example smartd startup config file
28 .B # /usr/local/etc/smartd.conf for monitoring three
29 .B # ATA disks, three SCSI disks, six ATA disks
30 -.B # behind two 3ware controllers, three SATA disks
31 -.B # directly connected to the HighPoint Rocket-
32 -.B # RAID controller, two SATA disks connected to
33 -.B # the HighPoint RocketRAID controller via a pmport
34 +.B # behind two 3ware controllers, two disks on a cciss
35 +.B # controller, three SATA disks directly connected
36 +.B # to the HighPoint Rocket-RAID controller,
37 +.B # two SATA disks connected to the HighPoint
38 +.B # RocketRAID controller via a pmport
39 .B # device, four SATA disks connected to an Areca
40 .B # RAID controller, and one SATA disk.
41 .B #
42 @@ -170,6 +171,12 @@
43 .B \ \ /dev/tws0 -d 3ware,1 -a -s L/../../7/02
44 .\" %ENDIF OS FreeBSD
45 .B #
46 +.B # Monitor 2 disks connected to the first HP SmartArray controller which
47 +.B # uses the cciss driver. Start long tests on Sunday nights and short
48 +.B # self-tests every night and send errors to root
49 +.B \ \ /dev/cciss/c0d0 -d cciss,0 -a -s (L/../../7/02|S/../.././02) -m root
50 +.B \ \ /dev/cciss/c0d0 -d cciss,1 -a -s (L/../../7/03|S/../.././03) -m root
51 +.B #
52 .B # Three SATA disks on a HighPoint RocketRAID controller.
53 .B # Start short self-tests daily between 1-2, 2-3, and
54 .B # 3-4 am.
55 @@ -1463,6 +1470,9 @@
56 If you want more frequent information, use:
57 .B -a.
58
59 +.B If a cciss controller is used
60 +then the corresponding block device (/dev/cciss/c?d?) must be listed,
61 +along with the \'\-d cciss,N\' Directive (see below).
62 .TP
63 .B ADDITIONAL DETAILS ABOUT DEVICESCAN
64 If a non-comment entry in the configuration file is the text