Here's a few tools you can look at:

http://lde.sourceforge.net/

http://linux.die.net/man/8/badblocks

http://linux.die.net/man/8/gpart


HTH