LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-28-2011, 03:12 AM   #1
TuxArch
LQ Newbie
 
Registered: Feb 2011
Posts: 18

Rep: Reputation: 0
Convert Ext3 to Ext2


Hi,

I would like to convert my /tmp and /boot partitions from Ext3 to Ext2 on my Arch Linux setup. I don't see any use in having journaling for either partition. I want to make sure that I have the right steps lined up so could someone please verify that this is correct (from a live cd):

Code:
#sudo tune2fs -O ^has_journal /dev/sda7
#sudo e2fsck /dev/sda7
#sudo tune2fs -O ^has_journal /dev/sda5
#sudo e2fsck /dev/sda5
I then edit /etc/fstab to reflect these changes (ext3 to ext2 for both lines)

Does it matter what order I do it in (/dev/sda7 is /tmp and /dev/sda5 is /boot). Thank you in advance.

Last edited by TuxArch; 03-28-2011 at 03:15 AM.
 
Old 03-28-2011, 03:42 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
well you don't need to "convert" it at all as I understand the differences. You merely mount it as ext2 and that's it. The journal is just not used. I would also say that you aren't going to benefit by doing this in any way so I'd just say forget about it and do something else instead. What you might like to do though it so not mount your /boot at all. It serves no function on a happily running system, and is only accessed by the boot loader before it's mounted, so you're safer by actually not mounting it by default at all.
 
Old 03-28-2011, 03:42 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Quote:
Originally Posted by TuxArch View Post
I don't see any use in having journaling for either partition.
In which case you'd better hope you don't have an issue with either. Just what do you expect to gain ?.
Arch is quite active in releasing updated kernels - I don't think I'd want to risk a trashed boot partition, but it's your choice.

Your commands seem reasonable - pretty hard to mess anything up, as the journal can be added again just as easily.
 
Old 03-28-2011, 11:35 AM   #4
TuxArch
LQ Newbie
 
Registered: Feb 2011
Posts: 18

Original Poster
Rep: Reputation: 0
Well it just seems quite unnecessary to have a small boot partition be almost fully taken up by the journal (32mb/50) when it serves no purpose (/boot is never changed). And /tmp is cleared when I shutdown the computer, so why would I need journaling there? I guess it's more out of principle rather than hoping to gain some performance increase. But if it's not worth I guess I will just leave it.

On another note, all my other partitions are ext3 (besides /var which is reiserfs for better pacman performance). Is there a significant performance gain by switching these all to ext4 (if this is even easily achievable)?
 
  


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 06:24 AM
Possible to convert ext2 to ext3? Garibaldi3489 Linux - General 6 12-15-2004 07:20 PM
how to convert from ext3 -> ext2 Kristian2 Linux - General 3 07-04-2004 10:37 AM
convert ext2 to ext3 perch Linux - Newbie 2 10-05-2003 09:26 AM
Convert ext2 to ext3 or something else? coldfusion713 Linux - Software 3 08-03-2003 01:57 AM


All times are GMT -5. The time now is 10:24 AM.

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