Top «Prev(2007-10-27) Latest Next(2007-11-11)» Edit

pterjan's diary


2007-10-29

  Hard Drive

After reading this last week, I had a look at the hardrive of my IBM T40 (the hardrive is only less than one year old, the previous one had died).

smartctl -A /dev/hda | sed -n 's/.*Load_Cycle_Count.* //p' told me it had experienced 540 205 load cycles within the 7037 hours it had been up. With the article talking about 600 000 lod cycles I got quite worried, and indeed I often ear clicks when I don't use the disk.

So, I changed /etc/sysconfig/harddisks to set EXTRA_PARAMS to -B 255 but that did not help : it is only run at startup and it looks like it gets changed again afterwards. I then put a cron job to set it every 10 minutes, and still got about 6000 Load Cycles in less than one day. So I changed the cron to run every minute, and I only got 11 new Load Cycle since (in 4 days !). I think they still occur at boot time, before linux has even started booting, as I could ear some while looking at options in the BIOS.

So, my solution is * * * * * hdparm -B 255 /dev/hda >/dev/null 2>&1

This is really ugly so I have to find a way to avoid the BIOS setting back this bad value.

Today's TSUKKOMI(Total: 2) [Add a TSUKKOMI]
  Austin (2007-10-30 20:46)

Is this on Mandriva or Ubuntu?

  Pascal (2007-10-30 22:30)

Mandriva, but I think the issue is with the BIOS and not the OS


2004|06|07|08|09|11|
2005|01|02|05|06|07|08|09|10|11|12|
2006|01|02|03|06|08|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|12|
2011|02|04|06|
2012|01|05|11|
2013|01|02|04|06|
2014|02|
2015|06|
2017|05|07|12|