Re: [CentOS] Detecting harddrive problem

2011-02-25 Thread compdoc
> 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? This doesn't really

Re: [CentOS] Detecting harddrive problem

2011-02-25 Thread Dominik Zyla
On Fri, Feb 25, 2011 at 07:12:59AM +0200, yonatan pingle wrote: > On Fri, Feb 25, 2011 at 4:11 AM, Fajar Priyanto 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

Re: [CentOS] Detecting harddrive problem

2011-02-24 Thread yonatan pingle
On Fri, Feb 25, 2011 at 4:11 AM, Fajar Priyanto 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

[CentOS] Detecting harddrive problem

2011-02-24 Thread Fajar Priyanto
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. ___