Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
The best file system for home server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
LuzbeL
n00b
n00b


Joined: 30 Apr 2010
Posts: 68

PostPosted: Tue Jul 19, 2011 8:56 pm    Post subject: The best file system for home server Reply with quote

Hello, I am assembling a home server at home, and I want to know what file system is the best, most stable and most give up ... The server is an old PC Socket 462, AMD Athlon XP 3000 +, 2gb ram ...

Thanks!
Back to top
View user's profile Send private message
ultraincognito
Guru
Guru


Joined: 03 Jun 2011
Posts: 346
Location: Ukraine

PostPosted: Wed Jul 20, 2011 5:10 am    Post subject: Reply with quote

Use ext4 and be happy.
Back to top
View user's profile Send private message
Arkhelion
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2010
Posts: 131
Location: France

PostPosted: Wed Jul 20, 2011 9:26 am    Post subject: Reply with quote

I don't claim - at all - to be a specialist in FS, so that's a very personal opinion below...

It's really hard to tell. It greatly depends on what you aim to do with your "home server" (file hosting? media sharing? what kind of files/media?). I fyou really want to optimize it, you might want to use a different FS for - let's say - your mailqueue/mailbox FS and your family-video-sharing. Some FS are better handling large files, some are better browsing large sets of tiny files.

Ext4 is new but quite stable and may be a good choice it's quite "average" in most categories. The downside of Ext* is mainly the regular FSCK you may have at boot time. ReiserFS is quite on hold as I think there aren't a lot of maintainers since the conviction of Hans Reiser in 2008, but the actual version is pretty stable, so it's not a big deal.

If you feel like you don't want to hear about your server, then I would probably go for ext4 everywhere, if you wanna tweak it a bit, I'd probably put an XFS for mailqueue/mailbox, saw some benchmarks once saying it was a bit faster handling lots of files.

If you're feeling adventurous, I'd try BtrFS as it may be more flexible in adding/expanding filesystems without the use of external tools like LVM (which needs an initrd to be used as a / FS).
_________________
Arkhelion
Back to top
View user's profile Send private message
Deathwing00
Moderator
Moderator


Joined: 13 Jun 2003
Posts: 4078
Location: Barcelona, Spain

PostPosted: Wed Jul 20, 2011 9:54 am    Post subject: Reply with quote

If it's a home server, ext4 will give you better performance than ext3 and will keep reliability.
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 3919

PostPosted: Wed Jul 20, 2011 10:59 am    Post subject: Reply with quote

i use ext3 & ext4 on mine:
ext3 for the gentoo partition, ext4 for everyone else. Ext3 because rock stable and i don't really care saving space with some strange fs, nor i care having a performant fs (or i would have put hw raid disks on it too). I only care for a secure fs that keep the datas and is really strong at not altering them or loosing them (or at least at recover them).
so ext3 is my choice, none can beat its stability & strongness vs datas lost.
i bypass its weakness by removing all others partitions from checking at boot and convert them to ext4 for faster fsck check. I was using ext3 on all of them, but tera drives are a real pain to check.
I'm really happy of the setup now, i can umount & check the ext4 fast when i want, and my ext3 might take a bit of time but only when booting.
Back to top
View user's profile Send private message
Hans-Linux
n00b
n00b


Joined: 21 Jul 2011
Posts: 14
Location: Brisbane, Australia

PostPosted: Wed Jul 27, 2011 5:54 am    Post subject: Reply with quote

I use since 15 years ReiserFS on home and office servers and desktops. I find it rock stable and very forgiving if someone pulls the plug during a write process. As of now it has always fully recovered on rebooting. I started using Linux with RAID 5 arrays ad ReiserFS to replace replace Novell and M$ NT and 2000 Servers.

VirtualBox has or used to have a problem when installed on EXT4 partitions.

Hans
Back to top
View user's profile Send private message
cach0rr0
Moderator
Moderator


Joined: 13 Nov 2008
Posts: 4121
Location: Houston, Republic of Texas

PostPosted: Thu Jul 28, 2011 11:10 am    Post subject: Reply with quote

not a perfect summation, but:

reliability? ext4
small file performance? reiserfs
predominately large files? XFS

now, the second i post that, someone who's a fan of one or the other is going to come in and cite some example of ext4 being unreliable, of reiserfs taking ever to mount and performance suffering under $foo condition, XFS misbehaving after a power outage (personally, this has never been an issue for me, it's been rock-solid in my experience) - it's not a perfect guideline, but a decent general pointer.

Under normal operation you won't notice much of a difference between the three. But, if you're transferring a large video file, you'll notice a difference with XFS. If you're untarring an archive with heaps of source files, youll notice a difference with reiserfs. Pick the activity you think you'll be doing most on this system, make your fs decision accordingly ("home server" means different things for different people - could mean a media server to some, a web server hosted at home for others)

I use XFS (mount with logbufs=8 else it's pointless)for /video and /home, as most of the files I deal with there are either relatively large, or not so innumerable and thrash-inducing.
For a while I used reiserfs for things like /var, but the mount time eventually made me switch
and I still use ext4 (or even ext3) on most systems for /
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 13046
Location: Ste-Foy,Canada

PostPosted: Thu Jul 28, 2011 11:13 am    Post subject: Reply with quote

I use EXT4 for now and maybe one day I'm gonna use Btrfs if they ever get stable.
_________________
Sysadmin of GentooQuébec.org
Wiki
Signature
IRC on Freenode : #gentoo-quebec
Back to top
View user's profile Send private message
disi
Veteran
Veteran


Joined: 28 Nov 2003
Posts: 1354
Location: Out There ...

PostPosted: Thu Jul 28, 2011 3:11 pm    Post subject: Reply with quote

d2_racing wrote:
I use EXT4 for now and maybe one day I'm gonna use Btrfs if they ever get stable.


Especially for a file server... btrfs can do compression via lzo. On my home FreeBSD the 2.04T data are compressed to ~1.4T using lzo compression on zfs. That doesn't look like much, but it includes already compressed files like iso, tar.gz etc.

So either wait for btrfs or for zfs via fuse? They have the same version as FreeBSD 8.2 (28 just upgraded) at the moment as stable: http://zfsonlinux.org/
_________________
Gentoo on Uptime Project - Larry is a cow
Back to top
View user's profile Send private message
solamour
Guru
Guru


Joined: 21 Dec 2004
Posts: 484
Location: San Diego, CA

PostPosted: Fri Jul 29, 2011 7:10 am    Post subject: Reply with quote

I've been using ReiserFS for quite a while but recently switched to ext4. Nothing particularly wrong with ReiserFS; I just wanted to try something different. I might add ext4's being the default file system in Ubuntu might have influenced the decision.

Frankly I can't really tell the difference. Then again, I'm not particularly pick about it, and I didn't perform a thorough benchmark or anything even remotely close. I think any wide-used file systems are a good choice, as long as you stay away from things like VFAT or NTFS (I'm sure running Linux on those file system is doable).
__
sol
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum