[ SOLVED ] Re: [gentoo-user] smartd and ssmtp not sending emails again.

2015-08-04 Thread Dale
John Campbell wrote:
 On 08/04/2015 01:35 AM, Dale wrote:
 Howdy,

 I went through this before and I haven't changed anything so not sure
 why it isn't working now.  I decided to test smartd to make sure that it
 would send me a email if a drive developed a problem.  I added -M test
 to the line, restarted smartd and got nothing.  I mean nothing but
 crickets.  Going to post relevant info that I know of.  Here we go:

 Uncommented lines from smartd.conf:


 DEVICESCAN -I 194 -I 231 -I 9

 /dev/sda -a -d sat -o on -S on -s (S/../.././12|L/../../6/12) -m root -M
 test
 /dev/sdb -a -d sat -o on -S on -s (S/../.././12|L/../../6/12) -m root -M
 test
 /dev/sdc -a -d sat -o on -S on -s (S/../.././12|L/../../6/12) -m root -M
 test

 Everything in smartd.conf after the DEVICESCAN is ignored.

 Unless you've stripped out all the comments from smartd.conf it should
 be explained a half dozen lines above your DEVICESCAN line.





Yeppie  That worked.  It did upgrade recently and I had to re-add
the other drive lines back but I don't recall changing that part.  The
upgrade is the reason I tested it.  I wanted to make sure it still
worked, before a drive dies and I'm caught off guard, again.  I figured
it would be something simple that I just didn't notice. 

Thanks much.  :-D

Dale

:-)  :-) 



[gentoo-user] smartd and ssmtp not sending emails again.

2015-08-04 Thread Dale
Howdy,

I went through this before and I haven't changed anything so not sure
why it isn't working now.  I decided to test smartd to make sure that it
would send me a email if a drive developed a problem.  I added -M test
to the line, restarted smartd and got nothing.  I mean nothing but
crickets.  Going to post relevant info that I know of.  Here we go:

Uncommented lines from smartd.conf: 


DEVICESCAN -I 194 -I 231 -I 9

/dev/sda -a -d sat -o on -S on -s (S/../.././12|L/../../6/12) -m root -M
test
/dev/sdb -a -d sat -o on -S on -s (S/../.././12|L/../../6/12) -m root -M
test
/dev/sdc -a -d sat -o on -S on -s (S/../.././12|L/../../6/12) -m root -M
test



Other than adding -M test, I don't recall changing anything except the
usual upgrade changes.  From revaliases, with obvious edits of course:


root:me-em...@gmail.com:smtp.gmail.com:465
dale:me-em...@gmail.com:smtp.gmail.com:465
other_user:me-em...@gmail.com:smtp.gmail.com:465 


From ssmtp.conf file, again with obvious edits:


root=postmaster
root=me-em...@gmail.com  #Change to your preferred email address
mailhub=smtp.gmail.com:465  #Could also use port 587 for STARTTLS
rewriteDomain=fireball  #Something to denote your machine's name
FromLineOverride=YES
UseTLS=YES  #Can also try UseSTARTTLS=YES as an alternative
AuthUser=me-em...@gmail.com
AuthPass=secret-stuff #Special characters seem to barf with ssmtp
mailhub=mail
hostname=_HOSTNAME_



From my understanding, smartd passes the info to ssmtp and then it gets
sent from there.  When I test ssmtp, I get this, with obvious edits of
course. 


root@fireball / # echo My first test message | mail -v -s Test for
sSMTP 1 rdalek1...@gmail.com
[-] 220 smtp.gmail.com ESMTP u78sm263385ywu.13 - gsmtp
[-] EHLO _HOSTNAME_
[-] 250 SMTPUTF8
[-] AUTH LOGIN
[-] 334 VXNlcm5hbWU6
[-] cmRhbGVrMTk2N0BnbWFpbC5jb20=
[-] 334 UGFzc3dvcmQ6
[-] 235 2.7.0 Accepted
[-] MAIL FROM:me-em...@gmail.com
[-] 250 2.1.0 OK u78sm263385ywu.13 - gsmtp
[-] RCPT TO:me-em...@gmail.com
[-] 250 2.1.5 OK u78sm263385ywu.13 - gsmtp
[-] DATA
[-] 354  Go ahead u78sm263385ywu.13 - gsmtp
[-] Received: by _HOSTNAME_ (sSMTP sendmail emulation); Tue, 04 Aug
2015 03:28:36 -0500
[-] From: root me-em...@gmail.com
[-] Date: Tue, 04 Aug 2015 03:28:36 -0500
[-] To: me-em...@gmail.com
[-] Subject: Test for sSMTP 1
[-]
[-] My first test message
[-] .
[-] 250 2.0.0 OK 1438676918 u78sm263385ywu.13 - gsmtp
[-] QUIT
[-] 221 2.0.0 closing connection u78sm263385ywu.13 - gsmtp
root@fireball / #


When I check my email, I do get the test message.  It seems to me that
ssmtp is working but that smartd either isn't working or it is not
getting to ssmtp somehow. 

Anyone see a reason this shouldn't be working?  I'd really like a heads
up if a drive is having issues. 

Thanks.

Dale

:-)  :-) 




Re: [gentoo-user] smartd and ssmtp not sending emails again.

2015-08-04 Thread Raffaele BELARDI
Dale wrote:
 I went through this before and I haven't changed anything so not sure
 why it isn't working now.  I decided to test smartd to make sure that it
 would send me a email if a drive developed a problem.  I added -M test
 to the line, restarted smartd and got nothing.  I mean nothing but
 crickets.  Going to post relevant info that I know of.  Here we go:

(snip)

 When I check my email, I do get the test message.  It seems to me that
 ssmtp is working but that smartd either isn't working or it is not
 getting to ssmtp somehow.

 Anyone see a reason this shouldn't be working?  I'd really like a heads
 up if a drive is having issues.


Any hints from the syslog? Here -M test seems to work fine.

raffaele

Re: [gentoo-user] smartd and ssmtp not sending emails again.

2015-08-04 Thread John Campbell

On 08/04/2015 01:35 AM, Dale wrote:

Howdy,

I went through this before and I haven't changed anything so not sure
why it isn't working now.  I decided to test smartd to make sure that it
would send me a email if a drive developed a problem.  I added -M test
to the line, restarted smartd and got nothing.  I mean nothing but
crickets.  Going to post relevant info that I know of.  Here we go:

Uncommented lines from smartd.conf:


DEVICESCAN -I 194 -I 231 -I 9

/dev/sda -a -d sat -o on -S on -s (S/../.././12|L/../../6/12) -m root -M
test
/dev/sdb -a -d sat -o on -S on -s (S/../.././12|L/../../6/12) -m root -M
test
/dev/sdc -a -d sat -o on -S on -s (S/../.././12|L/../../6/12) -m root -M
test


Everything in smartd.conf after the DEVICESCAN is ignored.

Unless you've stripped out all the comments from smartd.conf it should 
be explained a half dozen lines above your DEVICESCAN line.





Re: [gentoo-user] smartd and ssmtp not sending emails again.

2015-08-04 Thread Dale
Raffaele BELARDI wrote:
 Dale wrote:
 I went through this before and I haven't changed anything so not sure
 why it isn't working now.  I decided to test smartd to make sure that it
 would send me a email if a drive developed a problem.  I added -M test
 to the line, restarted smartd and got nothing.  I mean nothing but
 crickets.  Going to post relevant info that I know of.  Here we go:
 (snip)

 When I check my email, I do get the test message.  It seems to me that
 ssmtp is working but that smartd either isn't working or it is not
 getting to ssmtp somehow.

 Anyone see a reason this shouldn't be working?  I'd really like a heads
 up if a drive is having issues.

 Any hints from the syslog? Here -M test seems to work fine.

 raffaele


Sorry.  I forgot to include that.  This is from when I restart smartd.



Aug  4 04:46:45 fireball smartd[3610]: smartd received signal 15: Terminated
Aug  4 04:46:45 fireball smartd[3610]: smartd is exiting (exit status 0)
Aug  4 04:46:45 fireball smartd[7526]: smartd 6.4 2015-06-04 r4109
[x86_64-linux-3.18.7-gentoo] (local build)
Aug  4 04:46:45 fireball smartd[7526]: Copyright (C) 2002-15, Bruce
Allen, Christian Franke, www.smartmontools.org
Aug  4 04:46:45 fireball smartd[7526]: Opened configuration file
/etc/smartd.conf
Aug  4 04:46:45 fireball smartd[7526]: Drive: DEVICESCAN, implied '-a'
Directive on line 27 of file /etc/smartd.conf
Aug  4 04:46:45 fireball smartd[7526]: Configuration file
/etc/smartd.conf was parsed, found DEVICESCAN, scanning devices
Aug  4 04:46:45 fireball smartd[7526]: Device: /dev/sda, type changed
from 'scsi' to 'sat'
Aug  4 04:46:45 fireball smartd[7526]: Device: /dev/sda [SAT], opened
Aug  4 04:46:45 fireball smartd[7526]: Device: /dev/sda [SAT], WDC
WD1600AAJS-00YZCA0, S/N:WD-WCAYU4389620, WWN:5-0014ee-1ad79c1b3,
FW:01.03B01, 160 GB
Aug  4 04:46:45 fireball smartd[7526]: Device: /dev/sda [SAT], found in
smartd database: Western Digital Caviar Blue Serial ATA
Aug  4 04:46:46 fireball smartd[7526]: Device: /dev/sda [SAT], is SMART
capable. Adding to monitor list.
Aug  4 04:46:46 fireball smartd[7526]: Device: /dev/sdb, type changed
from 'scsi' to 'sat'
Aug  4 04:46:46 fireball smartd[7526]: Device: /dev/sdb [SAT], opened
Aug  4 04:46:46 fireball smartd[7526]: Device: /dev/sdb [SAT], SAMSUNG
HD753LJ, S/N:S1PWJ1KS305193, WWN:5-0024e9-001308c31, FW:1AA01117, 750 GB
Aug  4 04:46:46 fireball smartd[7526]: Device: /dev/sdb [SAT], found in
smartd database: SAMSUNG SpinPoint F1 DT
Aug  4 04:46:46 fireball smartd[7526]: Device: /dev/sdb [SAT], is SMART
capable. Adding to monitor list.
Aug  4 04:46:46 fireball smartd[7526]: Device: /dev/sdc, type changed
from 'scsi' to 'sat'
Aug  4 04:46:46 fireball smartd[7526]: Device: /dev/sdc [SAT], opened
Aug  4 04:46:46 fireball smartd[7526]: Device: /dev/sdc [SAT],
ST3000DM001-1CH166, S/N:W1F4C31Q, WWN:5-000c50-06e7a0a7c, FW:CC29, 3.00 TB
Aug  4 04:46:46 fireball smartd[7526]: Device: /dev/sdc [SAT], found in
smartd database: Seagate Barracuda 7200.14 (AF)
Aug  4 04:46:46 fireball smartd[7526]: Device: /dev/sdc [SAT], is SMART
capable. Adding to monitor list.
Aug  4 04:46:46 fireball smartd[7526]: Monitoring 3 ATA and 0 SCSI devices
Aug  4 04:46:46 fireball smartd[7528]: smartd has fork()ed into
background mode. New PID=7528.
Aug  4 04:46:46 fireball smartd[7528]: file /run/smartd.pid written
containing PID 7528
root@fireball / #


It seems to start and begin monitoring but I don't see anything about it
even trying to email anything. 

Thanks.

Dale

:-)  :-)



Re: [gentoo-user] Smartd

2008-10-24 Thread Jon Hardcastle
--- On Thu, 23/10/08, Volker Armin Hemmann [EMAIL PROTECTED] wrote:

 From: Volker Armin Hemmann [EMAIL PROTECTED]
 Subject: Re: [gentoo-user] Smartd
 To: gentoo-user@lists.gentoo.org
 Date: Thursday, 23 October, 2008, 6:53 PM
 On Donnerstag 23 Oktober 2008, Jon Hardcastle wrote:
  Probably not strictly a Gentoo issue, but as i am
 running Gentoo I'll see
  if the collective knowledge here can help me!
 
  I have a strange problem with my server. All the hard
 drives go to sleep
  after ~3hrs of inactivity. BUT if they happen to still
 be asleep when the
  scheduled smart check takes place you can hear it
 'spin up' and just before
  you know the drive is 'up' smartd decides the
 drive isn't smart capable and
  gives up. I get log entries in 'messages' and
 dmesg and also smartd emails
  me to tell me the drive isn't smart capable.
 
  You get the same result if you do -a on a sleeping
 drive... it says the
  drive isn't capable.. run it again.. and Bob's
 your uncle. Any clues? Can
  you vary the time before it tries after a spin up?
 
  ---
  N: Jon Hardcastle
  E: [EMAIL PROTECTED]
  '..Be fearful when others are greedy, and be
 greedy when others are
  fearful.' ---
 
 I am not sure what your problem really is - but why
 don't you exclude the 
 drivers in /etc/conf.d/smartd?

It is a server, but i want the drive to power down if they aren't going to be 
used for a while.. Also the -n option only works for other kinds of checks.. 
not for scheduled checks. there appears to be no way to exclude drives that are 
sleeping from scheduled checks.

I want the drives to be checked by smartd also. I just hoped there was a way of 
getting smartd to wait alittle longer after waking the drive up.

---
N: Jon Hardcastle
E: [EMAIL PROTECTED]
'..Be fearful when others are greedy, and be greedy when others are fearful.'
---



Re: [gentoo-user] Smartd

2008-10-24 Thread Dan Wallis
On 24/10/2008, Jon Hardcastle [EMAIL PROTECTED] wrote:
 I want the drives to be checked by smartd also. I just hoped there was a way
 of getting smartd to wait alittle longer after waking the drive up.

Could you generate some disk activity on the disk(s) just prior to the
scheduled check(s)? I realise this isn't a solution, but more of a
work-around.


Dan



Re: [gentoo-user] Smartd

2008-10-24 Thread Jon Hardcastle
--- On Fri, 24/10/08, Dan Wallis [EMAIL PROTECTED] wrote:

 From: Dan Wallis [EMAIL PROTECTED]
 Subject: Re: [gentoo-user] Smartd
 To: gentoo-user@lists.gentoo.org
 Date: Friday, 24 October, 2008, 1:15 PM
 On 24/10/2008, Jon Hardcastle
 [EMAIL PROTECTED] wrote:
  I want the drives to be checked by smartd also. I just
 hoped there was a way
  of getting smartd to wait alittle longer after waking
 the drive up.
 
 Could you generate some disk activity on the disk(s) just
 prior to the
 scheduled check(s)? I realise this isn't a solution,
 but more of a
 work-around.
 
 
 Dan

I did look into this actually.. but haven't made any head-way just yet.

Cheers for the suggestion though.

---
N: Jon Hardcastle
E: [EMAIL PROTECTED]
'..Be fearful when others are greedy, and be greedy when others are fearful.'
---



[gentoo-user] Smartd

2008-10-23 Thread Jon Hardcastle
Probably not strictly a Gentoo issue, but as i am running Gentoo I'll see if 
the collective knowledge here can help me!

I have a strange problem with my server. All the hard drives go to sleep after 
~3hrs of inactivity. BUT if they happen to still be asleep when the scheduled 
smart check takes place you can hear it 'spin up' and just before you know the 
drive is 'up' smartd decides the drive isn't smart capable and gives up. I get 
log entries in 'messages' and dmesg and also smartd emails me to tell me the 
drive isn't smart capable.

You get the same result if you do -a on a sleeping drive... it says the drive 
isn't capable.. run it again.. and Bob's your uncle. Any clues? Can you vary 
the time before it tries after a spin up?

---
N: Jon Hardcastle
E: [EMAIL PROTECTED]
'..Be fearful when others are greedy, and be greedy when others are fearful.'
---



Re: [gentoo-user] Smartd

2008-10-23 Thread ert256
[ 23.10.2008 17:14 ], Jon Hardcastle :
 Probably not strictly a Gentoo issue, but as i am running Gentoo I'll see if 
 the collective knowledge here can help me!
 
 I have a strange problem with my server. All the hard drives go to sleep 
 after ~3hrs of inactivity. BUT if they happen to still be asleep when the 
 scheduled smart check takes place you can hear it 'spin up' and just before 
 you know the drive is 'up' smartd decides the drive isn't smart capable and 
 gives up. I get log entries in 'messages' and dmesg and also smartd emails me 
 to tell me the drive isn't smart capable.
 
 You get the same result if you do -a on a sleeping drive... it says the drive 
 isn't capable.. run it again.. and Bob's your uncle. Any clues? Can you vary 
 the time before it tries after a spin up?
 
If this is a server, why don't you turn auto-sleep off ?
Or maybe you can check out -n option in manual
-- 
Rafał (ert16) Trójniak
[EMAIL PROTECTED] : [EMAIL PROTECTED]
Jid : [EMAIL PROTECTED]
GPG  key-ID : DD681D47
749F E1DC A58F 9084 BBC0
797A 0691 53D6 DD68 1D47



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Smartd

2008-10-23 Thread Volker Armin Hemmann
On Donnerstag 23 Oktober 2008, Jon Hardcastle wrote:
 Probably not strictly a Gentoo issue, but as i am running Gentoo I'll see
 if the collective knowledge here can help me!

 I have a strange problem with my server. All the hard drives go to sleep
 after ~3hrs of inactivity. BUT if they happen to still be asleep when the
 scheduled smart check takes place you can hear it 'spin up' and just before
 you know the drive is 'up' smartd decides the drive isn't smart capable and
 gives up. I get log entries in 'messages' and dmesg and also smartd emails
 me to tell me the drive isn't smart capable.

 You get the same result if you do -a on a sleeping drive... it says the
 drive isn't capable.. run it again.. and Bob's your uncle. Any clues? Can
 you vary the time before it tries after a spin up?

 ---
 N: Jon Hardcastle
 E: [EMAIL PROTECTED]
 '..Be fearful when others are greedy, and be greedy when others are
 fearful.' ---

I am not sure what your problem really is - but why don't you exclude the 
drivers in /etc/conf.d/smartd?




Re: [gentoo-user] smartd Prefailure messages

2007-12-23 Thread Dan Farrell
On Thu, 20 Dec 2007 17:08:36 -0600
Dale [EMAIL PROTECTED] wrote:

 It makes me wonder if the drives are sensitive to something.  This
 seems to be common with Maxtor.  Is Hitachi made by the same company
 as Maxtor I wonder?

I've been told Hitachi bought up IBM's drive manufacturing operation a
few years ago, but am not sure if it's true.  I think of all three as
inferior drive manufacturers that aren't to be trusted, if it can be
avoided.  
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] smartd Prefailure messages

2007-12-23 Thread Hemmann, Volker Armin
On Montag, 24. Dezember 2007, Dan Farrell wrote:
 On Thu, 20 Dec 2007 17:08:36 -0600

 Dale [EMAIL PROTECTED] wrote:
  It makes me wonder if the drives are sensitive to something.  This
  seems to be common with Maxtor.  Is Hitachi made by the same company
  as Maxtor I wonder?

 I've been told Hitachi bought up IBM's drive manufacturing operation a
 few years ago, but am not sure if it's true.  I think of all three as
 inferior drive manufacturers that aren't to be trusted, if it can be
 avoided.

Maxtor got bought by Seagate

Hitachi bought IBM's harddisk operations.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] smartd Prefailure messages

2007-12-23 Thread Dale
Hemmann, Volker Armin wrote:
 On Montag, 24. Dezember 2007, Dan Farrell wrote:
   
 On Thu, 20 Dec 2007 17:08:36 -0600

 Dale [EMAIL PROTECTED] wrote:
 
 It makes me wonder if the drives are sensitive to something.  This
 seems to be common with Maxtor.  Is Hitachi made by the same company
 as Maxtor I wonder?
   
 I've been told Hitachi bought up IBM's drive manufacturing operation a
 few years ago, but am not sure if it's true.  I think of all three as
 inferior drive manufacturers that aren't to be trusted, if it can be
 avoided.
 

 Maxtor got bought by Seagate

 Hitachi bought IBM's harddisk operations.
   

So they are two different drives then, manufacturer wise?  Makes me
think about those errors even more. 

Strange.

Dale

:-)  :-) 


Re: [gentoo-user] smartd Prefailure messages

