LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 07-28-2009, 01:38 AM   #1
knappster
Member
 
Registered: Mar 2004
Posts: 174

Rep: Reputation: 30
Test integrity of External Hard drive?


I have a seagate SATA hard drive that was running a mythtv distro. It had 3 partitions, EXT3, swap, and XFS. I started having I/O errors on boot and saw error messages on both the EXT3 and the XFS partitions. I also heard some clunking sounds on the drive when it was reading, so I thought hell, the drive is dead.

I have since replaced the drive and everything is back up and running on the replacement drive. I thought hell, the seagate drive is toast, but I just want to verify it with some sort of tool. I have the hard drive in a Vantec NexStar external hard drive case (SATA->USB) and found there was a tool called badblocks. Ran badblocks on it, which ran for 24ish hours and found no bad blocks. I also didn't notice any clunking sounds while it was running.

I ran
Code:
badblocks -n -v /dev/sdb
Is badblocks a proper test to run on external hard drives or was I just wasting my time? Is there any way that I can really test it without removing it and connecting it with SATA to the motherboard? Thanks.
 
Old 07-28-2009, 06:34 AM   #2
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,743

Rep: Reputation: 196Reputation: 196
Seagate's own...

You can use Seagate's own HDD tool,SeaTools, Linux command line or DOS, to check the health of your disk.

http://www.seagate.com/www/en-us/sup...loads/seatools

Last edited by thorkelljarl; 07-28-2009 at 06:39 AM.
 
Old 07-28-2009, 09:24 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,450
Blog Entries: 4

Rep: Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505
Hi,

Along with the Seagate diagnostics you could look at 'UBCD Ultimate Boot CD'. UBCD allows users to run floppy-based diagnostic tools from most CDROM drives on Intel-compatible machines, no operating system required. The cd includes many diagnostic utilities.

The above links and others available from 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 07-28-2009, 09:51 AM   #4
knappster
Member
 
Registered: Mar 2004
Posts: 174

Original Poster
Rep: Reputation: 30
Thanks for the responses. I tried Seatools in Virtualbox Windows XP, but it didn't detect the hard drive, probably because it was in an external enclosure. I did not realize that there is a linux version, I'll look into that.

Does UBCD do diagnostics on external USB hard drives? I haven't had much luck with compatibility on external hard drives on boot CD's in the past.
 
Old 07-28-2009, 10:14 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,450
Blog Entries: 4

Rep: Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505
Hi,

Quote:
Originally Posted by knappster View Post
Thanks for the responses. I tried Seatools in Virtualbox Windows XP, but it didn't detect the hard drive, probably because it was in an external enclosure. I did not realize that there is a linux version, I'll look into that.

Does UBCD do diagnostics on external USB hard drives? I haven't had much luck with compatibility on external hard drives on boot CD's in the past.
Why are you trying to work at the system level diagnostics within a VM? You can use the diagnostics standalone as long as you select the proper one.

You can test anything at the system level as long as the diagnostics are available to perform the task. If the hdd is in a usb enclosure then you must have 'USB' support.
 
Old 07-28-2009, 10:20 AM   #6
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,743

Rep: Reputation: 196Reputation: 196
?

The DOS version of SeaTools is an ISO file. I assume that you can download and burn it, then use it like any other live-cd. I also assume that it should pick up a USB HDD. Luck
 
Old 07-28-2009, 11:24 AM   #7
knappster
Member
 
Registered: Mar 2004
Posts: 174

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by onebuck View Post
Hi,



Why are you trying to work at the system level diagnostics within a VM? You can use the diagnostics standalone as long as you select the proper one.

You can test anything at the system level as long as the diagnostics are available to perform the task. If the hdd is in a usb enclosure then you must have 'USB' support.
That's why I came here

I thought that Windows was the only thing they had available, but now I know there is a linux command line and that the DOS one is a bootable CD. I'm still not sure if it will work given that it is an Internal Seagate hard drive in a Vantec external hard drive case, but I'm willing to give it a shot just to not have to mess around with connecting it internally. Thanks for the help.
 
Old 07-28-2009, 12:45 PM   #8
pusrob
Member
 
Registered: Jan 2006
Distribution: Debian
Posts: 468

Rep: Reputation: 35
Download and burn Parted Magic to a CD. Boot it up and start the SmartControl program (a shortcut on the desktop). It will read out the s.m.a.r.t. data from your hard drive and also can trigger an extensive HDD self-test in one of it's menus. If the test returns with errors (there will be a report), and/or you can find many read-write or other kind of huge error counts in the data section, than you can safely use your HDD as a brick.

Last edited by pusrob; 07-28-2009 at 12:46 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Testing the integrity and checking the data on a hard drive Cinematography Linux - Hardware 5 07-21-2009 05:45 PM
ubuntu installed on external hard drive, can't startup without external hard drive. Vanostaajen Linux - Software 23 01-20-2009 10:59 AM
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-05-2007 12:28 AM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 10:03 AM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 09:48 AM


All times are GMT -5. The time now is 05:23 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration