LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Testing a corrupt hard disk

[ILUG] Testing a corrupt hard disk

Paul Kelly longword at esatclear.ie
Mon Jul 9 21:23:16 IST 2001


Paul Askins wrote:

> I dropped to single user at the weekend to do a reiserfsck.


I've had some recent and deeply unhappy experiences with reiserfsck. It 
did far, far more damage than good. Practically every file on the 
partition came back with an md5sum error on an rpm --verify. I won't be 
using reiserfs again for a long while. ext3 maybe. XFS a possibility too.

To test the physical disk & interface, the best thing to do is create a 
large file with data dd'd from /dev/urandom. It's a bit slow so create 
one or two smaller files and cat them repeatedly to create a larger 
file. md5sum that and scribble it down, then dd the data to and from the 
disk (to a raw /dev/hda type device, /dev/hda1 partition, or a file 
within the filesystem depending on how much damage you want to do), 
md5summing all the way. No differences means no problem.

Paul.





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell