A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » General Hardware & Peripherals » Storage (alternative)
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Fixing a bad logical HDD sector...



 
 
Thread Tools Display Modes
  #1  
Old April 8th 05, 04:03 PM
Eric
external usenet poster
 
Posts: n/a
Default Fixing a bad logical HDD sector...

Hi,

I just picked up a couple new drives and wanting to copy an entire partition
over to a new drive but have one bad logical sector that is causing the copy
to error out. This is a WinXP partition. This is not a bad physical
sector, but rather a "bad" logical sector. The HDD is not damaged. "Bad"
logical sectors result when the CRC value of a sector differ from the data
within, most likely a result from an inadvertent power cycle. If the HDD
were to be simply reformated, the "bad" logical sector would be removed. In
the DOS days, I remember getting some of these "bad" logical sectors every
now and then and would just copy the actual file that resides over the
sector elsewhere and then copy it back. That would "clear it out".

Again, this HDD is not physically damaged. I tested the drive with the
manufacturer's Drive Fitnest Test, Spinrite, S.M.A.R.T., and HDD Regen.
There are no physical problems. In fact, if it were a physically bad sector
then that would be a good thing -- as the drive would've just remapped that
sector to a reserve sector and I'd be able to copy with no problems.
Diagnostic software all reported there are plenty of reserve sectors
available.

I ran chkdsk, from the recovery console as well. "Chkdsk /f" and "chkdsk
/r". The only thing chkdsk finds is one crosslinked file, which seems to
be located at exactly where this "bad" logical sector is. In DOS/Win9x,
chkdsk always gave the name of the actual crosslinked file but with NTFS
(WinXP), it is giving a file number. Is there a way to determine the actual
file from the file number it is giving? I'm pretty confident that if this
particular file was just copied, deleted, re-copied it would clear up this
"bad" logical sector.

Thanks,
-Eric



  #2  
Old April 8th 05, 06:49 PM
Rod Speed
external usenet poster
 
Posts: n/a
Default


Eric wrote in message
...

I just picked up a couple new drives


This shouldnt be happening with a new drive.

and wanting to copy an entire partition over to a new
drive but have one bad logical sector that is causing
the copy to error out. This is a WinXP partition. This is
not a bad physical sector, but rather a "bad" logical sector.


Nothing 'logical' about it, its a physical sector.

The HDD is not damaged. "Bad" logical sectors result
when the CRC value of a sector differ from the data within,
most likely a result from an inadvertent power cycle.


Statistically that is very unlikely to have happened
with a new drive and most modern drives dont
produce a bad sector when that happens either.

If the HDD were to be simply reformated,
the "bad" logical sector would be removed.


Utterly mangled all over again. If by 'logical sector'
you actually mean a cluster at the OS level, a format
wont necessarily get rid of that if the physical sector
is bad, it will be retained thru a format at the OS level.

In the DOS days, I remember getting some of

these "bad" logical sectors every now and then

That shouldnt have happened either due to power loss, that frequent.

and would just copy the actual file that resides over the sector
elsewhere and then copy it back. That would "clear it out".


Utterly mangled all over again.

Again, this HDD is not physically damaged.


Maybe not, but there is likely a bad physical sector.

I tested the drive with the manufacturer's Drive Fitnest Test, Spinrite,
S.M.A.R.T., and HDD Regen. There are no physical problems.


Then your original claim has a problem. If there was a bad
sector due to power loss, it should have shown up there.

In fact, if it were a physically bad sector then that would be
a good thing -- as the drive would've just remapped that sector
to a reserve sector and I'd be able to copy with no problems.


Yes, so your original claim has a problem.

Diagnostic software all reported there are plenty of reserve sectors
available.


I ran chkdsk, from the recovery console as well. "Chkdsk /f" and
"chkdsk /r". The only thing chkdsk finds is one crosslinked file, which
seems to be located at exactly where this "bad" logical sector is.


That shouldnt be happening either. A bad sector should just
see one file with a problem, the data in that particular sector.

In DOS/Win9x, chkdsk always gave the name of the actual crosslinked
file but with NTFS (WinXP), it is giving a file number. Is there a way to
determine the actual file from the file number it is giving? I'm pretty
confident that if this particular file was just copied, deleted, re-copied
it would clear up this "bad" logical sector.


Your confidence is misplaced. Something else has happened.


  #3  
Old April 8th 05, 09:22 PM
Joep
external usenet poster
 
Posts: n/a
Default

"Eric" wrote in message
...
Hi,

I just picked up a couple new drives and wanting to copy an entire

partition
over to a new drive but have one bad logical sector that is causing the

copy
to error out. This is a WinXP partition. This is not a bad physical
sector, but rather a "bad" logical sector. The HDD is not damaged. "Bad"
logical sectors result when the CRC value of a sector differ from the data
within, most likely a result from an inadvertent power cycle. If the HDD
were to be simply reformated, the "bad" logical sector would be removed.

In
the DOS days, I remember getting some of these "bad" logical sectors every
now and then and would just copy the actual file that resides over the
sector elsewhere and then copy it back. That would "clear it out".

Again, this HDD is not physically damaged. I tested the drive with the
manufacturer's Drive Fitnest Test, Spinrite, S.M.A.R.T., and HDD Regen.
There are no physical problems. In fact, if it were a physically bad

sector
then that would be a good thing -- as the drive would've just remapped

that
sector to a reserve sector and I'd be able to copy with no problems.
Diagnostic software all reported there are plenty of reserve sectors
available.

I ran chkdsk, from the recovery console as well. "Chkdsk /f" and "chkdsk
/r". The only thing chkdsk finds is one crosslinked file, which seems to
be located at exactly where this "bad" logical sector is. In DOS/Win9x,
chkdsk always gave the name of the actual crosslinked file but with NTFS
(WinXP), it is giving a file number. Is there a way to determine the

actual
file from the file number it is giving? I'm pretty confident that if this
particular file was just copied, deleted, re-copied it would clear up this
"bad" logical sector.

Thanks,
-Eric


You can do a non destructive read/write surface scan with DiskPatch from
http://www.diydatarecovery.nl, but it isn't free. Indeed symptoms as you
describe them can be and have been 'fixed' using DiskPatch.

About the file number, in one of the resource kits there's a tool I think
called NFI.exe which can tell which files occupy which sectors on NTFS
partitions. Maybe it's also downloadable from the MS website somewhere.

--
Joep


  #4  
Old April 10th 05, 12:03 AM
Folkert Rienstra
external usenet poster
 
Posts: n/a
Default

"Eric" wrote in message
Hi,

I just picked up a couple new drives and wanting to copy an entire partition
over to a new drive but have one bad logical sector that is causing the copy
to error out. This is a WinXP partition. This is not a bad physical
sector, but rather a "bad" logical sector. The HDD is not damaged.


"Bad" logical sectors result when the CRC value of a sector differ from
the data within, most likely a result from an inadvertent power cycle.


ECC, not CRC.

If the HDD were to be simply reformated, the "bad" logical sector would
be removed.


Not really. There is actually very little writing in file system formatting.

In the DOS days, I remember getting some of these "bad" logical sectors
every now and then and would just copy the actual file that resides over
the sector elsewhere and then copy it back. That would "clear it out".


If it was possible to copy then just that action alone would have cleared it.


Again, this HDD is not physically damaged. I tested the drive with the
manufacturer's Drive Fitnest Test, Spinrite, S.M.A.R.T., and HDD Regen.


There are no physical problems.


Then obviously there is no logical bad sector either.

In fact, if it were a physically bad sector then that would be a good thing


Doesn't make a difference.

-- as the drive would've just remapped that sector to a reserve sector


Nope, not with bad ECC.

and I'd be able to copy with no problems.


Only if that sector was going to be bad but not quite yet (successful retries).
Bad ECC makes no diff, whether from physical bad or logical bad.

Diagnostic software all reported there are plenty of reserve sectors
available.


Oh? That is interesting !? Didn't think that was possible.


I ran chkdsk, from the recovery console as well. "Chkdsk /f" and "chkdsk /r".


The only thing chkdsk finds is one crosslinked file, which seems to
be located at exactly where this "bad" logical sector is.


'Seems' and 'exactly' contradict each other ....

In DOS/Win9x, chkdsk always gave the name of the actual crosslinked file
but with NTFS (WinXP), it is giving a file number.


.... and what does crosslinking have to do with a bad sector?

Is there a way to determine the actual file from the file number it is giving?


I'm pretty confident that if this particular file was just copied,


That is not likely, because of that bad ECC "bad" sector.
But since there is no such bad sector (logical nor physical) anymore, why bother?

deleted, re-copied it would clear up this "bad" logical sector.


You just said it wasn't there anymore (Drive Fitnest Test, Spinrite, S.M.A.R.T.,
and HDD Regen), so that is not the problem.
Problem likely is the file system recorded bad cluster.
That needs another approach.


Thanks,
-Eric

  #5  
Old April 12th 05, 11:01 PM
Eric
external usenet poster
 
Posts: n/a
Default


"Joep" wrote in message
You can do a non destructive read/write surface scan with DiskPatch from
http://www.diydatarecovery.nl, but it isn't free. Indeed symptoms as you
describe them can be and have been 'fixed' using DiskPatch.

About the file number, in one of the resource kits there's a tool I think
called NFI.exe which can tell which files occupy which sectors on NTFS
partitions. Maybe it's also downloadable from the MS website somewhere.

--
Joep


Thanks!

I found "NFI.EXE" at
http://www.rockstar.anubis.eu.org/pl...hex/?C=N%3BO=D and it is
giving some good clues.

Cheers,
-Eric


  #6  
Old April 14th 05, 11:16 AM
external usenet poster
 
Posts: n/a
Default

I suggest you use Partition Table Doctor to resolve your
problem.The software provides very useful functions:
Backup partition table, Restore partition table, Rebuild
partition table, undelete partition, Fix boot sector,
rebuild mbr,etc.

First thing I recommend you download the demo version of
Partition Table Doctor.( http://www.ptdd.com/download.htm )

Run the program and right click the partition and choose fixboot.
http://www.ptdd.com/fixboot.htm

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk Management - New Partition option Greyed Out Tapas Das Dell Computers 3 March 23rd 05 03:58 PM
WinXP logical "bad" sector errors... ErS Storage (alternative) 1 October 18th 04 05:47 PM
corrupted partition table - help needed! Justin Case General 0 August 3rd 04 09:22 AM
Fixing messed EZbios overlay Zvi Netiv Storage (alternative) 4 December 7th 03 01:06 PM
Constant disk access even when machine is idle? Sriram Storage (alternative) 2 July 18th 03 08:31 AM


All times are GMT +1. The time now is 08:10 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.