LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Do You Know (not easy) (https://www.linuxquestions.org/questions/linux-general-1/do-you-know-not-easy-386278/)

zeventh zenze 11-24-2005 09:21 PM

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

microsoft/linux 11-24-2005 09:51 PM

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.

syg00 11-24-2005 10:42 PM

Start with "man badblocks"

WhatsHisName 11-25-2005 12:38 AM

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.

zeventh zenze 11-25-2005 11:33 AM

thanks for imput, will look into your replys

eddiebaby1023 11-27-2005 01:33 PM

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.


All times are GMT -5. The time now is 09:59 AM.