External HDD spins up every 30 minutes
Posted: Thu Aug 20, 2015 4:51 pm
Recently I've noticed my external HDD spins up every 30 minutes, after which it'll spin down again in 10 minutes (the default time). It's a WD Studio II external HDD, formatted as NTFS and with a GPT system. Naturally I've been searching for what causes this. I've turned off several daemons, shut down Kodi, but the cycle continued. When checking for Disk read and write actions with iotop, I also couldn't identify the programs responsible.
What I've tried:
Turning off Kodi, vsftpd, samba, rsyslog, rsync, ntp, cron, as described here: http://info4admins.com/tips-to-spindown ... or-ubuntu/
Here's an iotop log of an hour (it occurs at 00 and 30 or close to that): http://pastebin.com/5xqtTHdM
A list of all services on my system (with service --status-all):
The disk itself is mounted with: using a script at start up (fstab was giving problems).
The raspbian version I run is from February. I've upgraded the kernel manually to 3.19.2-v7+ so it works with my tv stick.
What I've tried:
Turning off Kodi, vsftpd, samba, rsyslog, rsync, ntp, cron, as described here: http://info4admins.com/tips-to-spindown ... or-ubuntu/
Here's an iotop log of an hour (it occurs at 00 and 30 or close to that): http://pastebin.com/5xqtTHdM
A list of all services on my system (with service --status-all):
Code: Select all
[ ? ] alsa-utils
[ - ] bootlogs
[ ? ] bootmisc.sh
[ ? ] cgroup-bin
[ ? ] checkfs.sh
[ ? ] checkroot-bootclean.sh
[ - ] checkroot.sh
[ - ] console-setup
[ + ] cron
[ + ] dbus
[ ? ] dphys-swapfile
[ ? ] fake-hwclock
[ ? ] hdparm
[ - ] hostname.sh
[ ? ] hwclock.sh
[ + ] ifplugd
[ - ] kbd
[ - ] keyboard-setup
[ ? ] killprocs
[ ? ] kmod
[ - ] kodi
[ - ] lightdm
[ - ] motd
[ ? ] mount
[ ? ] mount.save
[ ? ] mountall-bootclean.sh
[ ? ] mountall.sh
[ ? ] mountdevsubfs.sh
[ ? ] mountkernfs.sh
[ ? ] mountnfs-bootclean.sh
[ ? ] mountnfs.sh
[ ? ] mtab.sh
[ ? ] networking
[ - ] nfs-common
[ + ] ntp
[ ? ] plymouth
[ ? ] plymouth-log
[ - ] procps
[ ? ] raspi-config
[ ? ] rc.local
[ - ] rmnologin
[ - ] rpcbind
[ - ] rsync
[ + ] rsyslog
[ + ] samba
[ ? ] screen-cleanup
[ ? ] sendsigs
[ + ] ssh
[ - ] sudo
[ + ] triggerhappy
[ ? ] tvheadend
[ + ] udev
[ ? ] udev-mtab
[ ? ] umountfs
[ ? ] umountnfs.sh
[ ? ] umountroot
[ - ] unattended-upgrades
[ - ] urandom
[ + ] vsftpd
[ - ] x11-commonCode: Select all
sudo mount -t ntfs-3g -o defaults,noatime,uid=hts,umask=0113,dmask=0022 /dev/sda1 /home/pi/media/HDD1The raspbian version I run is from February. I've upgraded the kernel manually to 3.19.2-v7+ so it works with my tv stick.