Skip to content
Snippets Groups Projects
Commit d4546954 authored by ballen4705's avatar ballen4705
Browse files

release 19

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@157 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 9fb2fc68
Branches
No related tags found
No related merge requests found
CHANGELOG for smartmontools CHANGELOG for smartmontools
$Id: CHANGELOG,v 1.27 2002/10/29 14:19:10 ballen4705 Exp $ $Id: CHANGELOG,v 1.28 2002/10/29 15:19:30 ballen4705 Exp $
Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net> Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net>
...@@ -60,6 +60,7 @@ smartmontools-5.0-17 ...@@ -60,6 +60,7 @@ smartmontools-5.0-17
-p Report changes in 'Prefailure' Attributes -p Report changes in 'Prefailure' Attributes
-u Report changes in 'Usage' Attributes -u Report changes in 'Usage' Attributes
-t Equivalent to -p and -u Directives -t Equivalent to -p and -u Directives
-a Equivalent to -c -l -L -f -t Directives
-i ID Ignore Attribute ID for -f Directive -i ID Ignore Attribute ID for -f Directive
-I ID Ignore Attribute ID for -p, -u or -t Directive -I ID Ignore Attribute ID for -p, -u or -t Directive
# Comment: text after a hash sign is ignored # Comment: text after a hash sign is ignored
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
// CVS ID strings // CVS ID strings
extern const char *CVSid1, *CVSid2; extern const char *CVSid1, *CVSid2;
const char *CVSid6="$Id: smartd.c,v 1.41 2002/10/29 14:54:47 ballen4705 Exp $" const char *CVSid6="$Id: smartd.c,v 1.42 2002/10/29 15:19:30 ballen4705 Exp $"
CVSID1 CVSID2 CVSID3 CVSID4 CVSID7; CVSID1 CVSID2 CVSID3 CVSID4 CVSID7;
// global variable used for control of printing, passing arguments, etc. // global variable used for control of printing, passing arguments, etc.
...@@ -154,13 +154,14 @@ void Directives() { ...@@ -154,13 +154,14 @@ void Directives() {
printout(LOG_INFO,"Configuration file Directives (following device name):\n"); printout(LOG_INFO,"Configuration file Directives (following device name):\n");
printout(LOG_INFO," -A Device is an ATA device\n"); printout(LOG_INFO," -A Device is an ATA device\n");
printout(LOG_INFO," -S Device is a SCSI device\n"); printout(LOG_INFO," -S Device is a SCSI device\n");
printout(LOG_INFO," -c Monitor SMART Health Status\n"); printout(LOG_INFO," -c Monitor SMART Health Status, report if failed\n");
printout(LOG_INFO," -l Monitor SMART Error Log for changes\n"); printout(LOG_INFO," -l Monitor SMART Error Log, report new errors\n");
printout(LOG_INFO," -L Monitor SMART Self-Test Log for new errors\n"); printout(LOG_INFO," -L Monitor SMART Self-Test Log, report new errors\n");
printout(LOG_INFO," -f Monitor for failure of any 'Usage' Attributes\n"); printout(LOG_INFO," -f Monitor 'Usage' Attributes, report failures\n");
printout(LOG_INFO," -p Report changes in 'Prefailure' Attributes\n"); printout(LOG_INFO," -p Report changes in 'Prefailure' Attributes\n");
printout(LOG_INFO," -u Report changes in 'Usage' Attributes\n"); printout(LOG_INFO," -u Report changes in 'Usage' Attributes\n");
printout(LOG_INFO," -t Equivalent to -p and -u Directives\n"); printout(LOG_INFO," -t Equivalent to -p and -u Directives\n");
printout(LOG_INFO," -a Equivalent to -c -l -L -f -t Directives\n");
printout(LOG_INFO," -i ID Ignore Attribute ID for -f Directive\n"); printout(LOG_INFO," -i ID Ignore Attribute ID for -f Directive\n");
printout(LOG_INFO," -I ID Ignore Attribute ID for -p, -u or -t Directive\n"); printout(LOG_INFO," -I ID Ignore Attribute ID for -p, -u or -t Directive\n");
printout(LOG_INFO," # Comment: text after a hash sign is ignored\n"); printout(LOG_INFO," # Comment: text after a hash sign is ignored\n");
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
# Monitor SMART status, ATA Error Log, Self-test log, and track # Monitor SMART status, ATA Error Log, Self-test log, and track
# changes in all attributes except for attribute 194 # changes in all attributes except for attribute 194
/dev/hdb -c l L -t -I 194 /dev/hdc /dev/hdb -c l L -t -I 194
# A very silent check. Only report SMART health status if it fails # A very silent check. Only report SMART health status if it fails
/dev/hdc -c /dev/hdc -c
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
// CVS ID strings // CVS ID strings
extern const char *CVSid1, *CVSid2; extern const char *CVSid1, *CVSid2;
const char *CVSid6="$Id: smartd.cpp,v 1.41 2002/10/29 14:54:47 ballen4705 Exp $" const char *CVSid6="$Id: smartd.cpp,v 1.42 2002/10/29 15:19:30 ballen4705 Exp $"
CVSID1 CVSID2 CVSID3 CVSID4 CVSID7; CVSID1 CVSID2 CVSID3 CVSID4 CVSID7;
// global variable used for control of printing, passing arguments, etc. // global variable used for control of printing, passing arguments, etc.
...@@ -154,13 +154,14 @@ void Directives() { ...@@ -154,13 +154,14 @@ void Directives() {
printout(LOG_INFO,"Configuration file Directives (following device name):\n"); printout(LOG_INFO,"Configuration file Directives (following device name):\n");
printout(LOG_INFO," -A Device is an ATA device\n"); printout(LOG_INFO," -A Device is an ATA device\n");
printout(LOG_INFO," -S Device is a SCSI device\n"); printout(LOG_INFO," -S Device is a SCSI device\n");
printout(LOG_INFO," -c Monitor SMART Health Status\n"); printout(LOG_INFO," -c Monitor SMART Health Status, report if failed\n");
printout(LOG_INFO," -l Monitor SMART Error Log for changes\n"); printout(LOG_INFO," -l Monitor SMART Error Log, report new errors\n");
printout(LOG_INFO," -L Monitor SMART Self-Test Log for new errors\n"); printout(LOG_INFO," -L Monitor SMART Self-Test Log, report new errors\n");
printout(LOG_INFO," -f Monitor for failure of any 'Usage' Attributes\n"); printout(LOG_INFO," -f Monitor 'Usage' Attributes, report failures\n");
printout(LOG_INFO," -p Report changes in 'Prefailure' Attributes\n"); printout(LOG_INFO," -p Report changes in 'Prefailure' Attributes\n");
printout(LOG_INFO," -u Report changes in 'Usage' Attributes\n"); printout(LOG_INFO," -u Report changes in 'Usage' Attributes\n");
printout(LOG_INFO," -t Equivalent to -p and -u Directives\n"); printout(LOG_INFO," -t Equivalent to -p and -u Directives\n");
printout(LOG_INFO," -a Equivalent to -c -l -L -f -t Directives\n");
printout(LOG_INFO," -i ID Ignore Attribute ID for -f Directive\n"); printout(LOG_INFO," -i ID Ignore Attribute ID for -f Directive\n");
printout(LOG_INFO," -I ID Ignore Attribute ID for -p, -u or -t Directive\n"); printout(LOG_INFO," -I ID Ignore Attribute ID for -p, -u or -t Directive\n");
printout(LOG_INFO," # Comment: text after a hash sign is ignored\n"); printout(LOG_INFO," # Comment: text after a hash sign is ignored\n");
......
Release: 18 Release: 19
Summary: SMARTmontools - for monitoring S.M.A.R.T. disks and devices Summary: SMARTmontools - for monitoring S.M.A.R.T. disks and devices
Name: smartmontools Name: smartmontools
Version: 5.0 Version: 5.0
...@@ -18,7 +18,7 @@ Packager: Bruce Allen <smartmontools-support@lists.sourceforge.net> ...@@ -18,7 +18,7 @@ Packager: Bruce Allen <smartmontools-support@lists.sourceforge.net>
# http://telia.dl.sourceforge.net/sourceforge/smartmontools/smartmontools-%{version}-%{release}.tar.gz # http://telia.dl.sourceforge.net/sourceforge/smartmontools/smartmontools-%{version}-%{release}.tar.gz
# CVS ID of this file is: # CVS ID of this file is:
# $Id: smartmontools.spec,v 1.29 2002/10/29 10:16:13 ballen4705 Exp $ # $Id: smartmontools.spec,v 1.30 2002/10/29 15:19:30 ballen4705 Exp $
# Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net> # Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net>
# Home page: http://smartmontools.sourceforge.net # Home page: http://smartmontools.sourceforge.net
...@@ -112,6 +112,58 @@ fi ...@@ -112,6 +112,58 @@ fi
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog %changelog
* Tue Oct 29 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net>
- smartd: prints warning message when it gets SIGHUP, saying that it is
NOT re-reading the config file.
- smartctl: updated man page to say self-test commands -O,x,X,s,S,A
appear to be supported in the code. [I can't test these, can anyone
report?]
- smartctl: smartctl would previously print the LBA of a self-test
if it completed, and the LBA was not 0 or 0xff...f However
according to the specs this is not correct. According to the
specs, if the self-test completed without error then LBA is
undefined. This version fixes that. LBA value only printed if
self-test encountered an error.
- smartd has changed significantly. This is the first CVS checkin of
code that extends the options available for smartd. The following
options can be placed into the /etc/smartd.conf file, and control the
behavior of smartd.
- Configuration file Directives (following device name):
-A Device is an ATA device
-S Device is a SCSI device
-c Monitor SMART Health Status
-l Monitor SMART Error Log for changes
-L Monitor SMART Self-Test Log for new errors
-f Monitor for failure of any 'Usage' Attributes
-p Report changes in 'Prefailure' Attributes
-u Report changes in 'Usage' Attributes
-t Equivalent to -p and -u Directives
-a Equivalent to -c -l -L -f -t Directives
-i ID Ignore Attribute ID for -f Directive
-I ID Ignore Attribute ID for -p, -u or -t Directive
# Comment: text after a hash sign is ignored
\ Line continuation character
- cleaned up functions used for printing CVS IDs. Now use string
library, as it should be.
- modified length of device name string in smartd internal structure
to accomodate max length device name strings
- removed un-implemented (-e = Email notification) option from
command line arg list. We'll put it back on when implemeneted.
- smartd now logs serious (fatal) conditions in its operation at
loglevel LOG_CRIT rather than LOG_INFO before exiting with error.
- smartd used to open a file descriptor for each SMART enabled
- device, and then keep it open the entire time smartd was running.
This meant that some commands, like IOREADBLKPART did not work,
since the fd to the device was open. smartd now opens the device
when it needs to read values, then closes it. Also, if one time
around it can't open the device, it simply prints a warning
message but does not give up. Have eliminated the .fd field from
data structures -- no longer gets used.
- smartd now opens SCSI devices as well using O_RDONLY rather than
O_RDWR. If someone can no longer monitor a SCSI device that used
to be readable, this may well be the reason why.
- smartd never checked if the number of ata or scsi devices detected
was greater than the max number it could monitor. Now it does.
* Fri Oct 25 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net> * Fri Oct 25 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net>
- changes to the Makefile and spec file so that if there are ungzipped manual - changes to the Makefile and spec file so that if there are ungzipped manual
pages in place these will be removed so that the new gzipped man pages are pages in place these will be removed so that the new gzipped man pages are
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment