eccentric blog

[ Home | RSS 2.0 | ATOM 1.0 ]

Tue, 10 Sep 2019

fixing SMART Current_Pending_Sector count

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.

posted at: 09:22 | path: /computers | permanent link to this entry

Mon, 07 Dec 2015

Bios freeze up trying to boot from USB stick

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.

posted at: 23:03 | path: /computers | permanent link to this entry

Tue, 10 Jan 2012

SSD drive speed

Thought I'd just post a quick review of drive speed after recently upgrading to a new SSD drive. Here are the configurations and speeds:

Two WD 1TB Green drives mirrored (RAID1):
Timing buffered disk reads: 256 MB in 3.05 seconds = 84.06 MB/sec

Two WD 36GB 10k RPM Raptor drives stripped (RAID0):
Timing buffered disk reads: 376 MB in 3.01 seconds = 125.04 MB/sec

OCZ Agility 3 90GB, single drive:
Timing buffered disk reads: 656 MB in 3.00 seconds = 218.45 MB/sec

That is pretty quick. And I think the SSD is limited on this machine as it only has a SATA2 interface which is 3GB/s, as opposed to the SATA3 at 6GB/s.

posted at: 19:36 | path: /computers | permanent link to this entry

Made with Pyblosxom