software raided linux box keeps hanging

bscott at ntisys.com bscott at ntisys.com
Sat Dec 21 21:43:09 EST 2002


On Sat, 21 Dec 2002, at 12:55pm, keyser_soze at bad-one.com wrote:
> > > My raid setup used to work fine, but just recently the system started
> > > hanging.
> > 
> >   What did you change?  :-)
> 
> Software-wise?  ... nothing.... Hardware-wise?  ... nothing ... I'm
> installing 7.2 again, but solely for the purpose of using the "check for
> bad blocks feature".

  I would put the disks in another, known-good system, one at a time, and
run badblocks(8) manually, so you can see the output.  Run it like this:

  ***** WARNING: The following command will DESTROY DATA! *****

	badblocks -v -w /dev/hdb

  ***** WARNING: The preceding command will DESTROY DATA! *****

  Change "/dev/hdb" to whatever the disk really is.  The "-v" switch runs it
in verbose mode; the "-w" switch runs it in destructive write mode.  It will
take awhile, but it should show you which disk is bad.

  Be aware that many disks drives will lock up and hang the IDE bus when
they encounter an unrecoverable error.  That will typically hang the rest of
the system too, so don't do this on a system doing anything important.  :)

  If both disks pass, chances are, something is goofy in the original
system.  Yell if that's the case.

-- 
Ben Scott <bscott at ntisys.com>
| The opinions expressed in this message are those of the author and do not |
| necessarily represent the views or policy of any other person, entity or  |
| organization.  All information is provided without warranty of any kind.  |




More information about the gnhlug-discuss mailing list