Hi there,
since the Testing Update 2021-10-05, i notice one of my HDDs is spinning up now and then.
According to dmesg it seems to be pretty much exactly every 600s.
dmesg:
[ 6021.367611] ata9: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 6021.369207] ata9.00: configured for UDMA/133
[ 6021.369285] sd 8:0:0:0: [sda] Starting disk
[ 6047.567109] sd 8:0:0:0: [sda] Synchronizing SCSI cache
[ 6047.567373] sd 8:0:0:0: [sda] Stopping disk
Only happens for sda it seems, sdb is the exact same hdd model on the same controller.
I tried to catch if any process is trying to access the data there, but no luck so far with lsof and iotop.
I wasn’t able to find anything useful in that regard unfortunately, so i hope someone here has some idea on how to troubleshoot?
Firmware is the same on both according to smartctl (they have been bought together, so i’d have assumed as much, but you are right that checking is always better ^^)
Kernel doesn’t seem to matter, at least not between 5.14 and 5.15rc3-rc5. I might have switched to 5.15rc3 after the 10-05 update, but i’m not 100% sure. Only thing slightly different on 5.14 is that it’s not exactly 600s but more like 580s.
Any idea on how to find out which task might be polling or doing anything else?
It isn’t balloo, that’s limited to home. I’ve excluded the affected drive anyway, lets see if that helps regardless.
It’s not always on, no - and both disks are very rarely used (one is for backup, so basically only on update and every three days, the other one is for bulk storage, so only accessed occasionally) - besides that, the noise would be annoying ^^
With disabled (and verified by balooctl status) baloo, it is still happening
So all drives, including the two Red Pluses, spindown and power down every time you suspend or turn off your PC. This would fall under “not being accessed or used”.
It might work better to use some sort of auto-mount / systemd unit to dynamically mount and unmount the file-systems on the drives. This way, if it resolves the problem, you’re good to go. However, if it does not, it will clue you into the possibility that something is trying to accessing the hardware itself and not necessarily data on the mount points.
UPDATE: Why not manually unmount both drives for the next hour or so? You won’t have access to the “data”, but you will gauge if the drive(s) spins up, even while nothing is mounted.
This might help steer you towards finding a solution if it resolves the rhythmic 10-minute wakeups.
I don’t know if the drives really spin up on every boot, at least i don’t remember hearing it spinning up.
Your suggestion with unmounting is indeed a good one - it can’t be unmounted because it’s in use. Now the question remains how i can find out what is the cause for that.
My money is on KDE’s Dolphin holding on to something. Ugh, I’m telling you, Dolphin has been getting buggier with each new update. Every time there’s a new bug with Dolphin/KIO, they fix it… and then another new bug takes its place.