Re: Ext3+ramdisk journaling problem

From: Helge Hafting
Date: Wed Apr 27 2005 - 04:15:32 EST


Kyle Moffett wrote:

On Apr 24, 2005, at 21:22, Xin Zhao wrote:

hi,

I used ramdisk as an ext3 journal and mount ext3 file system with
option data=journal. It worked fine and speedup the ext3 file system.


Uhh, the whole point of a journal is that when the computer goes down
hard and doesn't have a chance to clean up. If you put the journal on
a ramdisk, you might as well just mount it as an ext2 filesystem and
be done with it. Without the journal _on_disk_ you get no data or
filesystem reliability advantages. If you're after speed, just forgo
the reliability or buy better disks.

Alternative: Buy a real ramdisk with battery-backup instead of using
a "ramdisk" in system ram. Such a thing will last across a reboot,
offering both nice speed and all the comforts of a journal.

Helge Hafting

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