Skip to contentSkip to conversation

blockfile access patterns logging

DISCUSSION Samium Gromoff 1 participant 1 message Jan 8, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines

Jens,

For some time I've wanted to log exactly what linux is reading and writing from my harddisk - for a variety of reasons. The current reason is that my very idle laptop writes to disk every once in a while (or reads, I don't know).

Have you mounted the fs with -o noatime?

Quoted 4 lines

Now, conceptually this should not be very hard, but I'd like to ask your thoughts on where I might insert some crude logging? There are lots of places that might be better or worse for some reason.

Quoted 10 lines

I'd love to be as close to the physical block device as possible, short of rewriting actual IDE drivers.

Any tips? Or is this idea crazy?

Thanks!

Signature · 2 lines
http://www.PowerDNS.com      Open source, database driven DNS Software                   
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO                

regards, Samium Gromoff