LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 08-15-2010, 05:18 PM   #1
entz
Member
 
Registered: Mar 2007
Location: Milky Way , Planet Earth!
Distribution: Opensuse
Posts: 434
Blog Entries: 5

Rep: Reputation: 39
alternative to ext*


hello,

well i'm looking for a potential new file system that is more suitable for the storage of static files such as backups and so forth.
my major problem with ext* is that it has this overhead on the raw storage device therefore reducing the amount of data that can actually be stored.

now personally , i'm yet to become an expert on file systems which is why i need your advice.

is there anything else other than ext that is stable and reliable to enough the serve as a format for storing large static files?
if so then what are the tradeoff ?
and please elaborate on this issues or provide links to articles that fully explain what is what..

thanks
 
Old 08-15-2010, 05:40 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 10,458

Rep: Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623
Quote:
Originally Posted by entz View Post
my major problem with ext* is that it has this overhead on the raw storage device therefore reducing the amount of data that can actually be stored.
Explain this statement.
There are innumerable threads/articles re the supposed benefits of various f/s architectures and their implementation(s). Usually written by a proponent of the particular one being touted.
Most these days maintain metadata for data consistency. Non-journalled have very little benefit these days.
 
Old 08-15-2010, 06:01 PM   #3
Elv13
Member
 
Registered: Apr 2006
Distribution: Gentoo
Posts: 726

Rep: Reputation: 106Reputation: 106
RAID5+LVM+XFS so you can do snapshots, have data integrity and redundancy and the ability to resize the volume without taking it down first. It's a popular combination for this kind of storage due to the flexibility and security. I am also looking forward for BTRFS, but it is not as proven than ext3 or XFS. I don't agree with other member that said it is that dangerous and unstable, my own tests prove the opposite, but I would not trust it for critical data yet.
 
Old 08-15-2010, 06:20 PM   #4
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 54
I have used BTRFS on Ubuntu 10.10 Alpha and have to say it really does the job for me. I can easily create snapshots of directories (including /) and easily store extremely large files without the FS getting corrupted. It does have kind of a performance hit, though: On a BTRFS drive, it takes hours just to apt-get upgrade or apt-get install 100 packages.
 
Old 08-16-2010, 01:41 PM   #5
entz
Member
 
Registered: Mar 2007
Location: Milky Way , Planet Earth!
Distribution: Opensuse
Posts: 434
Blog Entries: 5

Original Poster
Rep: Reputation: 39
Quote:
Originally Posted by syg00 View Post
Explain this statement.
in short it means , that on ext FS's you can store less than data than the actual hdd size because there is a significant overhead over file written , i've noticed that ext wastes around 10% of disk space...

here is an experiment that you might do , try to format a hdd with fat and then with ext and compare the free space available ..

so the question was , is there a stable and reliable filesystem that can save data efficiently like fat and reliably as ext ?


Quote:
Originally Posted by Elv13;
RAID5+LVM+XFS so you can do snapshots, have data integrity and redundancy and the ability to resize the volume without taking it down first
hi , well redundancy is assured and flexibility is not really essential , what i'm optimizing for is maximum capacity.

so the question , is XFS for capacity efficient in contrast to ext ?

i'm afraid i'm NOT interested in experimental FS's , i'm running a production site and i can't afford risks (at least not too much)

cheers
 
Old 08-16-2010, 02:03 PM   #6
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 54
BTRFS certainly is. It does not take up any drive space itself (but the tools to modify it (btrfsctl, btrfsck) certainly do). And if that's not enough, BTRFS also allows file and folder compression to actually make the files and directories smaller.
 
Old 08-16-2010, 02:48 PM   #7
Elv13
Member
 
Registered: Apr 2006
Distribution: Gentoo
Posts: 726

Rep: Reputation: 106Reputation: 106
^^Yea, but it is experimental, even if it is backed by Oracle and RedHat.
XFS will do, it is the best FS for large files, but lack the compression ability of ZFS or BTRFS. ZFS is not experimental, but the OS running it is dead, so it is not the best idea, even if it is the best File System.
 
Old 08-17-2010, 12:28 AM   #8
chrism01
Guru
 
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.2, Centos 5.8
Posts: 11,740

Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
As syg00 said
Quote:
Most these days maintain metadata for data consistency. Non-journalled have very little benefit these days.
If you just want max storage and are willing to forego the benefits of journalling, try ext2 (effectively ext3 without journalling).
Note also that by default most fs creation cmds reserve a certain amt of storage on disk for easing potential fragmentation issues (ie blocks used temporarily for re-ordering) and also for the root user who may need a small scratch area to sort things out when the users fill it up.
This space is normally configurable by the relevant parameter to the mkfs cmd. Again, if you want to reduce it you can, but it may not be wise.

Elv13
Quote:
ZFS is not experimental, but the OS running it is dead, ...
News to me that Solaris is dead(!) ... care to provide a citation...? Also available as a userland FS in Linux.
http://en.wikipedia.org/wiki/ZFS
 
Old 08-17-2010, 12:48 AM   #9
Elv13
Member
 
Registered: Apr 2006
Distribution: Gentoo
Posts: 726

Rep: Reputation: 106Reputation: 106
OpenSolaris is dead, quote are everywhere. It's experimental in FreeBSD and Solaris does not worth paying for just for ZFS. And (speculation) Oracle may make Solaris SPARC only, so they complete their vertical market. But they need a lot of money to keep SPARC viable against POWER or x86_64 based multi CPU XEON beasts. SXE (Solaris Express Edition) is not an OS, but more of a compiled code dump.
[/offtopic]
 
Old 08-17-2010, 10:19 AM   #10
entz
Member
 
Registered: Mar 2007
Location: Milky Way , Planet Earth!
Distribution: Opensuse
Posts: 434
Blog Entries: 5

Original Poster
Rep: Reputation: 39
okay , thanks for the input folks

eventually , i may deploy ext2

cheers
 
Old 08-17-2010, 05:53 PM   #11
Elv13
Member
 
Registered: Apr 2006
Distribution: Gentoo
Posts: 726

Rep: Reputation: 106Reputation: 106
Use ext3 or ext4, ext2 is far too unstable for precious data. It can get badly corrupted with any power failures. The journal does not create that much trouble for big files.
 
Old 08-18-2010, 02:41 AM   #12
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 3,905

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
Quote:
Originally Posted by entz View Post
in short it means , that on ext FS's you can store less than data than the actual hdd size because there is a significant overhead over file written , i've noticed that ext wastes around 10% of disk space...
That sounds like too much, maybe you should research the e2mkfs/tune2fs man page (-m) and set the space reserved for root to 0% first. I could be wrong, but I think you are "in search of a problem for this solution".

There will be still an overhead for the journal, but every actual fs has that problem, unless you want to use fat or ext2.

Quote:
so the question , is XFS for capacity efficient in contrast to ext ?
I'd only consider it safe as long as you can guarantee 24/7 power supply with 0% error. My own experience (from years ago, anyway, it takes time for me to forget this kind of thing).

About btrfs, well, I am one of those that look at it with interest, but I wouldn't use it for anything serious yet. For those talking about stability, btrfs has had many nasty problems recently, the last one in the recent 2.6.34 series (we are at 2.6.35.2 now, so it hasn't been long ago) about data corruption and free space calculation. Sure it's promising, but it's not mature and I disregard the usage for backups. The whole point of backups is reliability, otherwise just leave the files in your main fs and try to be careful. It's not good when your backup media is more experimental than your main system just to be cool.
 
Old 08-18-2010, 08:42 AM   #13
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 128Reputation: 128
ext reserves 5% by default, not 10. If you get the impression it is more, you may not have noticed that the size of your hard drive is not what it is in the first place. Hard drives provide 7% less space than advertised * (thus a 1TB drive has only 930GB of usable space. Deduct another 5% reserved by the fs and yes, you would lose about 10% in all. But changing file systems is not going to recuperate the "missing" 7%.

XFS does not reserve 5%, more like a few dozen megabytes on a large drive. I have found it to be reliable but you need to make sure that you enable barrier (the default) unless you have a hardware raid controller. The real advantage of XFS is raw speed; it is easily 25% faster than ext except when you are handling many small files, which requires some customization to make it perform as well as ext.

--------------------------------------------------------------------------------------------------------------
* Which is actually false: 1 kilobyte is 1000 bytes, not 1024 (just as a kilogram is 1000 grams, not 1024). In other words, hard drive manufacturers provide exactly what they promise, it's just that most users are confused because most other hardware (and software) does define kilobyte as 1024 (more properly: kibibyte).

Last edited by jay73; 08-18-2010 at 08:47 AM.
 
Old 08-18-2010, 01:15 PM   #14
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 54
Quote:
Originally Posted by chrism01 View Post
News to me that Solaris is dead(!) ... care to provide a citation...? Also available as a userland FS in Linux.
http://en.wikipedia.org/wiki/ZFS
Actually, at the beginning of this year Oracle bought out Sun and decided to charge $$ for security updates to Solaris, which basically breaks OpenSolaris. Simply put, Solaris is not dead but proprietary, and as we all know, proprietary operating systems/file systems are horrid.
 
Old 08-18-2010, 04:14 PM   #15
dreamgear
LQ Newbie
 
Registered: Aug 2010
Location: North Central MA
Distribution: Ubuntu, CentOS
Posts: 12

Rep: Reputation: 1
For big files on big (huge) modern disks, ext3/4 will create way more inodes than you need.

Do "man mkfs.ext4" and read it.

Then look at /etc/mke2fs.conf

You probably want to do "mkfs -t ext4 -T largefile4" or something like that.
 
  


Reply

Tags
ext4, mkfs


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get an ext ip from modem landysaccount Linux - Newbie 2 01-05-2009 06:03 PM
which ext should i use cchanana Linux - Newbie 1 01-14-2005 04:41 AM
Filesystems: ext 2, ext 3, reiserfs. Which one? r3dhatter Linux - Newbie 12 07-15-2004 12:53 AM
ext floppies dwessell Linux - Newbie 2 05-20-2004 09:10 PM
ext 3 error kinasz Linux - Software 7 03-31-2004 05:50 AM


All times are GMT -5. The time now is 10:12 AM.

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
Open Source Consulting | Domain Registration