Solved Bad sector explanation

Computer0304

RIP Britton30
Guru
Gold Member
VIP
Local time
9:30 PM
Messages
2,295
Location
S:/Earth/Asia/
Note: I know what bad sectors are but I don't fully understand how they are created.
1. What causes bad sectors to be created? Is it a physical problem or a error in the OS?
2. Is there a way to prevent them from being created other than just using chkdsk?
3. Could external drives get bad sectors?
4. Do SSDs get bad sectors?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Vostro 400/Dell XPS 8700(Slightly Customized for me by Dell)/Toshiba Satellite T135
OS
Windows 7 Professional 32-bit/Windows 8 64-bit/Win7 Pro64-bit
CPU
Intel Core 2 Quad Q6600/Intel Core i7 4790/Intel Pentium
Memory
2GB/16GB/4GB
Graphics Card(s)
Intel G33/G31 Express(Vostro)/NVIDIA GeForce GTX 745(XPS)
Monitor(s) Displays
HP 2009m(Vostro)/ViewSonic VX2250wm-LED(XPS)
Screen Resolution
1600x900(Vostro)/1920x1080(XPS)
Hard Drives
Seagate ST3160815AS(Vostro)/Western Digital Blue(Satellite)
External:
Western Digital My Passport 0748
Samsung HM121HC
Keyboard
Dell L100)(Vostro)/Dell KB2133p(XPS)
Mouse
Dell M-UAV-DEL8(XPS)
Internet Speed
100 Mbit/s(Only when IPTV is plugged out)
Antivirus
Avast, Malwarebytes PRO
Browser
Internet Explorer 11
Other Info
Note: Names with slashes between two different parts mean that the left is my old desktop and the right is my old laptop and the middle is my new desktop.(Unless specified)
Ping is horrible for servers overseas in US and Europe.
New laptop:LG Gram(Not available in US) Processor:Intel Core i3 4th Gen Ultra Low Power RAM:4GB Hard Drive:SK Hynix OEM MSATA or M.2 Graphics:Intel HD
1. A physical problem.
Typically it is a block or sector of the platter that cannot be written to and/or read. A spec of dust or tiny scratch will do it.
Sometimes it can be a sector that has been corrupted but can be revived. But that is rare.

2. Not really. Don't drop the drive, no sudden power outages, no hot/cold environment extremes.

3. Yes.

4. Trick question. A SSD does not have spinning disks and so does not technically have blocks/sectors, but the individual NAND cells can go bad, so it is pretty much the same thing.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built - Jan 2013
OS
Windows 7 64 Bit Home Premium SP1
CPU
i7-3820
Motherboard
Asus P9X79-PRO - Bios 4608
Memory
GSkill F3-14900CL9Q - 16GB
Graphics Card(s)
EVGA GeForce GTX660 - Driver 352.86
Sound Card
On board Realtek ALC898
Monitor(s) Displays
Acer S271HL
Screen Resolution
1920 x 1080
Hard Drives
#1- Samsung 840 Pro Series
#2- Western Digital WD1002FAEX Sata3 Black
#3- Western Digital WD1002FAEX Sata3 Black
PSU
Corsair CMPSU-850TX-V2 - 850 watt (by Seasonic)
Case
Corsair Obsidian 550D
Cooling
Standard 3 120mm case fans, Cooler Master Hyper 212 EVO
Keyboard
MS KC-0405
Mouse
Intellimouse 5-button
Internet Speed
56 Mbits/Sec (on a good day)
Antivirus
Avast & Malwarebytes
Browser
Firefox
Other Info
Asus DVD - DRW-24B1ST 24X
Don't hard drives get soft bad sectors too which is a cluster of storage that is not working but can be recovered? Also, does the answer to #4 mean that chkdsk is not effective for ssds?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Vostro 400/Dell XPS 8700(Slightly Customized for me by Dell)/Toshiba Satellite T135
OS
Windows 7 Professional 32-bit/Windows 8 64-bit/Win7 Pro64-bit
CPU
Intel Core 2 Quad Q6600/Intel Core i7 4790/Intel Pentium
Memory
2GB/16GB/4GB
Graphics Card(s)
Intel G33/G31 Express(Vostro)/NVIDIA GeForce GTX 745(XPS)
Monitor(s) Displays
HP 2009m(Vostro)/ViewSonic VX2250wm-LED(XPS)
Screen Resolution
1600x900(Vostro)/1920x1080(XPS)
Hard Drives
Seagate ST3160815AS(Vostro)/Western Digital Blue(Satellite)
External:
Western Digital My Passport 0748
Samsung HM121HC
Keyboard
Dell L100)(Vostro)/Dell KB2133p(XPS)
Mouse
Dell M-UAV-DEL8(XPS)
Internet Speed
100 Mbit/s(Only when IPTV is plugged out)
Antivirus
Avast, Malwarebytes PRO
Browser
Internet Explorer 11
Other Info
Note: Names with slashes between two different parts mean that the left is my old desktop and the right is my old laptop and the middle is my new desktop.(Unless specified)
Ping is horrible for servers overseas in US and Europe.
New laptop:LG Gram(Not available in US) Processor:Intel Core i3 4th Gen Ultra Low Power RAM:4GB Hard Drive:SK Hynix OEM MSATA or M.2 Graphics:Intel HD
My (limited) understanding of the function on chkdsk is that it focuses on the File System through the MBR and File Table, finding and correcting pointers to nowhere, fragments without a home, and other lost and mangled file system artifacts.

So running chkdsk in basic mode should be fine on an SSD.

What you would not want to do on an SSD is check the box that says "find and recover bad sectors". That is the job of the drive's firmware and TRIM. I would think that chkdsk could screw that up.

On a spinning disk, "find and recover bad sectors" does exactly what you suggest: it finds blocks/sectors that have been marked bad but are not really bad ("soft bad sectors") and remarks them OK.
A SF member explained this process in detail a past post, but I can't recall the specifics off the top of my head.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built - Jan 2013
OS
Windows 7 64 Bit Home Premium SP1
CPU
i7-3820
Motherboard
Asus P9X79-PRO - Bios 4608
Memory
GSkill F3-14900CL9Q - 16GB
Graphics Card(s)
EVGA GeForce GTX660 - Driver 352.86
Sound Card
On board Realtek ALC898
Monitor(s) Displays
Acer S271HL
Screen Resolution
1920 x 1080
Hard Drives
#1- Samsung 840 Pro Series
#2- Western Digital WD1002FAEX Sata3 Black
#3- Western Digital WD1002FAEX Sata3 Black
PSU
Corsair CMPSU-850TX-V2 - 850 watt (by Seasonic)
Case
Corsair Obsidian 550D
Cooling
Standard 3 120mm case fans, Cooler Master Hyper 212 EVO
Keyboard
MS KC-0405
Mouse
Intellimouse 5-button
Internet Speed
56 Mbits/Sec (on a good day)
Antivirus
Avast & Malwarebytes
Browser
Firefox
Other Info
Asus DVD - DRW-24B1ST 24X
Don't hard drives get soft bad sectors too which is a cluster of storage that is not working but can be recovered? Also, does the answer to #4 mean that chkdsk is not effective for ssds?

Hard drives and other storage devices have error correcting codes that can correct multiple bit errors to a extent. These are soft errors and are normal but not reported - they are not an indication that the a sector is bad, but if they are high could indicate an imminent failure.

However, I think you are talking about reallocated sectors. These are sectors that could still be read but there is some indication that they are bad, so the data is copied to a new sector (from a pool of spares) and the bad sector gets put on the reallocated sector list so it will not be reused. Logical addressing maps logical to physical so this happens transparently.

If you have any significant number of reallocated sectors, it is usually a sign the disk is about to go south.

You can also use chkdsk /R to check for bad sectors and map them out, but the hard drive internal checking should be sufficient.

TRIM doesn't have anything to do with discovering bad sectors on an SSD though.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built (GeneO industries)/Model 4
OS
Windows 10 Pro. EFI boot partition, full EFI boot
CPU
i7 4770k 4.4GHz (44-44-43-43 turbo) @ 1.248V
Motherboard
ASUS Maximus VI Hero
Memory
16GB (8GBx2) @2200 MHz G.skill Sniper 10-11-10-30-1, 1.6V
Graphics Card(s)
MSI GTX 970 Gaming 4G
Sound Card
Onboard SupremeFX Audio
Monitor(s) Displays
NEC Spectraview 2490WUXi-SV
Screen Resolution
1920 x 1200
Hard Drives
Samsung 850 Pro 256GB (OS), Samsung 2x 128GB 840 Pro SSD in RAID0, 3x WD Blue 6Gb/s 1TB RAID0, WD 2TB Black external USB 3.0, 2TB WD20EARS Green external USB 3.0, 2x 500GB Seagate and 1 750 GB external USB, 1x 350GB external USB3
PSU
Seasonic X-850 (2012 KM3 model)
Case
Fractal Design Define R4
Cooling
NH-D14, NF-F12, NF-A15; NF-P14, NF-P12,NF-A14, S12A PWM
Keyboard
Cooler Master Storm Quickfire Rapid - Brown
Mouse
Logitech G602
Internet Speed
126.4 Mb/s down, 24.3 Mb/s up
Other Info
USB 3.0 x8 , SATA III x8, eSATA, USB 2.0 x6. Samsung DVD R/W drive.

WEI: CPU 7.8, Memory 7.9, Graphics 7.9, Disk 7.9
A ssd tricks windows into thinking its a ide or sata Mechanical drive. Windows then treats it like such. The controller and trim handle things. Lets say windows tells the hard drive to write to this certain cell block. What trim and the controller do is lie to windows and say yes we have done that when in reality they have not as there is no reason to because its not a physical disk with platters.

http://www.pcworld.com/article/2038...-ssds-what-makes-these-speedy-drives-hum.html

http://arstechnica.com/information-...revolution-how-solid-state-disks-really-work/ <----- A lot of info

"Having a chunk of cache sitting there lets the SSD quickly receive data that it needs to write, even if it's too busy to actually write it at the moment; the data sits in the SDRAM cache until the controller is able to find time to send it down and actually commit it to NAND. All this happens transparently to the computer and you, the end user—regardless of whether or not the data has actually been written, the SSD controller reports back to the operating system that the write was completed successfully."
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 10 Pro
CPU
AMD Ryzen 5 2400G Processor with Radeon RX Vega 11 Graphics
Motherboard
ASRock X470 Master SLI/AC AM4 AMD Promontory X470 SATA 6Gb/s
Memory
G.SKILL Ripjaws V Series 16GB (2 x 8GB) 288-Pin DDR4 SDRAM D
Graphics Card(s)
2047MB NVIDIA GeForce GTX 1060 6GB (EVGA)
Sound Card
Motherboard Built in
Monitor(s) Displays
Acer R240HY bidx 23.8-Inch IPS HDMI DVI VGA (1920 x 1080) Wi
Screen Resolution
1920 x 1080
Hard Drives
1TB Sandisk SSD PLUS (Main drive)
500 GB Seagate 7200 RPM (Games)
500 GB Western Digital 7200 RPM (Virtual Machines)
PSU
CORSAIR TX Series TX650M 650W 80+ Gold Modular Power Supply
Case
CORSAIR CARBIDE SPEC-02 Mid-Tower Gaming Case, Red LED Fan
Cooling
220mm, two 120mm, and four 60mm fans
Keyboard
Wired Dell keyboard
Mouse
Wireless Logitech mouse
Internet Speed
250mb down, 30mb up
Antivirus
Panda Cloud Antivirus
Browser
Chrome-ish x64
Other Info
Your awesome for reading this.
Thank you for replying.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Vostro 400/Dell XPS 8700(Slightly Customized for me by Dell)/Toshiba Satellite T135
OS
Windows 7 Professional 32-bit/Windows 8 64-bit/Win7 Pro64-bit
CPU
Intel Core 2 Quad Q6600/Intel Core i7 4790/Intel Pentium
Memory
2GB/16GB/4GB
Graphics Card(s)
Intel G33/G31 Express(Vostro)/NVIDIA GeForce GTX 745(XPS)
Monitor(s) Displays
HP 2009m(Vostro)/ViewSonic VX2250wm-LED(XPS)
Screen Resolution
1600x900(Vostro)/1920x1080(XPS)
Hard Drives
Seagate ST3160815AS(Vostro)/Western Digital Blue(Satellite)
External:
Western Digital My Passport 0748
Samsung HM121HC
Keyboard
Dell L100)(Vostro)/Dell KB2133p(XPS)
Mouse
Dell M-UAV-DEL8(XPS)
Internet Speed
100 Mbit/s(Only when IPTV is plugged out)
Antivirus
Avast, Malwarebytes PRO
Browser
Internet Explorer 11
Other Info
Note: Names with slashes between two different parts mean that the left is my old desktop and the right is my old laptop and the middle is my new desktop.(Unless specified)
Ping is horrible for servers overseas in US and Europe.
New laptop:LG Gram(Not available in US) Processor:Intel Core i3 4th Gen Ultra Low Power RAM:4GB Hard Drive:SK Hynix OEM MSATA or M.2 Graphics:Intel HD
SSD isn't really that different than hard drives, there are no "tricks" and it has nothing to do with being mechanical. The OS addresses either by Logical address, and the SSD or HDD maps these to physical address. Under the hood they are a lot different though. In fact, the next generation of hard drives that use shingling are going to be more similar to SSD under the hood in that the drive won't be able to rewrite data without first reading out adjacent data, writing the data, then rewriting the adjacent data. Maybe they will use the same TRIM function as SSD to avoid this wherever possible.
 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built (GeneO industries)/Model 4
OS
Windows 10 Pro. EFI boot partition, full EFI boot
CPU
i7 4770k 4.4GHz (44-44-43-43 turbo) @ 1.248V
Motherboard
ASUS Maximus VI Hero
Memory
16GB (8GBx2) @2200 MHz G.skill Sniper 10-11-10-30-1, 1.6V
Graphics Card(s)
MSI GTX 970 Gaming 4G
Sound Card
Onboard SupremeFX Audio
Monitor(s) Displays
NEC Spectraview 2490WUXi-SV
Screen Resolution
1920 x 1200
Hard Drives
Samsung 850 Pro 256GB (OS), Samsung 2x 128GB 840 Pro SSD in RAID0, 3x WD Blue 6Gb/s 1TB RAID0, WD 2TB Black external USB 3.0, 2TB WD20EARS Green external USB 3.0, 2x 500GB Seagate and 1 750 GB external USB, 1x 350GB external USB3
PSU
Seasonic X-850 (2012 KM3 model)
Case
Fractal Design Define R4
Cooling
NH-D14, NF-F12, NF-A15; NF-P14, NF-P12,NF-A14, S12A PWM
Keyboard
Cooler Master Storm Quickfire Rapid - Brown
Mouse
Logitech G602
Internet Speed
126.4 Mb/s down, 24.3 Mb/s up
Other Info
USB 3.0 x8 , SATA III x8, eSATA, USB 2.0 x6. Samsung DVD R/W drive.

WEI: CPU 7.8, Memory 7.9, Graphics 7.9, Disk 7.9
Back
Top