Unmounted USB drives wake up on 16.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Invalid
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 16.04, if i plug in a USB drive, then unmount it (eject button) in nautilus, then force it to sleep (hdparm -y), the drive reports to be in standby:
hdparm -C /dev/sdd
/dev/sdd:
drive state is: standby
However, after some time during which i have not tried to access the drive, the drive seems to spin up again, and reports to be active again:
hdparm -C /dev/sdd
/dev/sdd:
drive state is: active/idle
I have been researching on google, askubuntu, irc, but apparently nobody has been able to tell what is that wakes up the drive. Everybody say that if the drive is unmounted, it should stay sleeping.
Note: I also tried to add the drive partitions in fstab, so to force gvfs to ignore the drive.
Even this failed to keep the drive sleeping.
I have not been able to test this on 14.04 yet, but 14.04 successfully keeps internal SATA drives asleep even when mounted unless i explicitly access them.
One additional question i would have, at this point, is also whether there is some tool to check what process tries to access the device.
Or some sort of tcpdump for SATA..
*UPDATE*
I managed to test this on 14.04, and as expected, the disk spins down almost immediately, and stays spun down, and after approximately half hour (maybe less) it goes in standby (disk led blinking regularly: http://
and stays like that.
Also, unlike 16.04, dmesg stays clean without repeating messages about meaningless driver sense errors
description: | updated |
tags: | added: xenial |
affects: | ubuntu → nautilus (Ubuntu) |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1733068/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]