LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-04-2010, 03:00 PM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Rep: Reputation: 51
check hard disk for hardware errors


hi

Howto check hard disk for hardware errors without damaging installed OS?
 
Old 09-04-2010, 03:15 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Deleted
 
Old 09-04-2010, 03:15 PM   #3
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
badblock's non-destructive read-only test
 
1 members found this post helpful.
Old 09-04-2010, 06:13 PM   #4
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 51
Thx, I will try the follwoning:
Code:
# badblocks -nvs /dev/hda
 
Old 09-04-2010, 06:42 PM   #5
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
The manufacturer's tools...

There are HDD utilities available from the makers of the HDDs, SeaTools(Seagate), ESTool(Samsung),etc. that you can burn as a live-cd and run.
 
Old 09-05-2010, 08:19 AM   #6
dalai lama
LQ Newbie
 
Registered: Dec 2009
Location: Amsterdam
Distribution: CentOS
Posts: 19

Rep: Reputation: 0
Hello

If you suspect a bad hard disk I would recommend to run smartmontools to check the status of the disk(s). You can run the program while your system is running.

smartctl -t short /dev/sdX
This will perform a short test on the mentioned hdd. Will take about 2 minutes. You can also replace 'short' for 'long' to perform a long test. The results can be shown with
Smartctl -a /dev/sdX

If you doubt about the output you may also post the results.
Good luck.
 
Old 09-05-2010, 12:35 PM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by thorkelljarl View Post
The manufacturer's tools...

There are HDD utilities available from the makers of the HDDs, SeaTools(Seagate), ESTool(Samsung),etc. that you can burn as a live-cd and run.
Many are included on:
http://ubcd.sourceforge.net/

so I recommend using that instead.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Check hard disk speed h725 Linux - Server 2 11-29-2009 09:24 PM
how do i check state of hard disk? Swakoo Linux - Hardware 4 09-11-2008 02:19 AM
Sanity check before trying to dd my hard disk goldsaturn25 Linux - Software 4 06-21-2008 08:08 PM
fc7 how can i make check for errors on my hard drive Muhammed Linux - Software 2 08-27-2007 05:28 PM
NMI, Machine check errors=bad hard drive? robber49 Linux - Hardware 1 04-08-2005 07:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10: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