On Sat, Oct 05, 2002 at 11:03:49AM -0700, Rob Hudson wrote: > I've resently discovered that moving from ext2 to ext3 doesn't require > creating a new partition, as ext3 can overlay an ext2 partition. > > Has anyone done this? I think you use tunefs?
I've done it - it works even on mounted filesystems! Just do:
tune2fs -j /dev/hdawhatever
Then edit your /etc/fstab to look like this:
/dev/hda1 / ext3,ext2 defaults,errors=remount-ro 0 1
Now your system will be able to mount the partition as ext3 or fall back
to ext2 if that fails. I don't care about using kernels without ext3 on
my system, though, so I don't bother with the ,ext2 part.
You should reboot the machine after doing this to ensure that / gets
remounted as ext3.
> Is there a speed advantage? I know there's a filesystem advantage for it
> if your computer crashes or loses power.
Journals actually decrease performance a marginal amount. It's not very
much though.
--
Joseph Carter <[EMAIL PROTECTED]> I swallowed your goldfish
<Knghtbrd> Trust us, we know what we're doing... We may have no idea HOW
we're doing it, but we know WHAT we're doing.
msg11283/pgp00000.pgp
Description: PGP signature
