Bad sector
A bad sector is a small block on a disk that the device can no longer read or write reliably.
Disks store data in numbered blocks called sectors. A sector goes bad when the surface is weak, when the heads struggle to follow the track, or when the drive has run out of spare blocks to substitute. The drive often hides a failing sector by moving its contents to a spare. That is ordinary maintenance until it starts happening often.
How do bad sectors show up?
Bad sectors show up as slow reads, copies that fail part way through a file, or a drive that disappears when it is asked to work hard. SMART attributes can report sectors the drive has already replaced, and sectors it is waiting to replace. A count that keeps rising is a warning. It is not a date on which the disk will fail.
Why do bad sectors hide files?
One unreadable sector can break a document, a database page, or a record in the file system, because a file can be read only when every sector it uses can be read. If the bad sector sits inside the file system's own index, the whole volume can look empty or raw.
What should you do if a disk is developing bad sectors?
Copy the files you still need onto another device, and stop treating the failing disk as the only copy. A surface scan that writes to the disk, or a program that retries one sector for a long time, can push a weak drive further. Persistent abnormal clicking can indicate a physical failure. Seagate says to confirm a backup straight away, and that a grinding sound means continued use can damage the platters, so stop using the disk and leave it powered off.
What might you notice?
- Copies of large files fail at the same point each time
- The computer hangs when that disk is opened
- SMART reports reallocated or pending sectors
- The drive is slower or noisier than it used to be
From the lab
Bad sector ruled out
All four drives in a QNAP TS-410 showed as unmounted after a power outage. Every drive copied with 0 bad sectors, but the disk order had changed and the metadata was gone. The engineers worked out a usable configuration. 1.47TB came back, with subfolders intact and the root folder names lost. QNAP RAID 5 case study
From R3's lab records
Observed
A QNAP TVS with eight 8TB drives failed, and the customer thought one or two drives were to blame. Seven copied cleanly. Drive 8 had 1,671 bad sectors, which the engineers corrected and suspected had brought the system down. It was a group volume, so the copies went back into the QNAP to read it. 22.8TB came back.
From R3's lab records