LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-22-2004, 05:44 AM   #1
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
IS Badblock utility reliable?


The partition of my hard disk is as follows
root ->1.5 GB

/usr ->4.5 GB

/home -> 32 GB [ Grow ]

swap 512

The hard disk is seagate

When I run bad block check [command badblock -nsv /dev/hda1 ,etc] on this partition [unmounted partition]

I dont get any error in /
But found three bad blocks in /usr and one in /home

This problem I tried in 6 harddisks and got the same result

The badblock its indicating is exactly near the end of the partitions

I ran seagate tool and found no badblocks on the harddisks

Linux ditro -> Redhar 7.2

Any suggestions would be very helpful since all are commercial PC`s waitin to be shipped

Regards
Z
 
Old 07-22-2004, 09:12 AM   #2
oot
Member
 
Registered: Dec 2002
Distribution: Slackware 12.0
Posts: 240

Rep: Reputation: 30
For each partition you found errors in, try "dd if=/dev/<whatever> of=/dev/null" (where <whatever> is the partition's name, such as hda1 or sda1). If you get a read error, then you can know badblock was correct. If you don't get an error, this doesn't necessarily mean badblock was wrong though.

You also may or may not be able to check a whole drive (all partitions) at once with something like "dd if=/dev/hda of=/dev/null"... I'm not sure if that's allowed or not.

dd is not meant for doing these kinds of checks, so if you don't get errors, it doesn't necessarily mean the drive is OK (actual bad block checkers usually test each sector more than once just to be sure), but if you do get errors, it's a pretty good indicator that there is a problem.
 
Old 09-26-2004, 05:03 PM   #3
securespace
LQ Newbie
 
Registered: Sep 2004
Posts: 1

Rep: Reputation: 0
I have 3 servers with 4 hdds running on mandrake pro 9.2, in all of them and all of the partitions I have 2-3 badblocks reported at exact end of the partition, other test methods didn’t show any problem.

IS Badblock utility reliable?
I don’t know but for me the badblocks tool is not working..

Last edited by securespace; 09-26-2004 at 05:08 PM.
 
Old 09-27-2004, 12:41 AM   #4
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Original Poster
Rep: Reputation: 39
Yeah but now i tried passing a different argument to badblock check.

Just try it out

The option is -b 4096

Thus i defined a block size of 4096 for the utility to check at a time.
This test showed no bad blocks and i am using this now.


Cheers
Z
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
reliable dns-servers in the uk MuzikQuest Linux - Networking 1 05-02-2005 08:54 AM
How reliable are ........ phatbastard Linux - Security 1 12-13-2004 10:30 PM
How reliable is chkrootkit?? jimdaworm Linux - Security 7 10-18-2004 05:51 AM
badblock redhat9 installation demmylls Linux - General 1 09-22-2003 09:03 AM
is RPM reliable??? luzi82 Linux - General 18 06-25-2003 03:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration