[wes@manisec.com: Re: Installing an ext3-based debian system...]

Trent Shipley plug-discuss@lists.plug.phoenix.az.us
Wed, 14 Aug 2002 01:23:16 -0700


Why wouldn't you put the journal on a different physical device?  It seems 
this would improve write performance and provide more security since the 
journal and data are unlikely to become corrupt at the same time.

On Wednesday 14 August 2002 12:21 am, Wes Bateman wrote:
> On Tue, Aug 13, 2002 at 01:35:09PM -0700, Jiva DeVoe wrote:
> > Can anyone point me to some docs on how to install an Ext3 based debian
> > system?
>
> Hey Jiva!  How've you been? :)
>
> Well, I'm pasting a snippet from the ext3 FAQ below.  As for doing it
> during the install, I think somebody else already addressed that.
>
> Since ext3 is basically ext2 with a journal, you can convert ext2 in
> place, mounted or not.  Tweak /etc/fstab, and poof, ext3 :)  Just make
> sure your kernel supports it :)  Of course even if it didn't, you could
> still mount it as ext2.  Quote below:
>
> <QUOTE>
>
> Q: How do I convert my ext2 partition to ext3? (was: How do I use ext3?)
> Before you can mount a partition as ext3 you have to create a journal on
> it. The easiest way to do it is to type:
>
>     tune2fs -j /dev/hdaX This can be done on an unmounted or on a
>     mounted filesystem. If you create the journal on a mounted
>     filesystem you will see a .journal file. Don't try to delete this
>     and don't back this up or restore it from backup! If you run tune2fs
>     -j on an unmounted partition an unvisible journal file will be
>     created.
>     Now you can mount the filesystem as ext3 using:
>
>         mount -t ext3 /dev/hdaX /mnt/somewhere
> 	With mke2fs -j /dev/hdaX you can format a partition as ext3 (as
> 	always it will be also usable as ext2 partion).
>
> </QUOTE>
>
> Anyway, hope all is well.  Take it easy,
>
> Wes