LinuxQuestions.org
Help answer threads with 0 replies.
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 08-08-2011, 02:17 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
Check system


I use Redhat system , I suspect the HD has had sector , can advise is there to check if the system has had sector ?

Thanks
 
Old 08-08-2011, 02:33 AM   #2
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 532

Rep: Reputation: 78
You can use SMART to check if your disk ever encounter en hardware issue. If it has, it has been recorded so you will know.

You can find more info here on how to use it:
http://www.linuxjournal.com/magazine...rd-disks-smart
 
1 members found this post helpful.
Old 08-08-2011, 11:04 AM   #3
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 30
Thx reply ,

SMART seems need to be install , can advise is there any existing command can check it ?

Thanks.
 
Old 08-08-2011, 11:14 AM   #4
mikey99
Member
 
Registered: Nov 2008
Location: UK
Distribution: RHEL, Fedora
Posts: 68

Rep: Reputation: 12
Quote:
Originally Posted by ust View Post
Thx reply ,

SMART seems need to be install , can advise is there any existing command can check it ?

Thanks.
Run e2fsck with the -cc option. It will do a (safe) non-destructive check
for bad blocks

Code:
# e2fsck -cc /dev/sda1
 
Old 08-08-2011, 11:32 AM   #5
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by mikey99 View Post
Run e2fsck with the -cc option. It will do a (safe) non-destructive check
for bad blocks

Code:
# e2fsck -cc /dev/sda1
thx reply ,

it can be used to check badsector ? if not , what command / tools can use to check ?

thanks.

Last edited by ust; 08-08-2011 at 11:50 AM.
 
Old 08-09-2011, 05:15 AM   #6
mikey99
Member
 
Registered: Nov 2008
Location: UK
Distribution: RHEL, Fedora
Posts: 68

Rep: Reputation: 12
Quote:
Originally Posted by ust View Post
it can be used to check badsector ? if not , what command / tools can use to check ?
Are you sure its bad sectors you want to check, rather than bad blocks? You may have to so called "low-level" format to update the drives' bad sector table. Download the drive manufacturer's software tools to do this. It will test each sector with a read and write, so it is destructive - you need to backup your data first.
 
  


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
[SOLVED] An error occurred during the file system check. System unable to start rohitchauhan Linux - Newbie 5 06-22-2011 09:24 AM
An error Occurred during the file system check. Dropping you to shell; the system wil aneikei Linux - Newbie 3 02-11-2010 07:38 PM
Check the system elainelaw Linux - Newbie 3 08-20-2009 03:09 AM
how can I check my system? Perquisitor Linux - Security 12 12-10-2007 12:04 PM
how to check system memory? chrislee8 Linux - General 3 12-01-2004 02:28 AM


All times are GMT -5. The time now is 05:54 AM.

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