LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-10-2004, 06:39 AM   #1
MikeZila
Member
 
Registered: Jul 2004
Location: /home/mikezila
Distribution: Slackware
Posts: 377

Rep: Reputation: 30
Is it worth it to convert from ext2 to ext3?


I've read in several places that ext3 is better than ext2, something about journaling. I'm not interested in any other filesystems, I just want to know if the benefits are enough to warrant a filesystem conversion. Could somebody sum up what "Journaling" is in a few sentences?
 
Old 07-10-2004, 06:43 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
very basically, a journal keeps track of the changes that are made, before they are made. this means that if something causes a crash, next boot there is still a record of what was being done when the system went done. this hugely reduces the possibility of having damaged files or ither inconsistencies.

yes, very much worth it for large partitions. juts use tune2fs -j /dev/hda1 to convert from ext2 to ext3. it's totally safe, and you can still mount it as ext2 if you want, it just bagsies some drive space for the journal, which is simply ignored if you use ext2 still.
 
Old 07-10-2004, 06:55 AM   #3
MikeZila
Member
 
Registered: Jul 2004
Location: /home/mikezila
Distribution: Slackware
Posts: 377

Original Poster
Rep: Reputation: 30
Thank you for the advice and information.

I was looking for that "totally safe" part.
 
Old 07-14-2004, 12:06 AM   #4
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
sorry to revive an old thread, and possibly hijacking one, but is it safe to do "on the fly"?
ie: i have an X server running, can I do this through a terminal window, or would I want to do it in runlevel 1?
 
Old 07-14-2004, 09:02 PM   #5
MikeZila
Member
 
Registered: Jul 2004
Location: /home/mikezila
Distribution: Slackware
Posts: 377

Original Poster
Rep: Reputation: 30
You can do it "on the fly", so to speak. I did it at a normal console. (Not from X, but I don't see how it would matter.) Make sure you change your filesystem type in your "/etc/fstab" file. Just change the ext2 to ext3.

I could very-well be wrong, but I think its safe to do it while X is running, just use a root console.
 
Old 07-14-2004, 11:14 PM   #6
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
I love this OS

yup. did it without missing a beat.
 
Old 07-15-2004, 12:12 AM   #7
MikeZila
Member
 
Registered: Jul 2004
Location: /home/mikezila
Distribution: Slackware
Posts: 377

Original Poster
Rep: Reputation: 30
Congrats!

Make sure to change the setting in your "/etc/fstab" and your 100% set!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert ext3 to ext2 reply2vinay Linux - Hardware 1 09-30-2005 05:24 AM
Possible to convert ext2 to ext3? Garibaldi3489 Linux - General 6 12-15-2004 06:20 PM
how to convert from ext3 -> ext2 Kristian2 Linux - General 3 07-04-2004 09:37 AM
convert ext2 to ext3 perch Linux - Newbie 2 10-05-2003 08:26 AM
Convert ext2 to ext3 or something else? coldfusion713 Linux - Software 3 08-03-2003 12:57 AM


All times are GMT -5. The time now is 11:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration