![]() |
How to Locate and isolate Bad sectors in HDD
Hi All,
I am facing some problems with my hard disk due to some bad sectors (My O.S is ubuntu). I Want to Locate the location of these Bad sectors, then isolate these bad sectors in a partition (not to be used), and install the O.S on a healthy partition. I just did some steps (thanks to cliffordw) as he provide me the link "http://smartmontools.sourceforge.net/badblockhowto.html" but need some advice. disk is failing self-tests at Logical Block Address LBA = 587529330 Code:
e33@e33:~$ sudo smartctl -l selftest /dev/sdaCode:
e33@e33:~$ sudo fdisk -lu /dev/sda(320 GB = size of my Hard disk) x 587529330 / 607809535 = 309 GB. so if I divide the Hard disk in two part: - Part 1: 300 GB: O.S will be installed here. - Part 2: 20 GB: will be ignored. Is that okay? |
This will not really work. If there are bad sectors reported that means that the disk has already used up all spare sectors that are normally used to replace bad sectors (every disk will have them from time to time). This is in almost 99% of all cases a sign that the disk is dying. Replace the disk.
|
Thanks a lot TobiSGD, I will change the hard disk, but is there is a temporary solution for that?
what about low level format? |
Member Response
Hi,
You are living on the edge when you expect to use a failing HDD, eventually the failure will happen. Make a backup NOW and move to a new HDD. Nothing but problems awaiting! Media failure will not be fixed by a low level format. |
Thanks gents for your prompt replies.
|
Use the OEM hard drive diags. They can sometimes help you decide the state of the drive better.
Every or almost every hard drive maker offers programs to diag their drives. Some include tools to help make the drive last longer. I know we used to have scsi drives last for years and years. They allowed you to do a new low level more easily. If the low level then failed, we would junk it only then. |
try pbd
Try PBD(Partition Bad Disk) to isolate bad sectors and fix the bad sector problem
|
Go to My Computer and single click on your Hard Drive. Then right-click and select Properties.In the General Tab run Disk Cleanup.In the Tools Tab run Check Now under Error Checking, then run Defragment Now under Defragmentation.
|
Member Response
Hi,
Welcome to LQ! Quote:
Since the OP is using Ubuntu and it does sound like a 'HDD' failure, not a filesystem failure which could be handle by 'fsck' for a Gnu/Linux. As suggested the OP should backup if possible then run diagnostics to confirm the issue(s). It would be best to replace a HDD that is displaying this type of issue/errors. |
thank you gents for your kind useful replies.
The best way was to change the HDD :) Regards |
Quote:
|
use PBD(Partition Bad Disk)
use PBD(Partition Bad Disk) to locate and isolate bad sectors of HDD
|
| All times are GMT -5. The time now is 08:59 AM. |