2007-12-22 Thread Mick
On Thursday 20 December 2007, Dale wrote:
 Mick wrote:
  SNIP
 
  Thanks, I'll browse through these.

 It makes me wonder if the drives are sensitive to something.  This
 seems to be common with Maxtor.  Is Hitachi made by the same company as
 Maxtor I wonder?

 I have been getting these errors for some time now.  They pass the tests
 tho.  You can run that with this:  smartctl -t long /dev/hdX  The X
 should be replaced with the correct drive or you may have to use sdX if
 you have SATA drives.  After it gets done, which may take a while, you
 can get the results like this:  smartctl -l selftest /dev/hdX.  Replace
 the X again.

 Hope you get a good report.  Mine passed.

All the tests that I have run so far seem to pass:
===
# smartctl -l selftest /dev/hda
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  Remaining  LifeTime(hours)  
LBA_of_first_error
# 1  Extended offlineCompleted without error   00%  5912 -
# 2  Extended offlineCompleted without error   00%  1030 -
# 3  Short offline   Completed without error   00%  1029 -
# 4  Short offline   Completed without error   00%49 -
# 5  Short offline   Completed without error   00%28 -
# 6  Short offline   Completed without error   00% 0 -
===

It's about time I made a back up of this machine anyway.

Thanks for your help.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] smartd Prefailure messages

2007-12-22 Thread Dale
Mick wrote:
 SNIP

 It's about time I made a back up of this machine anyway.

 Thanks for your help.
   

LOL.  I make a back-up of mine too.  It never hurts to be safe.

Dale

:-)  :-)
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] smartd Prefailure messages

2007-12-20 Thread Mick
This has been going on for some time, but nothing has yet gone bang!  I can't 
understand what the errors mean.  They seem to occur every other day.  The 
machine is a laptop.  Also I am not sure if these errors occurred when I 
forced a reboot a few times when a WiFi USB driver crashed and locked up my 
keyboard.  Should I be worried?

==
# cat /var/log/messages | grep Prefailure
Dec 17 13:36:15 lappy smartd[6284]: Device: /dev/hda, SMART Prefailure 
Attribute: 1 Raw_Read_Error_Rate changed from 99 to 98
Dec 17 22:00:27 lappy smartd[6267]: Device: /dev/hda, SMART Prefailure 
Attribute: 1 Raw_Read_Error_Rate changed from 98 to 99
Dec 19 14:37:02 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure 
Attribute: 1 Raw_Read_Error_Rate changed from 99 to 100
Dec 19 14:37:02 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure 
Attribute: 2 Throughput_Performance changed from 105 to 100
Dec 19 14:37:02 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure 
Attribute: 8 Seek_Time_Performance changed from 120 to 100
Dec 19 16:07:01 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure 
Attribute: 2 Throughput_Performance changed from 100 to 105
Dec 19 16:07:01 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure 
Attribute: 8 Seek_Time_Performance changed from 100 to 116
==
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] smartd Prefailure messages

2007-12-20 Thread Dale
Mick wrote:
 This has been going on for some time, but nothing has yet gone bang!  I can't 
 understand what the errors mean.  They seem to occur every other day.  The 
 machine is a laptop.  Also I am not sure if these errors occurred when I 
 forced a reboot a few times when a WiFi USB driver crashed and locked up my 
 keyboard.  Should I be worried?

 ==
 # cat /var/log/messages | grep Prefailure
 Dec 17 13:36:15 lappy smartd[6284]: Device: /dev/hda, SMART Prefailure 
 Attribute: 1 Raw_Read_Error_Rate changed from 99 to 98
 Dec 17 22:00:27 lappy smartd[6267]: Device: /dev/hda, SMART Prefailure 
 Attribute: 1 Raw_Read_Error_Rate changed from 98 to 99
 Dec 19 14:37:02 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure 
 Attribute: 1 Raw_Read_Error_Rate changed from 99 to 100
 Dec 19 14:37:02 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure 
 Attribute: 2 Throughput_Performance changed from 105 to 100
 Dec 19 14:37:02 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure 
 Attribute: 8 Seek_Time_Performance changed from 120 to 100
 Dec 19 16:07:01 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure 
 Attribute: 2 Throughput_Performance changed from 100 to 105
 Dec 19 16:07:01 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure 
 Attribute: 8 Seek_Time_Performance changed from 100 to 116
 ==
   


I get those a lot too.  I have a question, can you post the output of
hdparm -i /dev/hda .  I have two Maxtor drives and both of mine gives a
very similar error.  My Western Digital doesn't have any errors at all. 

Thanks.

Dale

:-)  :-) 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] smartd Prefailure messages

2007-12-20 Thread b.n.
Mick ha scritto:
 This has been going on for some time, but nothing has yet gone bang!  I can't 
 understand what the errors mean.  They seem to occur every other day.  The 
 machine is a laptop.  Also I am not sure if these errors occurred when I 
 forced a reboot a few times when a WiFi USB driver crashed and locked up my 
 keyboard.  Should I be worried?
 
 ==
 # cat /var/log/messages | grep Prefailure
 Dec 17 13:36:15 lappy smartd[6284]: Device: /dev/hda, SMART Prefailure 
 Attribute: 1 Raw_Read_Error_Rate changed from 99 to 98
 Dec 17 22:00:27 lappy smartd[6267]: Device: /dev/hda, SMART Prefailure 
 Attribute: 1 Raw_Read_Error_Rate changed from 98 to 99
 Dec 19 14:37:02 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure 
 Attribute: 1 Raw_Read_Error_Rate changed from 99 to 100
 Dec 19 14:37:02 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure 
 Attribute: 2 Throughput_Performance changed from 105 to 100
 Dec 19 14:37:02 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure 
 Attribute: 8 Seek_Time_Performance changed from 120 to 100
 Dec 19 16:07:01 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure 
 Attribute: 2 Throughput_Performance changed from 100 to 105
 Dec 19 16:07:01 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure 
 Attribute: 8 Seek_Time_Performance changed from 100 to 116
 ==

Hard to say. Given my experience (recently I had smart warnings on a hd,
which led me to a sweaty internet hunt for meaning of my errors -in my
case, it turned out better to throw it out), they look like non
critical. However, do a smartctl long test to really see what's happening.

m.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] smartd Prefailure messages

2007-12-20 Thread Mick
On Thursday 20 December 2007, Dale wrote:
 Mick wrote:
  This has been going on for some time, but nothing has yet gone bang!  I
  can't understand what the errors mean.  They seem to occur every other
  day.  The machine is a laptop.  Also I am not sure if these errors
  occurred when I forced a reboot a few times when a WiFi USB driver
  crashed and locked up my keyboard.  Should I be worried?
 
  ==
  # cat /var/log/messages | grep Prefailure
  Dec 17 13:36:15 lappy smartd[6284]: Device: /dev/hda, SMART Prefailure
  Attribute: 1 Raw_Read_Error_Rate changed from 99 to 98
  Dec 17 22:00:27 lappy smartd[6267]: Device: /dev/hda, SMART Prefailure
  Attribute: 1 Raw_Read_Error_Rate changed from 98 to 99
  Dec 19 14:37:02 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure
  Attribute: 1 Raw_Read_Error_Rate changed from 99 to 100
  Dec 19 14:37:02 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure
  Attribute: 2 Throughput_Performance changed from 105 to 100
  Dec 19 14:37:02 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure
  Attribute: 8 Seek_Time_Performance changed from 120 to 100
  Dec 19 16:07:01 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure
  Attribute: 2 Throughput_Performance changed from 100 to 105
  Dec 19 16:07:01 lappy smartd[6268]: Device: /dev/hda, SMART Prefailure
  Attribute: 8 Seek_Time_Performance changed from 100 to 116
  ==

 I get those a lot too.  I have a question, can you post the output of
 hdparm -i /dev/hda .  I have two Maxtor drives and both of mine gives a
 very similar error.  My Western Digital doesn't have any errors at all.

 Thanks.

 Dale

 :-)  :-)

Here ya' go:

# hdparm -i /dev/hda

/dev/hda:

 Model=IC25N020ATMR04-0, FwRev=MO1OAD5A, SerialNo=MRX107K1DS623H
 Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=DualPortCache, BuffSize=1740kB, MaxMultSect=16, MultSect=16
 CurCHS=17475/15/63, CurSects=16513875, LBA=yes, LBAsects=39070080
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 
 AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a:  ATA/ATAPI-2,3,4,5,6

 * signifies the current active mode

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] smartd Prefailure messages

