External hard drive randomly spinning up while not being used


I’m setting up an OSMC media center in my bedroom. Two external hard drives are connected to the Raspberry Pi 2.
Because it’s located in my bedroom, I don’t want to be disturbed by any sound while I sleep.

Even though I am not using Kodi, nor something that could induce hard drive activity like running a torrent client, my hard drives randomly wake up from sleep and spin up.

Is there a way for me to determine what causes the drives to spin up in order to fix it ?

Thank you,

It could be thumbnails it’s scrolling through and loading from the hard drive

Could be ghosts.

sudo apt-get update && sudo apt-get install iotop

will give you iotop which is a great way of monitoring disk activity


just to be sure it’s the HDD and not a temperature triggered fan?

Did you manage to fix the problem?