Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


linux hard drive tests?

  • Please log in to reply
4 replies to this topic

#1 don wolfani

don wolfani

  • Members
  • 37 posts
  • Location:Middleton, TN
  • Local time:08:24 PM

Posted 19 November 2011 - 07:48 PM

Hello there all.
I just have a quick question.
Is there any free linux software that is safe to use in testing to see if my harddrive is failing?
I have no reason other than the fact my netbook is like 7 years old now to be expecting a failure but i also wish not to lose data.

BC AdBot (Login to Remove)


#2 raw


    Bleeping Hacker

  • Members
  • 2,577 posts
  • Gender:Male
  • Location:Texas
  • Local time:09:24 PM

Posted 19 November 2011 - 11:46 PM



 rawcreations.net          @raw_creations

Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.

#3 fEaR iTsElF510

fEaR iTsElF510

  • Members
  • 41 posts
  • Local time:06:24 PM

Posted 23 November 2011 - 04:41 PM

I do know in Ubuntu it has tool called Disk Utility where you can check the SMART Status of your hard drives. If you run a self test it will tell you the Health of the disk and if there are any problems.

#4 Gene Wiggins

Gene Wiggins

  • Members
  • 2 posts
  • Local time:08:24 PM

Posted 24 November 2011 - 01:36 AM

badblocks -s -v -n /dev/sdb1

Assuming that /dev/sdb1 is not mounted, not a swap partition. You don't want to test a mounted or otherwise in-use partition.

The "-s" means to show progress of the test; the "-v" means to be verbose; "-n" means to use a non-destructive (read-only, without writing) test.

Check the man page and it will give you some other options. Be sure NOT to use the "-w" (write data to the drive, or I prefer to consider it the "wipe out") option, nor the "-f" option.

From the man page: "if you think you're smarter than the badblocks program, you almost certainly aren't." (regarding the -f option)

#5 cryptodan


    Bleepin Madman

  • Members
  • 21,868 posts
  • Gender:Male
  • Location:Catonsville, Md
  • Local time:02:24 AM

Posted 24 November 2011 - 03:34 AM

I would highly recommend that you use the tools available from the manufacture of your hard drive website.

http://www.wdc.com - Western Digital

http://www.seagate.com - Seagate/Maxtor

http://www.hitachigst.com/ - IBM/Hitachi Drives

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users