Raid10 disc-activity every five seconds
Hello,
just wanted to silency my pc by reducing disk-activity. what bothers me
is: my disk "click" about every five seconds. already raised "dirty_writeback_centisecs" with some luck, but not good enough.
my setup (ubuntu karmic x86_64):
md2: raid10 out of 3 disks
md1: raid1 out of 3 disks (same disks as above, other parititions)
2.6.31-ubuntu48-bfs #1 SMP PREEMPT Sun Nov 15 19:56:03 CET 2009 x86_64 GNU/Linux (with brain-fuck-scheduler 310 compiled myself)
mdadm 2.6.7.1
running "lm-profiler" gives constant disk access:
Write accesses at 5/600 in lm-profiler run: md2_raid10 Write accesses at 10/600 in lm-profiler run: md2_raid10 Write accesses at 14/600 in lm-profiler run: md2_raid10 Write accesses at 19/600 in lm-profiler run: md2_raid10 Write accesses at 23/600 in lm-profiler run: md2_raid10 Write accesses at 28/600 in lm-profiler run: md2_raid10 Write accesses at 30/600 in lm-profiler run: md2_raid10 Write accesses at 32/600 in lm-profiler run: md2_raid10 Write accesses at 33/600 in lm-profiler run: md2_raid10 Write accesses at 37/600 in lm-profiler run: md2_raid10 Write accesses at 41/600 in lm-profiler run: md2_raid10 Write accesses at 42/600 in lm-profiler run: md2_raid10 [...]
seems to be a "kernel-thread":
ps ax | grep md2
331 ? D 0:00 [md2_raid10]
when my pc is idle, it happens about every five seconds. what is it doing there, something raid10 specific (since my raid1 seems to be quiet)? is it expected behavior - can it be tuned in some way to make it happen less frequently?
already had a look into "/sys/block/md2/md", but did not find the right "switch" that might be my problem.
before investigating further (e.g. trying other kernels) i'll wait for your reply, since maybe you know what's going on there.
regards
Markus
p.s. please reply to me directly, too, since i'm not subscribed to the list
Quoted 2 lines · Markus Doits
just wanted to silency my pc by reducing disk-activity. what bothers me
is: my disk "click" about every five seconds.
[...]
Try mounting the filesystem that's on md2 with the noatime option.
Cheers,
John.
Quoted 11 lines · John Robinson
Quoted 2 lines · Markus Doits
just wanted to silency my pc by reducing disk-activity. what bothers me
is: my disk "click" about every five seconds.[...]
Try mounting the filesystem that's on md2 with the noatime option.
Cheers,
John.
thanks for your reply, but they are already:
/dev/mapper/eltarun-root on / type ext4 (rw,noatime,errors=remount-ro) /dev/mapper/eltarun-debian32 on /mnt/debian32 type ext4 (rw,noatime) /dev/mapper/eltarun-recordings on /mnt/recordings type ext4 (rw,noatime) /dev/mapper/eltarun-home on /home type ext4 (rw,noatime)
this gave me another idea: besides the raid-volumes differ in their type (raid1/raid10), the raid10-volume is actually a lvm2-volume.
but since the process "[md2_raid10]" is triggering the activity, for me it still looks like the raid is the cause. any other ideas? any way to check why it is writing to the device?