https://bugzilla.kernel.org/show_bug.cgi?id=205107 --- Comment #11 from Kaur Männamaa (kaurman@xxxxxxxxxxx) --- (In reply to Hélder from comment #9) > If I umount but do not unplug the HDD, the problem does not occur. > I contacted Mark Lord, the main dev behind hdparm, and he had some thoughts. Among other things, he asked us to clarify whether just unmounting (instead of unmounting and powering off, e.g. by using 'udisksctl power-off ...') the drive before shutdown really solves the problem. I'm asking as 'unplugging' can be misinterpreted and that could lead to misunderstandings. In short, does the problem occur if you unmount the drive, and then just shut down your computer? And don't forget to disable your script while testing :) In my case shutting down with an unmounted drive did not solve the problem. If it does indeed work in your case then we may have different scenarios here. Mark had other ideas as well but I'd like to clear the unmounting part up first to plan the next steps better. Kaur -- You are receiving this mail because: You are watching the assignee of the bug.