Leonard Weincier on Mon, 19 Jan 1998 19:46:15 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Error message


Hi Ryan,

I ran the following script on a suspect hard drive every night and checked
that the badblock count did not increase over time. I simply put the
script into /etc/cron.daily and root gets the email. simply change hdb2
for your drive that you suspect.

Len

PS you can tell from the device number which drive it is

> ------ begin script --------- <


#!/bin/bash

/sbin/badblocks /dev/hdb2 789336
/sbin/dumpe2fs -b /dev/hdb2 | wc

exit 0

> ------ end script --------- <

On Mon, 19 Jan 1998, Ryan Armstrong wrote:

> Thanks Evan ...
> 
> How would I know which drive is going?
> >From the tty number, or from the inodes given in the warning...
> Evan Summers wrote:
> > 
> > >   Jan 19 01:05:31 osiris kernel: EXT2-fs warning (device 03:41):
> > > ext2_free_inode: bit already cleared for inode 26428
> > 

  > -------------------------------------------------------------- <
    Leonard Weincier                            <len@xxxxxxxxxxxx>
    Datrix Solutions                               +27-11-888-1869