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

Graeme Hewson ghewson at wormhole.me.uk
Fri Apr 20 14:58:07 UTC 2012


Apologies, the problem is not present in Precise, and hdparm is working
fine. (smartd was spinning up my disk.)

I suggest this bug be closed.

This isn't exactly the right place to say it, but hdparm should be
extended to provide more ways of specifying devices in hdparm.conf other
than the /dev path, so disk label, disk serial number, physical path,
etc., could be used. Obviously putting the hdparm script in /lib/udev is
a step towards this.

For instance, I have two internal disks and a hot-swap caddy. Normally
the internal disks are /dev/sda and /dev/sdb, but if there's a disk in
the caddy when I boot, this becomes /dev/sdb and one of the internal
disks becomes /dev/sdc.

-- 
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