Dear penguin lovers, =) I'm running Linux (2.6) on a satellite receiver with harddrive. The latter is formated in ext3. So far, everthing works fine. Now here's the small problem: The receiver is in the same room I sleep in and when it records at night time I can hear the journaling going on (heads clicking - even though the HD is set to silent mode via hdparm). This is surely due to the journaling as during playback the heads remain quiet. Is there a way to disable journaling on the fly (some option in /sys)? Or can I remount the harddisk from ext3 to ext2 on the fly - and does this work when it's being written to? And - last but not least - would the solution (if there is any) be "riskless"? Thank you very much for any help! myLC at gmx.net PS.: I'm not subscribed to the mailing list, thus I can only read direct replies.
myLC at gmx.net schrieb:> Is there a way to disable journaling on the fly (some option > in /sys)?i'm not aware of such a switch, but two things come into my mind: 1) there is a mount option "commit": "commit=nrsec Sync all data and metadata every nrsec seconds. The default value is 5 seconds. Zero means default. 2) the laptop-mode module [1] both should reduce disk-activity by 1) enlarging the commit-interval and 2) by grouping write activities. you can turn off the journal with tune2fs(8). hth, Christian. [1] http://www.xs4all.nl/~bsamwel/laptop_mode/ -- BOFH excuse #78: Yes, yes, its called a design limitation
On Sat, Sep 17, 2005 at 05:27:18PM +0200, myLC at gmx.net wrote:> Dear penguin lovers, =) > > I'm running Linux (2.6) on a satellite receiver with > harddrive. The latter is formated in ext3. > So far, everthing works fine. > > Now here's the small problem: > The receiver is in the same room I sleep in and when it > records at night time I can hear the journaling going on > (heads clicking - even though the HD is set to silent mode > via hdparm). This is surely due to the journaling as during > playback the heads remain quiet.Something on your system must be causing writes to the filesystem; turning off journaling might lower the total number of writes, but it won't make this problem go away altogether. I'd check /var/log to see what might be causing log messages (the most likely cause) and see if you can disable or lower the syslog threshold so that they don't get written to disk. - Ted