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


2019-Sep
2019-Jul
2019-Jun
2019-May
2018-Dec
2018-Jan
2017-Aug
2017-Jun
2017-May
2016-Nov
2015-Dec
2015-Nov
2015-Oct
2015-Jul
2015-Jun
2014-Dec
2012-Oct
2012-Sep
2012-Jun
2012-Feb
2012-Jan
2011-Dec
2011-Sep
2011-Aug
2011-May
2011-Feb
2010-Jun
2010-Apr
2010-Jan
2009-Sep
2009-Jul
2009-May
2009-Jan
2008-Oct
2008-Sep
2008-Jun
2008-May
2008-Jan
2007-Nov
2007-Oct
2007-Aug
2007-Jun
2007-May
2007-Mar
2007-Feb
2007-Jan
2006-Nov
2006-Oct
2006-Sep
2006-Aug
2006-Jun
2006-Apr
2006-Jan
2005-Dec
2005-Nov
2005-Oct
2005-Sep
2005-Aug
2005-Jul
2005-Jun
2005-May
2005-Apr
2005-Mar
2005-Feb
2005-Jan
2004-Dec
2004-Nov
2004-Oct
2004-Sep
2004-Aug
2004-Jul
2004-Jun
2004-May

Powered by PyBlosxom | RSS 2.0