News for hackers. Stuff that matters.
Re:Native ZFS for Linux by steve19 on Thursday September 23, 2010 @06:31AM (#1719141)
It has been successfully ported to FreeBSD and now there is a functional Linux ZFS kernel port too

So this is a port and therefor CDDL licesned and no able to be merged into the mainline Linux Kernel, right?

Is ZFS still a hot commodity with BTRfs just around the corner?

Re:Native ZFS for Linux by ssmoot on Thursday September 23, 2010 @09:25AM (#1719516)
I've heard about btrfs being "just around the corner" for a good while now. ZFS on Nexenta and even FreeBSD is pretty robust. It's a great storage platform. I wouldn't let waiting on a stable btrfs make my SAN/NAS decisions for me.

The other concern in that realm is that when you're centralizing storage concerns to lower costs, boost performance and increase reliability you don't want software issues or corruption to take down your entire business.

ZFS can be a painful enough learning curve when it comes to that environment. I wouldn't trust btrfs until it's been stable for a couple years there. And outside of that environment, there are plenty of good stable alternatives for the DAS space. While ZFS is nice there, and I'm sure btrfs would be as well, that's not the bread and butter for these systems.

Re:Native ZFS for Linux by Andys on Thursday September 23, 2010 @09:33AM (#1719543)
I believe btrfs comes with Ubuntu 10.10
Re:Native ZFS for Linux by alphabeat on Thursday September 23, 2010 @09:39AM (#1719565)
Can you provide a source for that? Sounds exciting.
Re:Native ZFS for Linux by spahl on Thursday September 23, 2010 @09:48AM (#1719595)
It was supposed to get into 10.10 for testing but according to the blueprint it was deferred (https://blueprints.launchpad.net/ubuntu/+spec/foundations-m-...).
Re:Native ZFS for Linux by rm-rf on Thursday September 23, 2010 @11:19AM (#1719918)
I still see btrfs as years behind zfs as measured strictly by maturity (not features), and therefore consider it to be at least a few years away from being usable in situations where an advanced file system really matters (mission critical databases, 30+TB file systems, etc.)

ZFS has been around 4-5 years, yet in the last few months we hit a severe data loss bug (ZIL corruption) and a service affecting ZFS cache performance bug (ARC cache maintenance routine with math error).

I'd assume that btrfs will have similar teething pains.

Re:Native ZFS for Linux by lmz on Thursday September 23, 2010 @07:33AM (#1719243)
It will be interesting to see what happens with btrfs when Oracle now has Solaris and ZFS.
Re:Native ZFS for Linux by nailer on Thursday September 23, 2010 @10:41AM (#1719782)
Chris Mason pasted about this: according to him, nothing (remember BtrFS is btree based, ZFS isn't).
Re:Native ZFS for Linux by lmz on Thursday September 23, 2010 @08:34PM (#1722125)
This post[1] maybe? I just have some difficulty believing Oracle would continue to fund btrfs when they have ZFS. Then again, the code is already out there, the developer can simply move to Red Hat / IBM / Canonical / wherever and continue working if funding is pulled.

[1]: http://www.linux-foundation.org/weblogs/amanda/2009/06/22/a-...

Re:Native ZFS for Linux by nailer on Friday September 24, 2010 @03:29AM (#1722985)
Why? Asides from the BtrFS having btrees and some (acknowledged by the ZFS developers) better design decisions (see the btrfs wikipedia page), ZFS keeps Solaris customers locked into Solaris and away from Linux.
Re:Native ZFS for Linux by lmz on Friday September 24, 2010 @11:04AM (#1723839)
Oracle owns Solaris now. Why would they not want to lock their customers into Solaris?
Re:Native ZFS for Linux by nailer on Friday September 24, 2010 @05:20PM (#1725480)
Yes. We agree.
Re:Native ZFS for Linux by patrickgzill on Thursday September 23, 2010 @06:37AM (#1719149)
I would say yes, given my experience with ZFS of a number of years in production.
Re:Native ZFS for Linux by mhansen on Thursday September 23, 2010 @07:00AM (#1719196)
Please explain?
Re:Native ZFS for Linux by patrickgzill on Thursday September 23, 2010 @08:22AM (#1719334)
It makes a lot of the common sysadmin tasks a whole lot easier.

For instance, creating raid sets - by default it works with whole disks, which is exactly what you want 99% of the time (but you can specify a partition if you really want to).

Want to check whether there is a data corruption error?

"zpool scrub poolname" and it will go through all the disks on that pool, using the built-in ECC to verify that the data on the disks is OK. If not, it will try to fix it.

"zpool status -v" lists all the disks, which mirrors or RAID sets each is part of, and when the last scrub was performed, along with errors or ECC problems.

The one suggestion I would make for the btrfs guys is to really work on making the CLI commands simple and intuitive.

Re:Native ZFS for Linux by ssmoot on Thursday September 23, 2010 @09:28AM (#1719524)
Minor correction, Scrub just rewrites all data. And since ZFS is copy-on-write and compares new blocks to old, you'll find corruption or bad blocks that way.

Also, since ZFS doesn't dedupe (just don't use it) or compress at rest, a scrub is the practical way to apply changes to those settings to the existing blocks already on disk.

Re:Native ZFS for Linux by patrickgzill on Thursday September 23, 2010 @06:00PM (#1721677)
Good point, this post talks about their need to rewrite the scrub code to fix a bug and make it faster. http://blogs.sun.com/ahrens/entry/new_scrub_code
Re:Native ZFS for Linux by bensummers on Thursday September 23, 2010 @07:50AM (#1719270)
Would you like to be one of the first to discover a data-loss bug in brtfs? If not, you probably want the tried and trusted ZFS.
Re:Native ZFS for Linux by spahl on Thursday September 23, 2010 @08:29AM (#1719351)
I wouldn't really call this ZFS port "tried and trusted". :-D
Re:Native ZFS for Linux by bensummers on Thursday September 23, 2010 @11:46AM (#1720020)
I wouldn't use it on Linux! Obviously Solaris would be the 'best' place to use it.

But even after a port, the underlying FS will have many more years of production use than brtfs. You might find bugs in the interface between the kernel and ZFS, but hopefully they wouldn't mess with any of the core fs code.

Re:Native ZFS for Linux by sigil on Friday September 24, 2010 @01:36AM (#1722824)
Fully agree there. FreeBSD has had ZFS for 3+ years, and I still see some serious issues once in a while. Beware all new filesystems.
Re:Native ZFS for Linux by wazoox on Thursday September 23, 2010 @09:08AM (#1719462)
Actually you can't even distribute binaries at all. Btrfs is quite far from being "around the corner". A solid, dependable filesystem must be in the wild for a couple of years to be called "production ready".
Re:Native ZFS for Linux by nailer on Thursday September 23, 2010 @09:18AM (#1719492)
RHEL6 is shipping btrfs as a 'tech preview' (like, say, SystemTap used to be). So yeah, maybe 2 years, maybe 18 months, but the point is: the time starts pretty close to now.
Re:Native ZFS for Linux by wazoox on Thursday September 23, 2010 @02:01PM (#1720602)
Given that I actually was hurt by bugs in filesystems as old and stable as xfs, I'd still wait a little more than that before using btrfs in a large scale. I'll build and set up about 1.2 PB of storage this year....