LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
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 Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
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: 21,139

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
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: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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