Which filesystem should I be using on Linux?

bubbles

Limp Gawd
Joined
Dec 16, 2005
Messages
180
2TB RAID5 on a sata raid card.

I was using JFS which forces me to do a journal check each time it is mounted, but JFS was making the system crash in certain circumstances. I also had file system errors and corruption from these crashes.

Is regular ext3 ok to use with an array liken this, storing files 10mb to 8gb in size?

I'm worried about corruption if there's a crash or power cut.
 
I <3 XFS. Mostly cause SGI made it, but also cause... it's good. EXT3 should be fine for anything really, though.
 
I noticed with ext3 I only have 1.9T available, but with jfs I had 2.2T ?
 
If you are having to do an fsck everytime you reboot with jfs I would seriously suggest running memtest86. I was seeing stuff like this and it was because my memory was getting errors. JFS personally works the best for me (gives the best performance, etc...). Ext3 does not dynamically allocate inodes and by default will create far too many inodes than you need (which eat up space). This is probably why you are seeing less space on ext3. You will want to use the -N option when running mkfs to specific the number of inodes. For 2 TB I would maybe do 4-6 million.

Incase you don't know what an inode is just keep in mind one is used usually for each file or directory created on the FS.
 
while unmounted, tune2fs -m 0 /dev/whatever

get rid of reserved space if this is just for storage
 
Different file systems perform better under different circumstances. If you have tons and tons of files on a drive, Reiser will do you well. I personally run XFS on my storage array because it's pretty fast on reads, and it's almost instantaneous on deletes (sucks when my system hangs because I'm done watching a TV episode and want to delete it)
 
Back
Top