On Thu, 13 Aug 2015 13:11:54 -0700, Michael Loftis wrote: >Maybe try a little harder to ID the process causing the wakeup? Have >you tried looking for blocked processes at the moment you hear the >drive start to spin up? Look for processes in D state at the time the >drive is spinning up.
Thank you, perhaps I should try with a loop next time: [weremouse@moonstudio ~]$ ps aux|grep D|grep -v grep USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND [weremouse@moonstudio ~]$ A script running lm-profiler didn't find anything /dev/sdc related, while the Start_Stop and Load_Cycle counts increased. The script is posted here: https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2015-August/015686.html sdc is the external green drive sdb11 is the Ubuntu install including all directories, no separated partitions, excepted of data partitions This is the relevant part of the script's log file: [weremouse@moonstudio ~]$ grep 2015 -A4 -B21 /var/log/lm-profiler08Aug2015_195923.log Thu, 08 Aug 2015 19:59:23 +0200 smartctl -A /dev/sdc|grep Cou|grep -v R 4 Start_Stop_Count 0x0032 098 098 000 Old_age Always - 2872 12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 1125 193 Load_Cycle_Count 0x0032 195 195 000 Old_age Always - 15187 -- Write frequency : 4 systemd-journal 10 kworker/u8:2 45 kworker/u8:1 60 kworker/u8:0 128 jbd2/sdb11-8 Read frequency : Profiling run completed. Program: "anacron" Reason: standard recommendation (program may not be running) Init script: none If you want to disable this program, you should do so manually. Program: "cron" Reason: standard recommendation (program may not be running) Init script: /etc/init.d/cron (GUESSED) Do you want to disable this service in battery mode? [y/N]: Thu, 08 Aug 2015 22:38:05 +0200 smartctl -A /dev/sdc|grep Cou|grep -v R 4 Start_Stop_Count 0x0032 098 098 000 Old_age Always - 2875 12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 1125 193 Load_Cycle_Count 0x0032 195 195 000 Old_age Always - 15193 Regards, Ralf -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss