Gentoo Archives: gentoo-user

From: Michael Hampicke <gentoo-user@××××.biz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)
Date: Mon, 21 Mar 2011 21:55:56
Message-Id: 4D87C8E1.9080006@hadt.biz
In Reply to: [gentoo-user] the best filesystem for server: XFS or JFS (or?) by Jarry
1 > I'm looking for "the best" filesystem for a small multi-purpose
2 > server with a couple of services running (ftp, web, mail, mysql).
3 > For me very important features are:
4 >
5 > Now without trying to start flame-war, my question is:
6 > which of them could be better for my need?
7 > More stable, more reliable, more efficient, etc.
8 > Or should I consider some different filesystem?
9
10 No easy to answer, jfs and xfs are both good file systems, that's why I
11 am using both on my server at home.
12
13 JFS on my root partition and backup storage space (250.000 files of all
14 sizes, 900GB) because it uses very little cpu and is very fast. Low cpu
15 usage was important for me, because my backup space is encrypted with
16 cryptsetup/LUKS.
17
18 On my media storage (recordings, movies, only big files: 500MB to 15GB)
19 I use xfs because of it's delayed allocation which helps to avoid
20 fragmentation. With xfs_fsr xfs also brings it's own defragmentation
21 utility.
22
23 Speedwise I would they that they are both at about the same speed, but I
24 cannot give you exact numbers.
25 xfs however uses more memory (because of the delayed allocation) and if
26 your server suddenly loses power you can lose data.
27
28 Hope that helps you, greetings from germany
29
30 Michael