sg_start --readonly has no effect

Bug #992128 reported by Ralf Zozmann
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sg3-utils (Ubuntu)
Fix Released
Low
Unassigned
Precise
Won't Fix
Undecided
Unassigned

Bug Description

Some days ago i updated my old Debian 5 system to new 'Ubuntu Server 12.04 LTS' (as a complete/fresh installation).
In my old installation i used the command 'sg_start --stop /dev/sdd' to spin down a external harddisk after backup (it's a SATA disk connected via USB).
In 12.04 the command does not work; the drive is spinning up immediately after a short click indicating a spin down. This problem seems to be related to

https://bugzilla.redhat.com/show_bug.cgi?id=561876

and

https://bugs.launchpad.net/ubuntu/+source/hdparm/+bug/388506

The common solution is to access the drive in a read only mode to prevent change events triggered by udev. But modifiying my command to: 'sg_start --readonly --stop /dev/sdd' has no effect, the drive keeps in spin up state.

Revision history for this message
Ralf Zozmann (ralf-zozmann) wrote :

One more note: Using sdparm instead of sg_start shows the same behaviour (with read only flag).

James Page (james-page)
Changed in sg3-utils (Ubuntu):
importance: Undecided → Low
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Thank you for taking the time to report this bug. In an effort to keep an
up-to-date and valid list of bugs to work on, I have reviewed this report
to verify it still requires effort and occurs on an Ubuntu release in
standard support, and it does not.

It is unfortunate that we were unable to resolve this defect, however
there appears to be no further action possible at this time. I am
therefore moving the bug to 'Incomplete'. If you disagree or have
new information, we would be grateful if you could please add a comment
stating why and then change the status of the bug to 'New'.

Changed in sg3-utils (Ubuntu):
status: New → Won't Fix
Changed in sg3-utils (Ubuntu Precise):
status: New → Won't Fix
Changed in sg3-utils (Ubuntu):
status: Won't Fix → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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