Skip to content
Snippets Groups Projects
Commit e93e1831 authored by dpgilbert's avatar dpgilbert
Browse files

change linux/libata specific syntax to use of '-d sat'

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2328 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 022f99cf
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Home page is: http://smartmontools.sourceforge.net # Home page is: http://smartmontools.sourceforge.net
# $Id: smartd.conf,v 1.44 2006/10/09 19:58:08 chrfranke Exp $ # $Id: smartd.conf,v 1.45 2006/11/12 23:39:04 dpgilbert Exp $
# smartd will re-read the configuration file if it receives a HUP # smartd will re-read the configuration file if it receives a HUP
# signal # signal
...@@ -49,11 +49,11 @@ DEVICESCAN ...@@ -49,11 +49,11 @@ DEVICESCAN
# Send mail on SMART failures or when Temperature is >= 55 Celsius. # Send mail on SMART failures or when Temperature is >= 55 Celsius.
#/dev/hdc -a -I 194 -W 4,45,55 -R 5 -m admin@example.com #/dev/hdc -a -I 194 -W 4,45,55 -R 5 -m admin@example.com
# Linux-specific example: monitor a SATA (Serial ATA) disk which uses # An ATA disk may appear as a SCSI device to the OS. If a SCSI to
# the libata driver. This requires a Linux 2.6.15 or later kernel. # ATA Translation (SAT) layer is between the OS and the device then
# Note that the disk is addressed via a SCSI device, but the # this can be flagged with the '-d sat' option. This situation may
# underlying disk type is actually ATA # become common with SATA disks in SAS and FC environments.
#/dev/sda -a -d ata # /dev/sda -a -d sat
# A very silent check. Only report SMART health status if it fails # A very silent check. Only report SMART health status if it fails
# But send an email in this case # But send an email in this case
......
.ig .ig
Copyright (C) 2002-6 Bruce Allen <smartmontools-support@lists.sourceforge.net> Copyright (C) 2002-6 Bruce Allen <smartmontools-support@lists.sourceforge.net>
$Id: smartd.conf.5.in,v 1.78 2006/10/09 11:45:12 guidog Exp $ $Id: smartd.conf.5.in,v 1.79 2006/11/12 23:39:26 dpgilbert Exp $
This program is free software; you can redistribute it and/or modify it This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free under the terms of the GNU General Public License as published by the Free
...@@ -121,8 +121,8 @@ Section below! ...@@ -121,8 +121,8 @@ Section below!
.B # behind two 3ware controllers, three SATA disks .B # behind two 3ware controllers, three SATA disks
.B # directly connected to the highpoint rocket- .B # directly connected to the highpoint rocket-
.B # raid controller, two SATA disks connected to .B # raid controller, two SATA disks connected to
.B # the highpoint rocketraid controller via a pmport .B # the highpoint controller via a pmport device
.B # device and one SATA disk. .B # and one SATA disk.
.B # .B #
.nf .nf
.B # First ATA disk on two different interfaces. On .B # First ATA disk on two different interfaces. On
...@@ -145,11 +145,13 @@ Section below! ...@@ -145,11 +145,13 @@ Section below!
.B \ \ /dev/weird -d scsi -s L/../../(1|4)/05 .B \ \ /dev/weird -d scsi -s L/../../(1|4)/05
.B # .B #
.nf .nf
.B # Linux-specific: SATA disk using the libata .B # An ATA disk may appear as a SCSI device to the
.B # driver. This requires a 2.6.15 or greater .B # OS. If a SCSI to ATA Translation (SAT) layer
.B # kernel. The device entry is SCSI but the .B # is between the OS and the device then this can be
.B # underlying disk understands ATA SMART commands .B # flagged with the '-d sat' option. This situation
.B \ \ /dev/sda -a -d ata .B # may become common with SATA disks in SAS and FC
.B # environments.
.B \ \ /dev/sda -a -d sat
.B # .B #
.nf .nf
.B # Four ATA disks on a 3ware 6/7/8000 controller. .B # Four ATA disks on a 3ware 6/7/8000 controller.
...@@ -181,7 +183,7 @@ Section below! ...@@ -181,7 +183,7 @@ Section below!
.nf .nf
.B # Two SATA disks connected to a highpoint rocketraid .B # Two SATA disks connected to a highpoint rocketraid
.B # via a pmport device. Start long self-tests Sundays .B # via a pmport device. Start long self-tests Sundays
.B # between midnight and 1am and 2-3 am. .B # between midnight and 1am and 2-3 am
.B \ \ /dev/sde -d hpt,1/4/1 -a -s L/../../7/00 .B \ \ /dev/sde -d hpt,1/4/1 -a -s L/../../7/00
.B \ \ /dev/sde -d hpt,1/4/2 -a -s L/../../7/02 .B \ \ /dev/sde -d hpt,1/4/2 -a -s L/../../7/02
.B # .B #
...@@ -254,7 +256,7 @@ directives can be used for these disks (but see note below). ...@@ -254,7 +256,7 @@ directives can be used for these disks (but see note below).
.B \-d TYPE .B \-d TYPE
Specifies the type of the device. This Directive may be used multiple Specifies the type of the device. This Directive may be used multiple
times for one device, but the arguments \fIata\fP, \fIscsi\fP, \fIsat\fP, times for one device, but the arguments \fIata\fP, \fIscsi\fP, \fIsat\fP,
\fImarvell\fP, \fIcciss,N\fP and \fI3ware,N\fP are mutually-exclusive. If more \fImarvell\fP, \fIcciss\fP and \fI3ware,N\fP are mutually-exclusive. If more
than one is given then \fBsmartd\fP will use the last one which appears. than one is given then \fBsmartd\fP will use the last one which appears.
If none of these three arguments is given, then \fBsmartd\fP will If none of these three arguments is given, then \fBsmartd\fP will
...@@ -1340,4 +1342,4 @@ SEE ALSO: ...@@ -1340,4 +1342,4 @@ SEE ALSO:
.SH .SH
CVS ID OF THIS PAGE: CVS ID OF THIS PAGE:
$Id: smartd.conf.5.in,v 1.78 2006/10/09 11:45:12 guidog Exp $ $Id: smartd.conf.5.in,v 1.79 2006/11/12 23:39:26 dpgilbert Exp $
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment