I has this problem as well. I was able to resolve the problem (or at
lease significantly reduce the issue of jbd2 writes as reported in
iotop) by mounting my /tmp, /var/tmp, and my /var/log into a tmpfs in
fstab. I believe /var/log is the culprit. After mounting var/log
(although it is possible it is /tmp or /var/tmp - I didn't test each
individually) to tmpfs at boot (via fstab), the problem goes away. I
assume the "writes" are still occurring, but are being written to RAM
rather than to disk.

If the above is true, the problem is likely related to logging. I would
be interested to hear someone else trying the above "solution" to see if
the problem is resolved.

example lines from my fstab:

tmp  /tmp  tmpfs  rw,nosuid,nodev,noexec,noatime,mode=1777,size=1024k  0  0
vartmp  /var/tmp  tmpfs  rw,nosuid,nodev,noexec,noatime,mode=1777,size=1024k  0 
 0
varlog  /var/log  tmpfs  rw,nosuid,nodev,noexec,noatime,mode=0755,size=8192k  0 
 0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/607560

Title:
  jbd2 writing block every 5 - 10 seconds, preventing disk spin-down and
  making noise

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/607560/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to