View previous topic :: View next topic |
Author |
Message |
KePSuX Guru
Joined: 29 Sep 2003 Posts: 312 Location: Fredericksburg Va
|
Posted: Fri May 06, 2005 6:37 pm Post subject: Monitor HDD activity for errors |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54317 Location: 56N 3W
|
Posted: Fri May 06, 2005 9:19 pm Post subject: |
|
|
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 |
|
|
MaxDamage l33t
Joined: 03 Jan 2004 Posts: 650 Location: Oviedo, Spain
|
Posted: Fri May 06, 2005 10:49 pm Post subject: |
|
|
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 |
|
|
KePSuX Guru
Joined: 29 Sep 2003 Posts: 312 Location: Fredericksburg Va
|
Posted: Fri May 06, 2005 11:08 pm Post subject: |
|
|
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 |
|
|
|