Unclean SATA drive shutdown

Bug #68614 reported by julioromano
12
Affects Status Importance Assigned to Milestone
upstart
Invalid
Undecided
Unassigned

Bug Description

see this: https://launchpad.net/distros/ubuntu/+bug/68565

I think upstart doens't put SATA HDDs in standby mode before cutting the power.

issuing the command "man poweroff" shows:
-h, --hard-disk-standby
              Iterates /proc/ide to find all IDE disk drives and requests that
              they enter a standby mode before shutting down.

This leds me to believe it puts to standby mode only drives listed in /proc/ide (SATA drives are not listed there).

Bye,
Marco

Revision history for this message
julioromano (romanomarco) wrote :

I' m not very good at programmin, however I found a link I think someone can leak some ideas for a piece of code which shuts down IDE/SATA/SCSI disks.

http://lists.alioth.debian.org/pipermail/pkg-sysvinit-commits/2006-August/000704.html

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

sysvinit didn't either, and this code is pointless, the kernel shuts the drives down anyway

Changed in upstart:
status: Unconfirmed → Rejected
Revision history for this message
julioromano (romanomarco) wrote :

Please see the duplicate bug I created, using WindowsXP the HDD spins down correctly.
I don't know if it is upstart's fault or kernel's fault but this behaviour is very bad (a hard drive can support many clean start/stop cycles, but only few unclean ones).
Perhaps many users are affected by this probem but simply they don't notice it.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

kernel.

Revision history for this message
Mike (mike0999) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.