2007-12-20 Thread Dale
Mick wrote:
 On Thursday 20 December 2007, Dale wrote:
   
 snip
 I get those a lot too.  I have a question, can you post the output of
 hdparm -i /dev/hda .  I have two Maxtor drives and both of mine gives a
 very similar error.  My Western Digital doesn't have any errors at all.

 Thanks.

 Dale

 :-)  :-)
 

 Here ya' go:
 
 # hdparm -i /dev/hda

 /dev/hda:

  Model=IC25N020ATMR04-0, FwRev=MO1OAD5A, SerialNo=MRX107K1DS623H
  Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs }
  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
  BuffType=DualPortCache, BuffSize=1740kB, MaxMultSect=16, MultSect=16
  CurCHS=17475/15/63, CurSects=16513875, LBA=yes, LBAsects=39070080
  IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
  PIO modes:  pio0 pio1 pio2 pio3 pio4 
  DMA modes:  mdma0 mdma1 mdma2 
  UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 
  AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
  Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a:  ATA/ATAPI-2,3,4,5,6

  * signifies the current active mode
 
   


So is it a Hitachi or IBM?  I was curious since mine is a Maxtor and has
similar errors.  I had a thread a while back.  Here is some of the info
I was given to read.

http://labs.google.com/papers/disk_failures.pdf

http://scottstuff.net/blog/articles/2005/01/08/anatomy-of-a-drive-failure

Maybe something will make sense. 

Dale 

:-)  :-)


Re: [gentoo-user] smartd Prefailure messages

2007-12-20 Thread Mick
On Thursday 20 December 2007, Dale wrote:
 Mick wrote:
  On Thursday 20 December 2007, Dale wrote:
  snip
  I get those a lot too.  I have a question, can you post the output of
  hdparm -i /dev/hda .  I have two Maxtor drives and both of mine gives a
  very similar error.  My Western Digital doesn't have any errors at all.
 
  Thanks.
 
  Dale
 
  :-)  :-)
 
  Here ya' go:
  
  # hdparm -i /dev/hda
 
  /dev/hda:
 
   Model=IC25N020ATMR04-0, FwRev=MO1OAD5A, SerialNo=MRX107K1DS623H
   Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs }
   RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
   BuffType=DualPortCache, BuffSize=1740kB, MaxMultSect=16, MultSect=16
   CurCHS=17475/15/63, CurSects=16513875, LBA=yes, LBAsects=39070080
   IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
   PIO modes:  pio0 pio1 pio2 pio3 pio4
   DMA modes:  mdma0 mdma1 mdma2
   UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
   AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
   Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a: 
  ATA/ATAPI-2,3,4,5,6
 
   * signifies the current active mode
  

 So is it a Hitachi or IBM?  I was curious since mine is a Maxtor and has
 similar errors.  I had a thread a while back.  Here is some of the info
 I was given to read.

lshw tells me it is a Hitachi:
===
  *-disk
   description: ATA Disk
   product: IC25N020ATMR04-0
   vendor: Hitachi
   physical id: 0
   bus info: [EMAIL PROTECTED]
   logical name: /dev/hda
   version: MO1OAD5A
   serial: MRX107K1DS623H
   size: 18GB
   capacity: 18GB
   capabilities: ata dma lba iordy smart security pm apm 
partitioned partitioned:dos
   configuration: apm=off mode=udma5 smart=on

===

 http://labs.google.com/papers/disk_failures.pdf

 http://scottstuff.net/blog/articles/2005/01/08/anatomy-of-a-drive-failure

 Maybe something will make sense.

Thanks, I'll browse through these.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] smartd Prefailure messages

2007-12-20 Thread Dale
Mick wrote:
 SNIP

 Thanks, I'll browse through these.
   

It makes me wonder if the drives are sensitive to something.  This
seems to be common with Maxtor.  Is Hitachi made by the same company as
Maxtor I wonder? 

I have been getting these errors for some time now.  They pass the tests
tho.  You can run that with this:  smartctl -t long /dev/hdX  The X
should be replaced with the correct drive or you may have to use sdX if
you have SATA drives.  After it gets done, which may take a while, you
can get the results like this:  smartctl -l selftest /dev/hdX.  Replace
the X again.

Hope you get a good report.  Mine passed.

Dale

:-)  :-)  :-)