Public bug reported:

In order to keep my data storage disks from slowly committing suicide by
unloading their heads, I have to disable APM for both of them. Usually I
would be able to do so by putting 'hdparm -B255 -S0 /dev/sdx*' in
/etc/rc.local.

Since Ubuntu 12.10, Palimpsest has a built-in function to modify APM
settings if required. Sadly, after a reboot, these settings aren't kept.
Even though the Palimpsest interface still claims APM is set to 255,
running sudo hdparm -I /dev/sdx* will show the default value of 128
again. The desired behaviour is hdparm showing 'APM = off', and, more
importantly, the disks not breaking themselves.

The only way to keep my disks from dying is by adding

/dev/sdx* {
        apm = 255
        spindown_time = 0
}

to /etc/hdparm.conf, as everything in /etc/rc.local seems to be ignored
as well. The problem is no different for my SSD, but it doesn't make a
difference for that one, obviously. Disabling and re-enabling the APM
settings from Palimpsest does seem to work though, but it's impossible
to do/remember that after every bootup. And forgetting to do so would
most likely lead to premature disk failure.

* 'sdx' is 'sdb' and 'sdc' in my case


ProblemType: Bug
ApportVersion: 2.5.3-0ubuntu1
Architecture: amd64
Date: Sat Sep 29 15:28:24 2012
DistroRelease: Ubuntu 12.10
Package: gnome-disk-utility 3.6.0-0ubuntu1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 3.5.0-16.24-generic 3.5.4
SourcePackage: gnome-disk-utility
Tags:  quantal
Uname: Linux 3.5.0-16-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gnome-disk-utility (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apm disk gnome quantal utility

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-disk-utility in Ubuntu.
https://bugs.launchpad.net/bugs/1058623

Title:
  APM settings are not persistent after a reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-disk-utility/+bug/1058623/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to