You are not logged in.

#1 2012-03-18 09:33:34

dabbi2000
Member
From: Reykjavik, Iceland
Registered: 2011-09-28
Posts: 119
Website

What is keeping my hard drive spinning?

hdparm sees to that HD spins down in 20secs of inactivity but some proccess is waking it up every 40secs or so (nothing open but terminal), how can I find out what this is?

iotop -oP only shows me the processes writing (mostly jbd2 (journaling)) but if I can find out what files exactly I could map these to ramdrive maybe...

Offline

#2 2012-03-18 11:04:22

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: What is keeping my hard drive spinning?

dabbi2000 wrote:

every 40secs or so

First thing I would suspect is the logger - stop your syslog program, to check.

Offline

#3 2012-03-18 11:30:20

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: What is keeping my hard drive spinning?

Worth checking as well: https://bbs.archlinux.org/viewtopic.php?id=113516

BTW, syslog-ng is of the least hdd intensive loggers IMHO (and as my favourite has replaced other implementations in non-Arch distros).


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#4 2012-03-18 13:06:10

dabbi2000
Member
From: Reykjavik, Iceland
Registered: 2011-09-28
Posts: 119
Website

Re: What is keeping my hard drive spinning?

good try with the logger but it's symlinked to ramfs so there's something else

I've read that thread you linked to but they didn't seem to find any one good solution for it all, kinda open thread still...

Last edited by dabbi2000 (2012-03-18 13:06:59)

Offline

#5 2012-04-13 19:35:51

ludwis
Member
Registered: 2011-01-17
Posts: 29

Re: What is keeping my hard drive spinning?

Have you tried this:

sysctl vm.block_dump=1

It writes filesystem events into the syslog, so you can see them using dmesg.

Offline

Board footer

Powered by FluxBB