* Ext3+ramdisk journaling problem
@ 2005-04-25 1:22 Xin Zhao
2005-04-25 2:30 ` Kyle Moffett
0 siblings, 1 reply; 3+ messages in thread
From: Xin Zhao @ 2005-04-25 1:22 UTC (permalink / raw)
To: linux-kernel
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.
However, After I reboot the system and try to mount that ext3
filesystem, the system reported:
mount: wrong fs type, bad option, bad superblock on /dev/hda2,
or too many mounted file systems
This gave me a feeling taht the ramdisk is not a right journal
anymore. Any solution to this problem? Also, how to ensure that the
journal stored on the ramdisk is committed to ext3 filesystem before
it is umounted? Any commands to do this?
THanks in advance for your kind help.
Xin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Ext3+ramdisk journaling problem
2005-04-25 1:22 Ext3+ramdisk journaling problem Xin Zhao
@ 2005-04-25 2:30 ` Kyle Moffett
2005-04-27 9:18 ` Helge Hafting
0 siblings, 1 reply; 3+ messages in thread
From: Kyle Moffett @ 2005-04-25 2:30 UTC (permalink / raw)
To: Xin Zhao; +Cc: linux-kernel
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.
Cheers,
Kyle Moffett
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM/CS/IT/U d- s++: a18 C++++>$ UB/L/X/*++++(+)>$ P+++(++++)>$
L++++(+++) E W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+
PGP+++ t+(+++) 5 X R? tv-(--) b++++(++) DI+ D+ G e->++++$ h!*()>++$ r
!y?(-)
------END GEEK CODE BLOCK------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Ext3+ramdisk journaling problem
2005-04-25 2:30 ` Kyle Moffett
@ 2005-04-27 9:18 ` Helge Hafting
0 siblings, 0 replies; 3+ messages in thread
From: Helge Hafting @ 2005-04-27 9:18 UTC (permalink / raw)
To: Kyle Moffett; +Cc: Xin Zhao, linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-04-27 9:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-25 1:22 Ext3+ramdisk journaling problem Xin Zhao
2005-04-25 2:30 ` Kyle Moffett
2005-04-27 9:18 ` Helge Hafting
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox