LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 03: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, 04:21 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,474

Rep: Reputation: 189Reputation: 189
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


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


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