Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Monitor HDD activity for errors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
KePSuX
Guru
Guru


Joined: 29 Sep 2003
Posts: 312
Location: Fredericksburg Va

PostPosted: Fri May 06, 2005 6:37 pm    Post subject: Monitor HDD activity for errors Reply with quote

Ive got a file server in a closet with like 9 HDD's in it. I'd like a way to run physical checks on the drives and report back with a log file or some sort of notification if an error is found that warrants replacement of a drive before it goes tits up. Any hints? Thanks!!
_________________
http://www.atomicraygunattack.com
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54317
Location: 56N 3W

PostPosted: Fri May 06, 2005 9:19 pm    Post subject: Reply with quote

KePSuX,

Run the drives in a raid array or install smartmontools (or both)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
MaxDamage
l33t
l33t


Joined: 03 Jan 2004
Posts: 650
Location: Oviedo, Spain

PostPosted: Fri May 06, 2005 10:49 pm    Post subject: Reply with quote

Here is a Howto about using it:
http://gentoo-wiki.com/HOWTO_Monitor_your_hard_disk%28s%29_with_smartmontools

There is also ide-smart:
Code:
* app-admin/ide-smart
     Available versions:  1.4
     Installed:           1.4
     Homepage:            http://www.linalco.com/comunidad.html
     Description:         A tool to read SMART information from harddiscs


I found this tip long ago. Place it as a script in cron.daily:

Code:
#/bin/bash
ide-smart -1 -d /dev/hda
ide-smart -1 -d /dev/hdb
ide-smart -d /dev/hda | grep Failure
ide-smart -d /dev/hdb | grep Failure

_________________
La PDA de tungsteno
Back to top
View user's profile Send private message
KePSuX
Guru
Guru


Joined: 29 Sep 2003
Posts: 312
Location: Fredericksburg Va

PostPosted: Fri May 06, 2005 11:08 pm    Post subject: Reply with quote

NeddySeagoon wrote:
KePSuX,

Run the drives in a raid array or install smartmontools (or both)


The drives are in a ghetto-raid right now, there are two of each data drive and they cp -RU to one another once a week for data backups. Ill take a look at smartmontools.

MaxDamage wrote:
Here is a Howto about using it:
http://gentoo-wiki.com/HOWTO_Monitor_your_hard_disk%28s%29_with_smartmontools

There is also ide-smart:
Code:
* app-admin/ide-smart
     Available versions:  1.4
     Installed:           1.4
     Homepage:            http://www.linalco.com/comunidad.html
     Description:         A tool to read SMART information from harddiscs


I found this tip long ago. Place it as a script in cron.daily:

Code:
#/bin/bash
ide-smart -1 -d /dev/hda
ide-smart -1 -d /dev/hdb
ide-smart -d /dev/hda | grep Failure
ide-smart -d /dev/hdb | grep Failure


This looks a lot what I need, hot...something to play with this weekend! Thanks!!
_________________
http://www.atomicraygunattack.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum