Results 1 to 10 of 10
Hi gurus, this is non standard linux question but I thing linux could help with this
I have HDD (Samsung) which contains bad sectors (or clusters/blocks - dont know exact ...
- 09-26-2010 #1Just Joined!
- Join Date
- Jul 2009
- Posts
- 49
Repair HDD with approporiate partitioning
Hi gurus, this is non standard linux question but I thing linux could help with this

I have HDD (Samsung) which contains bad sectors (or clusters/blocks - dont know exact terminology). I downloaded official software for diagnostic (bootable CD with free DOS and utility) - and I executed low level format. BUT it returns me LBA (I am little confused with LBA) address which contains bad sectors.
My question is: Is possible to locate bad clusters and then make partitioning excluding those part of HDD which contains bad sectors ?
Example (The values are think out not real numbers):
lets say 160 GB HDD has addresses of lba from 0 to 160000 LBA
now lets say that at 120000 LBA is some bad cluster
so i wuld like to create 2 partitions from 0 - 110000 LBA and from 130000 LBA - 160000 LBA
so lets say sizes of partitons would be 110 GB and 30 GB.
I hope I explain clear what I am achieving. - Could you please point me to some tutorial or something like that.
Thanks a lot
- 09-26-2010 #2
In my experience, once bad sectors start appearing they will do so until you toss the drive.
- 09-26-2010 #3Just Joined!
- Join Date
- Jul 2009
- Posts
- 49
Yes I am expecting that - that HDD would be used only as a large USB drive
- 09-26-2010 #4
So what's the point of having a drive which routinely will corrupt your files because new bad sectors keep appearing?
- 09-26-2010 #5Just Joined!
- Join Date
- Jul 2009
- Posts
- 49
i will use it as a transfer movies from school to home if some movies did not works nothing happens
- 09-26-2010 #6Banned
- Join Date
- May 2010
- Posts
- 19
- 09-27-2010 #7Just Joined!
- Join Date
- Jul 2009
- Posts
- 49
AFAIK - if you format the drive the process will mark bad sectors as a "BAD" and do not use them anymore, istead of it it uses a "BACKUP" sectors which every new HDD contains and are reserved exactly for those cases.
I saw using HDD with bad sectors for a years not for months as yu type.
I will try and in the future I will give a report
- 10-02-2010 #8
I don't know if partitioning software marks bad sectors, but they
are marked at the time of formatting. Go ahead and create partitions
and format them. At the time of format, you are good to go until
more bad sectors appear. FYI, the firmware on the drive automatically
swaps bad sectors out for spares until it runs out of spares.
So it doesn't report bad sectors to the OS (or to you) until the
spares are exhausted. Your spares are exhausted. That is why
it is reporting bad sectors. Still, you may get additional life out
of it, as long as your data are not of critical value.
- 10-04-2010 #9Just Joined!
- Join Date
- Jul 2009
- Posts
- 49
Hmm, first do partitoning and then do formatting ? It seems to me a little confusing because I need something "more low level" than fromatting a partition.
I have finnaly found that I have been looking for but it is utility for M$ called HDTune
- 10-04-2010 #10forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,086
HDTune won't fix a hard drive that is constantly gathering bad sectors but you can find the app itself on several different liveCDs. I believe that either hirens bootcd or ultimate bootcd come with it. They both might have it... don't remember for sure. You might also be able to run those from a flash drive, but not sure.
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.


Reply With Quote

