CHKDSK zeroes out bad sectors

InquiringMind

New member
Local time
12:22 AM
Messages
2
While using my laptop to load some old training DVDs for archiving, I discovered evidence of a bad sector on my laptop's hard drive (Seagate Momentus 7200.4 SATA 500GB): upon investigating file compare errors, I found one fairly large file (464MB) where, after several tries, everything matched perfectly except the last 16 bytes which displayed three or four variations on the hard drive.

While running Check Disk (at Win7 Ultimate x64 boot-up, initiated from Windows Explorer with the option "Scan for and attempt recovery of bad sectors"), CHKDSK reported a single bad sector -- in the file in question -- and claimed to have fixed it. So far, so good.

After running file compares again, though, I found that CHKDSK had zeroed out the last 32768 bytes. I expected all but the last 16 bytes of the file to be correct; why was any of it zeroed out?

The last time I had such detailed experience with CHKDSK and live data involved MS-DOS and floppy disks, and I'm pretty sure CHKDSK really did recover most or all of the data in question. So this was a surprise. Why couldn't Win7's CHKDSK succeed at "attempt[ing] recovery of bad sectors" and at least read what ordinary utilities could read?

At the very least, this is motivation to be diligent about backups!
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
OS
Windows 7 Ultimate x64
Keyword "attempt" recovery of bad sectors. Attempt, not guaranteed, attempt. And as it is CHKDSK does not remove data it saves what it can and moves it, if it couldn't move those "32768 bytes" you are concerned about its probably you have bigger issues with your drive then you thought.
 

My Computer My Computer

At a glance

Windows 10 Pro (x64)Intel Core i7-3930K (3.2GHz - 4.5GHz)4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)Nvidia Geforce GTX 690
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
You are most welcome to Seven Forums InquiringMind.

Now that a bad sector has developed on the laptop's hard drive, you should keep a close watch on it. This is the first sign that it is soon going to need a change.
 

My Computer My Computer

At a glance

Windows 7 Pro with SP1 32bit2 gigs of RAMIntel(R) 82845G/GL/GE/PE/GV Graphics Controller
Computer Manufacturer/Model Number
Custom Built
OS
Windows 7 Pro with SP1 32bit
Motherboard
Intel D845GVS1 X86-based PC
Memory
2 gigs of RAM
Graphics Card(s)
Intel(R) 82845G/GL/GE/PE/GV Graphics Controller
Sound Card
Realtek AC'97 Audio
Monitor(s) Displays
Samsung SyncMaster 931BF Black 19" LCD Monitor
Screen Resolution
1280X960
Hard Drives
1. SAMSUNG SP0822N ATA Device ~ 80 GigaBytes

2. Seagate FreeAgent Go USB Device ~ 500 GigaBytes
Keyboard
COMPAQ Standard PS/2 Keyboard
Mouse
iBall Laser Precise Speedster
Internet Speed
4 mb/sec
I certainly plan on keeping watch on my hard drive, although the only problem identified so far was this single bad cluster. And I am not worried about the file, which was only a copy to begin with.

My question is still about CHKDSK. If it had "attempted" recovery of the data at least as well as three other utilities I used multiple times to test and investigate the problem, CHKDSK would have succeeded in reading all but 16 bytes -- and those most likely would not have ended up as zeros. The mere fact that the last cluster was entirely zeroed out rather than mostly the correct original data (or even garbage if there were additional read errors because of the recovery attempt), suggests to me that CHKDSK is NOT attempting to recover the data. If not, why make the claim?
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
OS
Windows 7 Ultimate x64
Why make the claim? Because it does recover data that it can. Again it comes back to "attempt" recovery of bad sectors. Read: Windows Internals, 5th Edition Chapter 11 Page 985, NTFS Bad-Cluster Recovery.

Also, a cluster by default is about 4096 Bytes, When a sector is deemed to be bad, it marks the whole cluster as bad. Clusters are the smallest unit file systems work with. (4K clusters hold about 8 sectors.)
 

My Computer My Computer

At a glance

Windows 10 Pro (x64)Intel Core i7-3930K (3.2GHz - 4.5GHz)4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)Nvidia Geforce GTX 690
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2

My Computer My Computer

At a glance

Windows 10 Home x64INTEL Core i5-750 Quad-Core 3.37GHzHyperX Fury Black Series 8GB (2 x 4GB) 1866MhzEVGA GeForce GTX 750 Superclocked 1GB 128-Bit...
Computer type
PC/Desktop
OS
Windows 10 Home x64
CPU
INTEL Core i5-750 Quad-Core 3.37GHz
Motherboard
ASUS P7P55D
Memory
HyperX Fury Black Series 8GB (2 x 4GB) 1866Mhz
Graphics Card(s)
EVGA GeForce GTX 750 Superclocked 1GB 128-Bit GDDR5
Monitor(s) Displays
LG 32MA68HY 32" IPS
Screen Resolution
1920 x 1080
Hard Drives
Samsung 840 Evo 120GB, SEAGATE 500GB Barracuda® 7200.12, SATA 3 Gb/s, 7200 RPM, 16MB cache
PSU
ANTEC TruePower New TP-550, 80 PLUS, 550W
Case
ANTEC Three Hundred Illusion
Cooling
COOLER MASTER Hyper 212 Plus, 4 x 120mm 1 x 140mm Noctua's
Internet Speed
85 + Mbps
Antivirus
Avast
Browser
Vivaldi
Back
Top