LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-24-2005, 09:21 PM   #1
zeventh zenze
LQ Newbie
 
Registered: Nov 2005
Posts: 7

Rep: Reputation: 0
Do You Know (not easy)


Maybe not easy to answer but

Do you know if they is a way or a program to check for bad sectors on the hard disk?

any imput apreciated
 
Old 11-24-2005, 09:51 PM   #2
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
IIRC(I don't use it unless debian forces me to at boot), fsck does this. FileSystemChecK(I think is what it stands for). It basically checks the integrity of the disk. Hope this helps.
 
Old 11-24-2005, 10:42 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Start with "man badblocks"
 
Old 11-25-2005, 12:38 AM   #4
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
As odd as it may sound, there isn't a lot of point in looking for bad sectors on drives that use Self Monitoring and Reporting Technology (SMART), which is just about any drive made in the last 5 years or so.

The drives autodetect problems with sectors and move their contents to unused sectors on the drive without user intervention or awareness. Modern hard drives also have more capacity than advertised or accessible by the end user.

The extra capacity is used to compensate for bad sectors that develop over time, so the apparent capacity of the drive doesn't decrease. The user never knows that this is going on until the drive runs out of extra capacity.

That's why it's important to monitor drive health with smartd in linux.
 
Old 11-25-2005, 11:33 AM   #5
zeventh zenze
LQ Newbie
 
Registered: Nov 2005
Posts: 7

Original Poster
Rep: Reputation: 0
thanks for imput, will look into your replys
 
Old 11-27-2005, 01:33 PM   #6
eddiebaby1023
Member
 
Registered: May 2005
Posts: 378

Rep: Reputation: 33
You can use "dd if=/dev/hdx of=/dev/null" to read the whole of a partition to see if there's a problem with it.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
easy connect not easy in suse greg collins Linux - Newbie 11 03-30-2006 07:31 PM
Easy urpmi ,no easy send mail. akihandyman Linux - General 2 12-27-2004 02:15 PM
Linux4RegularGuys - EASY FTP setup using vsftpd - READ THIS FOR EASY HELP DropHit Linux - Networking 4 11-25-2004 02:44 PM
Easy for most ... Please help.... kaz4u2dig Linux - Newbie 1 10-18-2004 09:46 PM
Here's an easy one... jhotchkiss Linux - Software 5 09-23-2003 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:46 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
Open Source Consulting | Domain Registration