[CentOS] Detecting harddrive problem

yonatan pingle yonatan.pingle at gmail.com
Fri Feb 25 05:12:59 UTC 2011


On Fri, Feb 25, 2011 at 4:11 AM, Fajar Priyanto <fajarpri at arinet.org> wrote:
> Hi all,
> Recently I realize the filesystem became Read-only and there is "media
> error" message in the system log. It has passed several days without
> notice.
> I'm thinking of setting up a script to grep that "media error" and send email.
> Is there more elegant way of doing this?
>
> Thank you.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Actions needed to be done:

Buy new disk
Remove old disk
Install OS on new disk
Migrate data from old disk

done.

elegant way?
but two new disks.
configure mdadm  to mail you if the array fails.


-- 
Best Regards,
Yonatan Pingle
RHCT | RHCSA | CCNA1



More information about the CentOS mailing list