News for hackers. Stuff that matters.
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.