[Bug 595138] Re: Settings in /etc/hdparm.conf are not applied during boot

Christoph Bier christoph.bier at web.de
Mon Jun 25 13:58:31 UTC 2012


Thanks Bob for pointing me to this bug! On 2011-10-16 I filed a
duplicate of this bug: https://bugs.launchpad.net/bugs/875719. Apologise
for that. Here's a summary of my observation:

hdparm -S worked with 10.10. But with 11.04 my external hard disk
(Seagate) connected via eSATA ExpressCard on a ThinkPad X200s doesn't
spin down anymore on inactivity timeout set to 12 (1 minute). I'm still
able to spin down the disk with the -Y option---but a few seconds later
it spins up again. hdparm with -S set to 1 works, too. But the disks
spins up again after 15 seconds. I guess some process accessing the disk
prevents the disk to spin down which only occurs with -S set up high
enough. How can I detect which process prevents the disk from spinning
down? This hard disk is my backup disk and only in use every 4 hours by
a cron job.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to hdparm in Ubuntu.
https://bugs.launchpad.net/bugs/595138

Title:
  Settings in /etc/hdparm.conf are not applied during boot

Status in “hdparm” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: hdparm

  After upgrade to Lucid the hard drives never spindown. The hdparm
  spindown settings (and most likely others) in /etc/hdparm.conf are not
  being applied during boot.

  This seems to have happened after removing the init.d script.

  
  lsb_release -rd
  Description:    Ubuntu 10.04 LTS
  Release:        10.04

  
  apt-cache policy hdparm
  hdparm:
    Installed: 9.15-1ubuntu9
    Candidate: 9.15-1ubuntu9
    Version table:
   *** 9.15-1ubuntu9 0
          500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
          100 /var/lib/dpkg/status

  
  cat /etc/hdparm.conf
  /dev/sda {
      spindown_time = 240
  }
  /dev/sdb {
      spindown_time = 240
  }
  /dev/sdc {
      spindown_time = 240
  }
  /dev/sdd {
      spindown_time = 240
  }
  /dev/sde {
      spindown_time = 240
  }
  /dev/sdf {
      spindown_time = 240
  }
  /dev/sdg {
      spindown_time = 240
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hdparm/+bug/595138/+subscriptions




More information about the foundations-bugs mailing list