Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: File system testing
Date: Thu, 18 Sep 2014 10:22:27
Message-Id: 2535937.hcvI02tT3m@andromeda
In Reply to: Re: [gentoo-user] Re: File system testing by Rich Freeman
1 On Thursday, September 18, 2014 05:48:58 AM Rich Freeman wrote:
2 > The HTML...it hurts my eyes... :)
3
4 Apologies.
5
6 > > My current understanding is:
7 > >
8 > > - ZFS is production ready, but due to licensing issues, not included in
9 > > the
10 > > kernel
11 > >
12 > > - BTRFS is included, but not yet production ready with all planned
13 > > features
14 >
15 > Your understanding of their maturity is fairly accurate. They also
16 > aren't 100% moving in the same direction - btrfs aims more to be a
17 > general-purpose filesystem replacement especially for smaller systems,
18 > and zfs is more focused on the enterprise, so it lacks features like
19 > raid reshaping (who needs to add 1 disk to a raid5 when you can just
20 > add 5 more disks to your 30 disk storage system).
21
22 Thank you for this info. I wasn't aware of this difference in 'design'.
23 Sounds like ZFS will be more suited for me then.
24
25 > I think btrfs has a bit more hope of being an ext4 replacement some
26 > day for both this reason and the licensing issue. That in no way
27 > detracts from the usefulness of zfs, especially for larger deployments
28 > where the few areas where btrfs is more flexible would probably be
29 > looked at as gimmicks (kind of like being able to build your whole OS
30 > from source :) ).
31
32 Next time I am rebuilding the desktops, I will likely switch them to BTRFS.
33 Sounds like BTRFS will be more suited there.
34
35 > > For me, Raid6-like functionality is an absolute requirement and latest I
36 > > know is that that isn't implemented in BTRFS yet. Does anyone know when
37 > > that will be implemented and reliable? Eg. what time-frame are we talking
38 > > about?
39 > I suspect we're talking months before it is really implemented, and
40 > much longer before it is reliable. Right now btrfs can write raid6,
41 > but it can't really read it. That is, it operates just fine until you
42 > actually lose a disk containing something other than parity, and then
43 > it loses access to the data. This code is only in the kernel for
44 > development purposes and nobody advocates using it for production.
45 > Most of the code in btrfs which is reliable has been around for years,
46 > like raid1 support, and obviously it will be years until the raid5/6
47 > code reaches that point. I am using btrfs mainly because once that
48 > day comes it will be much easier to migrate to it from btrfs raid1
49 > than from zfs (which has no mechanism for migrating raid levels
50 > in-place (that is, within an existing vdev) - you would need to add
51 > new drives to the pool, migrate the data, and remove the old drives
52 > from the pool, which is nice if you have a big stack of drives and
53 > spare sata ports lying around like you would in a SAN).
54
55 Exactly, although I prefer not to change the filesystem on a live system
56 anytime soon. When it comes to redoing the filesystem like that, restoring
57 from backups will be the fastest solution.
58
59 --
60 Joost