Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › ubuntu 9.10 - failing hard disk bad sectors error
New Posts  All Forums:Forum Nav:

ubuntu 9.10 - failing hard disk bad sectors error

post #1 of 19
Thread Starter 
hey there guys,

im having some strange problem i have just installed ubuntu 9.10 and it is saying my hard disk is failing and there are bad sectors.

is there a program i can use to fix these bad sectors or is there another way around this?

would really appreciate your help

thanks
    
CPUMotherboardGraphicsRAM
Intel Core 2 Duo E7200 2.53GHz Gigabyte GA-P35-S3G iP35 NVIDIA GeForce 6200LE 128MB 2x2gb kingston ddr2 
Hard DriveOSPowerCase
Samsung SP2504C ATA Windows 7 RC 7100build WinPower ATX 450 X-Blade PC Gaming Deluxe Pre-Mod ATX Medium Tower 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Intel Core 2 Duo E7200 2.53GHz Gigabyte GA-P35-S3G iP35 NVIDIA GeForce 6200LE 128MB 2x2gb kingston ddr2 
Hard DriveOSPowerCase
Samsung SP2504C ATA Windows 7 RC 7100build WinPower ATX 450 X-Blade PC Gaming Deluxe Pre-Mod ATX Medium Tower 
  hide details  
Reply
post #2 of 19
You can use something like windows' chkdsk to close off those bad sectors but I don't think you can repair them.
Bob
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 D0 @ 4.0GHz (1.2750V - LLC off, 200x20) Asus P6X58D-E PowerColor HD5770 2x2GB G.Skill DDR3 Ripjaw 12800 
Hard DriveOptical DriveOSMonitor
500GB 7200.11, 2x1TB Samsung F1 Pioneer DVR-218BK Windows 7 Pro x64 OEM Samsung SM2232BW + Acer AL1714 
KeyboardPowerCaseMouse
MS Curve 2000 Corsair 850HX CM HAF 932 Logitech G5 
Mouse Pad
Artsnow custom pad 
  hide details  
Reply
Bob
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 D0 @ 4.0GHz (1.2750V - LLC off, 200x20) Asus P6X58D-E PowerColor HD5770 2x2GB G.Skill DDR3 Ripjaw 12800 
Hard DriveOptical DriveOSMonitor
500GB 7200.11, 2x1TB Samsung F1 Pioneer DVR-218BK Windows 7 Pro x64 OEM Samsung SM2232BW + Acer AL1714 
KeyboardPowerCaseMouse
MS Curve 2000 Corsair 850HX CM HAF 932 Logitech G5 
Mouse Pad
Artsnow custom pad 
  hide details  
Reply
post #3 of 19
You don't need Windows to check a disk for badblocks. Linux comes with a utility called "badblocks" as well as various filesystem tools like fsck.

First thing I would do, if you have a lot of time, is run fsck on the disk (warning this will take a whole day on a modern disk). In order to do this, the disk must be unmounted. So, the best way to do it is boot from the Ubuntu LiveCD and then open a terminal and type:
Code:
sudo fsck -pcfv /dev/sda
Where "sda" = the disk in question.

This command will force automatic bad block checking and it will automatically mark all known bad sectors as bad so that they wont "interfere" in the future. After you boot back into the OS, I would make sure that smartmontools is installed:

Code:
sudo apt-get install smartmontools
You will need to make sure that "SMART' capability is enabled in your BIOS. After you get it installed, then you can run an extended offline test (this will run in the background while the computer is on and you wont even know it is running). To do that:

Code:
sudo smartctl --test=long /dev/sda
And then to see the overall health of the system, you can type:

Code:
sudo smartctl -a /dev/sda
Also, please read the manpages for these programs if you want a more detailed explanation:

Code:
man fsck
man smartmontools
Skylake Build
(12 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-6600k Gigabyte Z-170 Gaming 7 Gigabyte R9 390  Gskill Ripjaws V DDR4 
Hard DriveCoolingOSMonitor
Samsung 850 Evo Corsair H115i Windows 10 Pro Asus  
KeyboardPowerCaseMouse
Generic EVGA NEX750 G1 Phanteks Eclipse P400 GSkill MX780 
  hide details  
Reply
Skylake Build
(12 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-6600k Gigabyte Z-170 Gaming 7 Gigabyte R9 390  Gskill Ripjaws V DDR4 
Hard DriveCoolingOSMonitor
Samsung 850 Evo Corsair H115i Windows 10 Pro Asus  
KeyboardPowerCaseMouse
Generic EVGA NEX750 G1 Phanteks Eclipse P400 GSkill MX780 
  hide details  
Reply
post #4 of 19
Quote:
Originally Posted by thiussat View Post
*snip*
I trust this man for all my Linux problems.

    
CPUMotherboardGraphicsRAM
Q8400 DFI LP DK P45-T2RS eVGA GTX 650 Kingston 
Hard DriveOptical DriveOSMonitor
2.8TB Total LG Super DVD Burner SATA VII Enterprise x64 Gateway FHD2401 
PowerCaseMouseMouse Pad
Corsair VX550W NZXT Source 210 White Logitech G400 Razer Kabuto 
Audio
Creative Audigy 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q8400 DFI LP DK P45-T2RS eVGA GTX 650 Kingston 
Hard DriveOptical DriveOSMonitor
2.8TB Total LG Super DVD Burner SATA VII Enterprise x64 Gateway FHD2401 
PowerCaseMouseMouse Pad
Corsair VX550W NZXT Source 210 White Logitech G400 Razer Kabuto 
Audio
Creative Audigy 
  hide details  
Reply
post #5 of 19
I don't know if you're still having problems with your drive, but if your data is really important, you should try SpinRite, available here: http://www.grc.com/sr/spinrite.htm
post #6 of 19
SpinRite is a good program, but the sad truth is, once a hard drive starts failing in this way, there's no going back. What SpinRite can (often) do is get the drive running long enough so that you can save your data from the failing hard drive. But once the drive starts reallocating sectors, it's game over. Rescue and RMA.

See also the link in my sig.
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #7 of 19
People are offering a list of solutions to this Ubuntu 9.10 problem without checking to see if Ubuntu itself has a problem. I believe this current distribution has a bug that needs fixing. I had the same problem on my laptop and was going to buy a new hard drive, but I removed 9.10 and reinstalled 9.04 and the problem was gone. The problem is with Ubuntu, not your hard drives.
post #8 of 19
Quote:
Originally Posted by adewaleas View Post
People are offering a list of solutions to this Ubuntu 9.10 problem without checking to see if Ubuntu itself has a problem. I believe this current distribution has a bug that needs fixing. I had the same problem on my laptop and was going to buy a new hard drive, but I removed 9.10 and reinstalled 9.04 and the problem was gone. The problem is with Ubuntu, not your hard drives.
I would agree. I have run spinrite and the drive checks clean withou any errors or problems. Ubuntu 9.10 seams to be the only thing that is having problems with this Maxtor 250 gig HD. Anyone have other thoughts?
post #9 of 19
Quote:
Originally Posted by Nanujoe View Post
I would agree. I have run spinrite and the drive checks clean withou any errors or problems. Ubuntu 9.10 seams to be the only thing that is having problems with this Maxtor 250 gig HD. Anyone have other thoughts?
Welcome to OCN! What problem are you having?

Also remember to fill in your system specs.
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #10 of 19
Dunno if this has actually been covered on this forum, just found it out myself anyway....but the failing had disk bad sectors error is actually a bug within Ubuntu 9.10 itself and it's perfectly safe to ignore.

This blog has more info than I do:

http://www.xodiac.net/?p=31

Good luck and I hope you're still using Ubuntu
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › ubuntu 9.10 - failing hard disk bad sectors error