[Pkg-sysvinit-devel] Bug#644572: Bug#644572: sysvinit: Spins disk up briefly from standby during poweroff

Henrique de Moraes Holschuh hmh at debian.org
Fri Oct 7 00:57:05 UTC 2011


On Fri, 07 Oct 2011, Touko Korpela wrote:
> I suspect that "-h" option that "halt" gets during poweroff is buggy and
> shouldn't spin disks up that are already at sleep.

Nowadays we're supposed to trust the kernel to do it right, and your disk
should spin up only if it has crap firmware (unlikely).  Unless you're using
the deprecated "old ide" drivers (/dev/hd*), in which case all bets are off.

Please edit /etc/init.d/halt and make it not add "-h" to the halt invocation
(but make sure to add "sync ; sleep 5" before the halt command just in
case).  Does that fix the issue?

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh





More information about the Pkg-sysvinit-devel mailing list