LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-25-2004, 01:11 PM   #1
CrAzY G
Member
 
Registered: Nov 2003
Location: Switzerland
Posts: 41

Rep: Reputation: 15
Question Ext2 or Ext3


I read in another topic that ext3 is basically ext2 with journalling. Therefore would i be better if i make a partition with ext3? I just needed that answer but it wasnt there. I want to use this partition for slackware so is it compatible etc?
 
Old 02-25-2004, 01:39 PM   #2
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 30
Hello there,

Yes, it is correct ext3 is just ext2 + journaling. (You can actually mount an ext3 partition as ext2 if you like - even though there shouldn't be much reason to do that ) Ext3 is better to use than ext2; consider these long boring harddisk scans that are necessary for an ext2 file system if you've had to make a hard reset or have had a power outage. If you use ext3 (or any other journaling system, e.g. ReiserFS), then the journal would be read in and the system would start as if nothing had happened.

When you install Slackware it will ask you if you want to use ext3 or ReiserFS. If you are dual-booting with Windows, and want to be able to copy files directly from your Linux partition(s) to your Windows system with a program such as explore2fs, then ext2/3 is necessary since explore2fs doesn't support anything else. If you don't dual boot, then you can choose either. It is said that ext2/3 is (a bit, maybe marginally) slower than the newer (journaling) file systems. ReiserFS is optimized for small files and XFS (or was it JFS?) for larger files. Maybe this article is helpful.

HTH

Last edited by Bebo; 02-25-2004 at 01:44 PM.
 
Old 02-25-2004, 02:02 PM   #3
CrAzY G
Member
 
Registered: Nov 2003
Location: Switzerland
Posts: 41

Original Poster
Rep: Reputation: 15
what would be best ofr a server?
 
Old 02-25-2004, 02:14 PM   #4
Redeye2
Member
 
Registered: Feb 2004
Posts: 489

Rep: Reputation: Disabled
I'd say it depends on the compatibilty you need. As the the previous post states, if you're gonna communicate directly with windows (without samba), then ext3 . I'd use ReiserFS.
 
Old 02-25-2004, 02:16 PM   #5
CrAzY G
Member
 
Registered: Nov 2003
Location: Switzerland
Posts: 41

Original Poster
Rep: Reputation: 15
And what exactly is ReiserFS
 
Old 02-25-2004, 02:29 PM   #6
Redeye2
Member
 
Registered: Feb 2004
Posts: 489

Rep: Reputation: Disabled
Read that article
http://www.newsfactor.com/story.xhtm...gory=databases
 
Old 02-25-2004, 02:55 PM   #7
CrAzY G
Member
 
Registered: Nov 2003
Location: Switzerland
Posts: 41

Original Poster
Rep: Reputation: 15
Okay but heres a problem.. ReiserFS isnt on the partition options.. how would i make my partition ReiserFS?

Last edited by CrAzY G; 02-25-2004 at 04:14 PM.
 
Old 02-25-2004, 04:25 PM   #8
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 30
In the slackware installation, you'll be asked for what filesystem you want to use.
 
Old 02-25-2004, 04:26 PM   #9
CrAzY G
Member
 
Registered: Nov 2003
Location: Switzerland
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks.. ill have a look now.. wish me luck (i always need it )
 
Old 02-25-2004, 05:43 PM   #10
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You can use any LINUX filesystem but it have to be either compiled in the kernel or be in the ramdisk file. Also your computer have to have more memory to use certain kinds of filesystems. XFS is uses more memory because it caches a little more than LINUX does. 512 megabytes of RAM should be good enough to get a good use of different filesystems.

I wouldn't use JFS unless the partition is small enough to deal with and you don't write a lot of files to it. This is because it becomes fragmented. You need to copy files to a medium and then put the files back on to the drive to defrag. The other LINUX filesytems do not need to defrag because it does it automatically.

I use a combination of ext3, reiserfs, and xfs. Most of my partitions are using xfs. My /boot is ext3, / is xfs, and /home is reiserfs using the notail option. My second hard drive is using xfs because I usually put video files, iso, vmware data, and other files that I make or download.

Knoppix can read just about any filesystem. Who cares about compatibility. Just make sure you backup your files every once in a while.
 
Old 02-25-2004, 08:02 PM   #11
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
I use ext2 for storage, and ext3 for root file system. If you use ext3, you'll not be able to get back your files if you accidentally deleted them with 'rm' command.

Last edited by chii-chan; 02-25-2004 at 08:03 PM.
 
Old 02-28-2004, 03:33 AM   #12
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Quote:
Originally posted by chii-chan
I use ext2 for storage, and ext3 for root file system. If you use ext3, you'll not be able to get back your files if you accidentally deleted them with 'rm' command.
I disagree with your post. There is no undelete feature in LINUX filesystems. Unless you move a file or directory to your trash directory, you will not be able to undelete any file or directory after you use the rm or mv command.

Be careful when using the rm or mv commands.
 
Old 02-28-2004, 05:59 AM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,858

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Electro,
There are some undelete utilities for ext2. However, IMO in linux it is best to consider any file deleted unrecoverable.

BTW a ext3 can be mounted as an ext2 filesystem. You can then use all of the ext2 undelete utilities.
 
Old 02-28-2004, 10:06 AM   #14
dominant
Member
 
Registered: Jan 2004
Posts: 409

Rep: Reputation: 30
Well, having attended your conversation i ended up that ext3 is a stable fs.

I had problems with forced reset in the past (SusE 9)
fschk failed checking the filesystems and i had to reinstall the whole OS

by the way what can i do to avoid such cases and loose my critical datas?

Thanks in advance.
 
Old 02-28-2004, 10:11 AM   #15
contrasutra
Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
Just for the record: EXT3 is NOT just ext2 + journal. There was also a lot of internal work done. I don't know the specifics, but I remember a long article on the differences, and they wanted to stress that lots of work went into ext3, not just a journal.

I use ReiserFS, because I've never had issues with it, and its fast enough for me. I'll probably try ReiserFS4 when it comes out. Honestly, if you pick any of the modern FSs, it won't make much of a difference. But hey, customizing is the fun of linux,right?
 
  


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
ext2 | ext3 bruse Linux - Newbie 3 03-03-2005 08:10 AM
Ext2 Vs Ext3 coolamit78 Linux - Software 3 09-22-2003 10:46 AM
ext2 vs ext3 evano Slackware 5 06-25-2003 10:14 AM
<<<<<<<ext2 <vs> ext3>>>>>>> Phantom Rayne Slackware 2 03-20-2003 09:38 PM
ext2 ext3 and others safrout Linux - Hardware 2 05-01-2002 06:02 PM


All times are GMT -5. The time now is 05:56 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration