LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-14-2010, 04:33 PM   #1
kschmitt
Member
 
Registered: Jul 2009
Location: Chicago Suburbs
Distribution: Crux, CentOS, RHEL, Ubuntu
Posts: 96

Rep: Reputation: 23
BRTFS rational question, for the BTRFS crowd


I was reading some articles on BTRFS today, and it became clear, the scope of this FS is pretty broad, far more than say, ext2/3/4, xfs, etc.

So I'm wondering, what's the rational for including so many things that are provided by the kernel, LVM and other standard tools? I'm not bashing or trolling, It's an honest question.

The two big examples of what I mean would be:
BTRFS does snapshots, so does LVM.
BTRFS does striping and mirroring, so does the kernel, and LVM.

Is BTRFS meant to be both a FS and an LVM replacement?

Just a little confused.

--Kyle
 
Old 02-14-2010, 06:13 PM   #2
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,894

Rep: Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774
I'm not sure if this is any kind of answer for you, but compare not with
Quote:
far more than say, ext2/3/4, xfs, etc
but Sun's ZFS.

At least they are both driven by the CoW mechanism, and ZFS does do a combined MD/LVM/fs replacement, end-to-end, job. As a result, it seems to be possible for ZFS to do stuff that is beyond the traditional linux file systems, like guaranteeing end-to-end data integrity and simplified disk/array management.

Note one error in the paragraph above is that filesystems themselves don't actually do anything. It is only in combination with the various support utilities that anything is done, so when I wrote "possible for ZFS to do stuff" I don't really mean that at all; I meant "the filesystem in combination with the drivers and support utilities". But still, at least superficially, ZFS is a very impressive piece of work.

Now an interesting, and maybe irrelevant thing: the chief architect for BTRFS, Chris Mason, works for Oracle. And what little morsel has Oracle been buying for themselves? Sun. So, Oracle have been supporting a guy working on providing a ZFS competitor for Linux, whilst buying the original, which they should have the possibility of GPL'ing. I doubt that this has any immediate impact, but you do wonder whether Oracle now regret what they have been spending their money on. Maybe, if you are as minted as Oracle, you never notice the small change that you spent on a top developer doing this stuff.
 
Old 02-14-2010, 07:11 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,240

Rep: Reputation: 121Reputation: 121
It seems like they're over-reaching on this one by duplicating services already provided by the kernel.
 
Old 02-14-2010, 08:42 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,201

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I disagree - the support tools for a filesystem implemented on a LV are a can of worms. Look at something as simple as resizing. What about removing a PV. What about data integrity ...
Much better to do it in the filesystem itself. Similar to zfs - which Linus won't allow unless the license changes.

I don't use BTR yet, but I will be.
 
Old 02-15-2010, 04:31 AM   #5
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,894

Rep: Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774
Quote:
Originally Posted by syg00 View Post
Similar to zfs - which Linus won't allow unless the license changes.
True, but you can try out ZFS via FUSE. Don't know what performance impact that has, though.

Quote:
I don't use BTR yet, but I will be.
Well, I am not prepared to commit to it until I have a better idea of how the performance numbers look (err, confusing is the usual answer), but I expect to avoid ext4 and jump to BTRFS, when the time is right. Although if BTRFS is much delayed in getting out what I consider an adequately stable version, or the perf numbers look worrying, maybe I'll reconsider.
 
  


Reply

Tags
lvm


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: eyeOS: Clouds for the Crowd LXer Syndicated Linux News 0 01-31-2009 02:30 PM
LXer: Does the Crowd Knows Best? LXer Syndicated Linux News 0 09-07-2008 12:10 PM
LXer: Meet the KDevelop Crowd LXer Syndicated Linux News 0 02-08-2008 07:30 PM
A question on Eclipse and Rational satimis Linux - Software 2 02-27-2005 05:59 AM
Nice to get in before the crowd :-) MasterC General 4 08-27-2002 09:49 AM


All times are GMT -5. The time now is 11:51 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 Google+: linuxquestions
Open Source Consulting | Domain Registration