You are not logged in.

#1 2009-03-30 22:08:33

thesimpsons
Member
From: Rockville, MD
Registered: 2009-03-30
Posts: 15

Which kind of filesystem should I choice?

yikes

When I setupping Arch, there are many kinds of filesystem. Ext2, ext3, ext4, reiserfs, xfs and jfs. Which kind of filesystem should I choice? I don't  know the differents.

Thank you.

Last edited by thesimpsons (2009-03-31 13:43:18)


I'm learning English.  If there are any grammar or other mistakes, please tell me. Thank you.

Offline

#2 2009-03-30 22:15:55

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: Which kind of filesystem should I choice?

Short answer: Just use ext3. It's proven to be reliable and is generally the default filesystem for most linux distributions.

Long answer: They all have their own benefits. Search wikipedia or google to find out more.

Oh and welcome to Arch Linux cool

Last edited by dyscoria (2009-03-30 22:16:15)


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#3 2009-03-30 22:22:49

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Which kind of filesystem should I choice?

Welcome to Arch, and this is a topic that could go on for pages, so just use ext3 until you learn over time about all the others.

Offline

#4 2009-03-30 23:41:00

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: Which kind of filesystem should I choice?

thesimpsons wrote:

When setting up Arch, there are many kinds of filesystems:  ext2, ext3, ext4, reiserfs, xfs and jfs. Which kind of filesystem should I choose?  I don't know the difference.

Thank you.

I'm learning English.  If there are any grammar or other mistakes, please tell me.

If you're not sure or want the safest, most stable choice, choose ext3.
If you're you want better performance, but and you're ready to take a small risk if your system goes suddenly down for some reason, perhaps you might choose ext4.
If you have a slow computer whose CPU is easily pegged, you might choose JFS, but it is also slightly risky if your system suddenly goes down.

Welcome $HOME.

Last edited by Wintervenom (2009-03-31 00:57:55)

Offline

#5 2009-03-31 00:17:05

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Which kind of filesystem should I choice?

Wintervenom wrote:

If you're not sure or want the safest, most stable choice, choose ext3.
If you want better performance, and you're ready to take a small risk if your system goes suddenly down for some reason, perhaps you might choose ext4.
If you have a slow computer whose CPU is easily pegged, you might choose JFS, but it is also slightly risky if your system suddenly goes down.

Sorry, couldn't resist tongue

Last edited by fukawi2 (2009-03-31 00:17:18)

Offline

#6 2009-03-31 00:58:02

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: Which kind of filesystem should I choice?

[Hides his bottle of White-Out and whistles.]

Offline

#7 2009-03-31 01:26:05

evilgold
Member
Registered: 2008-10-30
Posts: 120

Re: Which kind of filesystem should I choice?

If you dont know the difference, chances are it doesnt matter much for your purposes and you should go with ext3. If you have lots of large files (over 1gb), you might want to use XFS or ext4, they both have extra features that makes them more effecient when working with large files.

Offline

#8 2009-03-31 05:13:40

adamlau
Member
Registered: 2009-01-30
Posts: 418

Re: Which kind of filesystem should I choice?

ext2 for /boot with mkfs.xfs -f -l logdev=/dev/sdb1,size=64m,lazy-count=1 /dev/sdaX everywhere else.


Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce

Offline

#9 2009-03-31 08:42:37

ChoK
Member
From: France
Registered: 2008-10-01
Posts: 346

Re: Which kind of filesystem should I choice?

Can't help but laugh here smile you will scare him away with those geeky commands wink
I think you should explain him what they do so he learns more.

Also I suggest you to have at least 3 partitions on your drive, one for /boot in ext2 (30 to 50 Mo should do fine), one for / : the system, and one for /home (your personal data) this way if you break something, you don't lose your personal things.

For the filesystem I'd say go ext3 it's the standard, most resilient one, and it should meet any of your needs on your desktop.


Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry

Offline

#10 2009-03-31 08:59:34

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: Which kind of filesystem should I choice?

I've tried many file systems. Ext3 is the most reliable (it's the only one that always recovered after power outages and such).
Use ext2 for /boot and ext3 for anything else.


what goes up must come down

Offline

#11 2009-03-31 09:54:05

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: Which kind of filesystem should I choice?

Consider the hypothesis of a separate /var partition in reiserfs: pacman will be faster.


Mortuus in anima, curam gero cutis

Offline

#12 2009-03-31 10:23:52

dunz0r
Member
From: Sweden
Registered: 2009-03-30
Posts: 258
Website

Re: Which kind of filesystem should I choice?

I myself prefer reiserfs for all purposes except really large (15GB<) partitions on which I usually go for XFS


RTFM or GTFO
hax0r.se

Offline

#13 2009-03-31 12:36:49

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Which kind of filesystem should I choice?

ext2 on /boot
otherwise reiserfs, reiserfs, reiserfs ...

Hmmm - did anyone mention reiserfs?

Last edited by perbh (2009-03-31 12:37:40)

Offline

#14 2009-03-31 13:29:14

EmaRsk
Member
From: Italy
Registered: 2003-12-07
Posts: 26

Re: Which kind of filesystem should I choice?

I'm not been using reiserfs since quite a long time, so hopefully things have been fixed by now, but I suffered from major data corruption with it (system f***ed up, reinstall mandatory, bye bye to lots of data). That's why I switched to ext2/ext3.
Just my 2¢ worth horror story from the past. As I said, maybe reiserfs is rock-stable now.

Offline

#15 2009-03-31 13:59:14

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Which kind of filesystem should I choice?

@EmaRsk
Well - there you go.
I have had horrible experiences with ext2/ext3/xfs after a crash but never with reiserfs (actually, I stand corrected - _once_ it happened to me with reiserfs - in some 5 years of use!).
I have rather suspect power - it will hiccup 2-3 times a day which causes my machines to reboot. ext2/ext3 will fail every so often, reiserfs does not (I know - I should get a UPS!)

Want to screw up xfs? Just put it on a usb-stick, mount it (manually, without hal and policy kit) and write to it. Then just yank it out without umount'ing. Goodbye to all data (even what was there before!)

Last edited by perbh (2009-03-31 14:01:16)

Offline

#16 2009-03-31 14:19:00

X/ax
Member
From: Oost vlaanderen, Belgium
Registered: 2008-01-13
Posts: 275
Website

Re: Which kind of filesystem should I choice?

I think it's more of a persnonal thing. I for one have had never any issues with ext2/ext3, but I've never used anything else either...


My coding blog (or an attempt at it)
Archer start page (or an attempt at it)

Offline

#17 2009-03-31 15:51:44

sokuban
Member
Registered: 2006-11-11
Posts: 412

Re: Which kind of filesystem should I choice?

patroclo7 wrote:

Consider the hypothesis of a separate /var partition in reiserfs: pacman will be faster.

I have been a happy reiserfs /var user for a few years until recently when I switched to ext4 and made everything ext4. While a reiserfs /var is good, with the current state of Mr. Reiser, I'm not sure if using reiserfs is such a smart idea. I think it might get left in the dark in a couple more years.

Ext4 is officially stable, although it is fairly new. It has a bug (some people will say this is not a "bug", but it causes problems so I'm calling it a "bug") that essentially can result in data loss after a crash. I'm too lazy to explain it all here (you can find explanations all over the net) but if you have a UPS then you should be fine.

And whatever you do. Do not put xfs on /var. If you really want an xfs root, then be sure to put another filesystem on /var.

Offline

Board footer

Powered by FluxBB