lkml.org 
[lkml]   [2004]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Is there a way to keep the 2.6 kjournald from writing to idle disks? (to allow spin-downs)


Lutz Vieweg wrote:
> It's not a laptop, but a server with an ordinary 3.5" harddisk I'm
> speaking about,
> my goal is not saving power, but spinning down a harddisk that does not
> need to
> spin up the whole day long.
>
> What I'm questioning is whether there's a need to write to idle disks at
> all -
> does anybody know why kjournald writes data even if there is nothing to
> commit at all?

Hmmm. My 2nd HD (that I almost never use) is set to hdparm -S 4 (20
seconds), it has an ext3 filesystem on it, and it spins down some 20
seconds after mounting and never spins up again. I haven't had to set
any options to make this possible. Is it possible that there may still
be something that is dirtying blocks on that disk? (If you want to check
this out, laptop_mode has a /proc/sys/vm/block_dump setting that makes
the kernel log all reads, writes and block dirtyings.)

-- Bart
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.045 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site