BestTechie Forums: Ubuntu Laptop Harddrive - BestTechie Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Ubuntu Laptop Harddrive


#1 User is offline   Matt 

  • root
  • Group: Contributor
  • Posts: 3512
  • Joined: 23-August 04
  • Location:Ohio
  • Operating System:Ubuntu 9.04 (64 bit), Vista Home Premium (32 bit)

Posted 08 April 2008 - 12:01 AM

I just installed Ubuntu 7.10 on an Inspiron 600m. How can I find out if this laptop suffers from the "bug" that exerts excessive amounts of strain on the hard drive, and how can I correct this issue?

#2 User is offline   iccaros 

  • UberTechie
  • Group: Linux Experts
  • Posts: 1292
  • Joined: 31-August 04
  • Location:Great State of Washingtion
  • Operating System:Gentoo,Iccaros-Linux(of course),Slackware,GentooX,Red Hat, Windows (3.1 to VISTA BETA), MAC OSX (10.4 currently),LFS, Solaris 8,9,10, Trusted Solaris, FreeBSD, OPENBSD, NETBSD

Posted 08 April 2008 - 12:43 AM

I believe that issue has been fixed. I have been running 7.10 for a while now and with no changes, I have not seen the issue. it was with Hitachi drives, and I did not understand it much, Hitachi stated that the drives would be damaged, but powersave was using the setting in the FW of the Hitachi drive.. so it was there drives that had the issue...

http://ubuntuforums.org/showpost.php?p=381...p;postcount=489

This post has been edited by iccaros: 08 April 2008 - 12:44 AM


#3 User is offline   Matt 

  • root
  • Group: Contributor
  • Posts: 3512
  • Joined: 23-August 04
  • Location:Ohio
  • Operating System:Ubuntu 9.04 (64 bit), Vista Home Premium (32 bit)

Posted 09 April 2008 - 10:14 PM

I installed smartctl to monitor my hard drive load cycle count. It was over 100 a day, so it looks like I was experiencing this issue. I did the following:

Quote

make a file named "99-hdd-spin-fix.sh" with the following lines:

#!/bin/sh
hdparm -B 255 /dev/sda

copy this file to 3 locations:
/etc/acpi/suspend.d/
/etc/acpi/resume.d/
/etc/acpi/start.d/

https://bugs.launchpad.net/ubuntu/+source/a...695/comments/14

According to the bug report, it should be fixed. I will report back tomorrow with an update.

#4 User is offline   hitest 

  • Slacker
  • Group: Admin
  • Posts: 6860
  • Joined: 28-August 04
  • Location:B.C., Canada
  • Operating System:Slackware 13.37, Slackware-current, XP Pro SP3

Post icon  Posted 09 April 2008 - 10:33 PM

View PostMatt, on Apr 9 2008, 08:14 PM, said:

I will report back tomorrow with an update.


Sounds good, Matt:-) I'll be curious to hear how it goes. :)

#5 User is offline   Matt 

  • root
  • Group: Contributor
  • Posts: 3512
  • Joined: 23-August 04
  • Location:Ohio
  • Operating System:Ubuntu 9.04 (64 bit), Vista Home Premium (32 bit)

Posted 10 April 2008 - 11:07 PM

Here our my load cycles before the fix was applied:

Day 1: 39834
Day 2: 39935

As you can see, in one day my hard drive spin up reached over 100 in a day.

Then, I applied the fix.

Day 3: 39958

After the fix was applied, my load cycles dropped to 23 that day.

Looks like this did its job.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users