LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2011, 02:58 PM   #1
drManhattan
Member
 
Registered: Aug 2010
Location: Warsaw, Poland
Distribution: Ubuntu 10.04 LTS on IBM Lenovo R61e, RHEL5-6,SLES10-11
Posts: 262

Rep: Reputation: 1
howto troubleshoot disk with dmesg


Hi

How can I troubleshoot disk with 'dmesg' cmd ?
How to distinquish :
- physical disk error
- file system corruption

What is I/O Error ?

thx for help.
 
Old 03-28-2011, 03:21 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,986

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
The dmesg command outputs kernel messages which can help in troubleshooting hardware problems. An I/O error message relating to a hard drive which shows up in dmesg output indicates the system is having difficulty reading from or writing to a sector on the hard drive. There can be many reasons for this.

The best way to trouble shoot possible hardware related problems with hard drives is by running the manufacturer's diagnostic utilities in thorough mode on the drive. All the major manufacturers have them on their websites. They are generally in the form of a bootable iso file which your burn as an image to a CD-R. You then boot with the CD-R and run the manufacturer's diagnostic utility which will thoroughly test the hard drive sector by sector. This can take a long time when run in thorough mode but you will definitively know if the drive has hardware issues when your done. Also, if the hard drive is still under warranty, usually 3 to 5 years, the manufacturer generally requires that you run their diagnostics on the drive before returning for warranty replacement.
 
  


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
how to troubleshoot disk size limit? lxa2xjj Linux - Hardware 2 08-07-2008 01:34 PM
Howto troubleshoot a process that ended unexpectedly DriveMeCrazy Solaris / OpenSolaris 1 07-06-2007 11:29 AM
Howto troubleshoot a lockup problem? sam_vde Linux - Kernel 1 08-18-2006 12:39 PM
dmesg (command) and /var/log/dmesg are different? Oxagast Linux - Software 2 07-10-2006 05:50 AM
/bin/dmesg > /dmesg-boot not Working in Knoppix 3.4 suguru Debian 2 07-04-2004 05:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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