On Fri, May 24, 2002 at 07:47:02PM -0300, Ted Gervais wrote:

> > > I've been told that you can change a file system between ext2 and ext3
> > > without corrupting the data.  How do you do that?
> >
> > tune2fs -j /dev/hda1
> >
> > adds a journal to device /dev/hda1, effectively converting it to ext3. Now
> > you need to remount it as ext3, and also edit /etc/fstab and change the
> > FS type from ext2 to ext3, so that at the next reboot, it is mounted
> > correctly.
> 
> What about going back to ext2?  Is that possible without doing a whole new 
> installation??

You can mount an ext3 FS as ext2; no problem. The kernel will simply
ignore the journal, and the FS will behave exactly as it was before under
ext2. That's the beauty of the system. You can go back and forth between
the two systems. If you want to permanently go back from ext3 to ext2,
then you have to use tune2fs to remove the journal (although it is safe
to leave it there even if using the system as ext2).

-- 
Anand Buddhdev
Personal site: http://anand.org



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to