udev 60-persistent-storage.rules vol_id cancels hdd spin-down
Bug #388506 reported by
phoenix
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hdparm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
udev (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Binary package hint: udev
My secondary hdd (not mounted) did not go into standby and spun up again right after a "hdparm -y /dev/sdb" command.
the cause is /lib/udev/vol_id beeing executed on a change action caused by this rule in /lib/udev/
# probe filesystem metadata of disks
KERNEL!="sr*", IMPORT{
which causes an access to the hdd _after_ a spin-down event -> hdd spins up again
(My hdd model: SAMSUNG HD103UJ (Spinpoint F1, 1TB))
quick fix for me:
KERNEL!="sr*", ACTION=="add", IMPORT{
To post a comment you must log in.
This is not a duplicate, but is a known bug caused by hdparm opening the block device for writing; it is not clear that it needs to do so.