[ Home | RSS 2.0 | ATOM 1.0 ]
I have a western digital 2.0TB Black hard drive that was returning a SMART error of "9 Currently unreadable (pending) sectors". This probably means the drive is on it's way out, but it was passing long smart tests ok, and it's in a raid so I've decided to try and fix it. I've read that writing to the drive can force the hard drive to reallocate those sectors, so I gave it a try with the dd command:
dd if=/dev/zero of=/dev/sdc
Before and after smart data:
# before 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 9 # after 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0
And then I've partitioned the drive and have been using it without issues now for a few weeks. Time will tell if this ends up working I suppose.
I ran into this problem and problem recently where I was trying to install linux from a USB stick on an slightly older machine (Intel Core2Duo era), and I had created a bootable Debian Jessie install image by simplying copying the netinstall image to the USB stick using cp file.iso /dev/sdb . This usually works just fine, but every time I put that usb stick in the system to boot from, it would just freeze the bios. If I started the system with the stick in place it would just start up then basically freeze up detecting drives. As soon as I unpluged the stick it would continue to boot. If I was in the bios, and inserted the stick it would freeze up, remove the stick and it would become responsive again. After pulling out some hair, and changing all the bios settings I could find relating to usb, I realized the stick I had was new, and was usb 3 (denoted by the blue colour plug). So I found an old cheap usb stick and wrote the image to that and tried it, and sure enough it just booted up without any problem and I was able to select it as a boot device and install.
So if your on and older system and can't boot from your usb install medium, try using an older usb stick (pre usb3) and that might solve the problem.