I hope it gets sorted also. And I am happy I noticed this as this is
quite a sneaky bug / behaviour change. I have a 4 disk raid 5 array in a
server, and I only started looking into disk spindown because I was
suspicious of getting more SMART temperature warnings after upgrading to
10.04.

In any case I don't think I know enough about udev / hdparm to start
fixing anything.

But as a temporary workaround for disk spindown I added the following to
"/etc/rc.local".

# workaround for hdparm disk spindown in 10.04
(echo "\n$(date)" && for devname in $(cat /etc/hdparm.conf | grep -o 
"/dev/sd[a-z]"); do export DEVNAME="$devname" && (/lib/udev/hdparm || true); 
done) >> /var/log/hdparm_fix.log

This looks into "/etc/hdparm.conf", gets all "sd*" device names and then
runs "/lib/udev/hdparm" script in the same way the
"/lib/udev/rules.d/85-hdparm.rules" rule does. This helps to set the
settings I have in "/etc/hdparm.conf" during boot. For new devices
plugged into the system after boot, the standard rule should work just
fine. In case if anybody uses it, check the "/var/log/hdparm_fix.log"
after boot to make sure it set the settings you have in your config.

When this problem will be resolved, I will just remove the line.

-- 
[Lucid] hdparm.conf change doesn't have effect
https://bugs.launchpad.net/bugs/568120
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to