I have the same problem.

"
root@boson:~# uname -a
Linux boson 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:44:39 UTC 2012 x86_64 
x86_64 x86_64 GNU/Linux
"

"
root@boson:~# hdparm -i /dev/sda

/dev/sda:

 Model=TOSHIBA MK5059GSXP, FwRev=GN001U, SerialNo=31TPC530T
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=976773168
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 
 AdvancedPM=yes: unknown setting WriteCache=enabled
 Drive conforms to: Unspecified:  ATA/ATAPI-3,4,5,6,7

 * signifies the current active mode
"

I think the problem is explained in here:
https://www.linuxquestions.org/questions/debian-26/why-root-is-remounted-with-commit%3D0-%3D600-specified-in-fstab-at-the-end-of-start-up-923132/

For example:

"
root@boson:~# mount
...
/dev/mapper/tanty-home on /home/tanty type ext4 
(rw,commit=0,commit=0,commit=0,commit=600,commit=600,commit=0,commit=0,commit=0,commit=0,commit=0,commit=0,commit=600,commit=600,commit=0,commit=0,commit=0)
...
"

As you see, my hard disks have been remounted with the commit parameter
once and again. In Ubuntu, this is done by:

"
root@boson:~# dpkg -L pm-utils
...
/usr/lib/pm-utils/power.d/journal-commit
...
"

Basically, it remounts the HD with "commit=0" when in AC power and with
commit=600 in BAT power.

I've applied this patch:

"
root@boson:~# cat /usr/lib/pm-utils/power.d/journal-commit.diff 
--- /usr/lib/pm-utils/power.d/journal-commit.orig       2012-02-17 
10:45:13.302448184 +0200
+++ /usr/lib/pm-utils/power.d/journal-commit    2012-02-17 10:38:49.864546816 
+0200
@@ -2,7 +2,7 @@
 
 . ${PM_FUNCTIONS}
 
-JOURNAL_COMMIT_TIME_AC=${JOURNAL_COMMIT_TIME_AC:-0}
+JOURNAL_COMMIT_TIME_AC=${JOURNAL_COMMIT_TIME_AC:-60}
 JOURNAL_COMMIT_TIME_BAT=${JOURNAL_COMMIT_TIME_BAT:-600}
 
 help() {
"

Don't know yet if it is solved. I will report.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to