Notice
I could not find the solution but after installing Ubuntu 16.04.2 LTS the problem no longer exists!
The Problem
I have a 1TB Transcend external hdd (inner chip is WDC_WD10JPVX-22JC3T0_WD-WX11A15R3AC8) and when I try to safely remove it either from file manager or even from command line with udisksctl unmount -b /dev/sdb1 and then udisksctl power-off -b /dev/sdb1, it immediately pops up again and won't power off.
I'm using Ubuntu 16.04.1 LTS.
- It happens either USB2 or USB3.
- It can safely be removed in either Mac or Windows!
- I tried 16.04 live and could not safely remove! but my HD can be safely removed in a live 16.04 booted in another PC, and also can be safely removed in my laptop in Windows!
These are some output after running udisksctl unmount -b /dev/sdb1 and then udisksctl power-off -b /dev/sdb:
:)– Masked Man Nov 02 '16 at 07:43:)– Masked Man Nov 02 '16 at 19:42:)– Masked Man Nov 02 '16 at 20:04dpkg -l *smart*, in other hand runudevadm monitor -uandudisksctl monitorin separate terminals then use your commandsudisksctl unmount -b /dev/sdb1and thenudisksctl power-off -b /dev/sdb1, post their output too. BTW, is there only one partition in this drive? – user.dz Nov 26 '16 at 18:03gvfs-mount --eject "file:///media/$USER/DISK_LABEL"just unmounts HD but it still spins and it's light is on! – Masked Man Nov 26 '16 at 20:52ls -l /dev/sdb*, if no device node is left then it's ok. – user.dz Nov 26 '16 at 20:55