News for hackers. Stuff that matters.
Re:ZFS on Linux 0.7.13 by fxfan on Thursday March 07, 2019 @10:11AM (#19328598)
Which of zfs and btrfs is better on Linux? And which of the two works better with Windows (both have github drivers)? I'm looking to use on a personal computer on a partition shared between Linux and Windows
Re:ZFS on Linux 0.7.13 by usefulcat on Thursday March 07, 2019 @12:37PM (#19330089)
We have been using ZFS for a couple of years now with ubuntu on 4 machines managing a total of ~160 TB of raw storage and have had 0 problems. We chose it mainly because we wanted something very reliable with checksumming and because we consider it to be much more mature and stable than btrfs.

Prior to that we used proprietary RAID hardware that, while fast, did not have checksumming and was frankly a nightmare to manage.

If I had it to do over, I'd choose ZFS again.

Re:ZFS on Linux 0.7.13 by meruru on Thursday March 07, 2019 @10:41AM (#19328886)
I switched to FreeBSD solely because of ZFS, but if I had to use Linux it would be with ZFS too. It's much older and proven. Everything else seems to not be ready yet while ZFS has been stable for years and it keeps advancing ahead of the competition.
Re:ZFS on Linux 0.7.13 by Dylan16807 on Thursday March 07, 2019 @12:25PM (#19329954)
BTRFS can get exceedingly slow if you make lots of snapshots (even if you don't keep very many at a time).

ZFS works well for basic data storage and snapshots, but the deduplication has a ton of overhead and is extremely slow on hard drives. And there is no way to make a plain copy-on-write copy of a file without using the full deduplication mode.

I haven't tried either on windows directly, I've accessed them as a file share via a VM.

Re:ZFS on Linux 0.7.13 by rocqua on Thursday March 07, 2019 @10:17AM (#19328657)
From my research:

ZFS is more stable, has the downside of not allowing expansion of volumes, and has the issue of not being upstreamed.

BTRfs has the option to expand volumes, is native to Linux, but has a wiff of unstability. Most notably with the persisting raid 5 write hole.

I haven't found a good choice yet. Though I think I'd go btrfs at the moment.

Re:ZFS on Linux 0.7.13 by tomatocracy on Thursday March 07, 2019 @11:07AM (#19329159)
Zfs does allow pools to be expanded by adding vdevs.

What it doesn’t allow is for raid sets to be expanded by replacing with larger disks one at a time. This can however be done with mirrored sets. Add new larger discs to the mirror set, wait for resilvering, remove older smaller discs, done.

0.8 will also bring the ability to remove vdevs so effectively shrink a pool through a similar (but slightly different) process.

Re:ZFS on Linux 0.7.13 by mbreese on Thursday March 07, 2019 @12:45PM (#19330165)
But even though you can add vdevs, it doesn’t rebalance the mirror. This means your entire pool, albeit larger, is still slower.

(Unless this is a change that will be brought about in 0.8, I haven’t followed that closely).

Re:ZFS on Linux 0.7.13 by radiowave on Thursday March 07, 2019 @02:31PM (#19331343)
Not quite right - you absolutely can expand raidz vdevs by replacing the disks one at a time. What you can't do is increase the "width" of the raidz, or seamlessly rebalance data between multiple vdevs.
Re:ZFS on Linux 0.7.13 by josteink on Thursday March 07, 2019 @02:08PM (#19331093)
> ZFS is more stable, has the downside of not allowing expansion of volumes

No longer true. I’ve expanded volumes on Ubuntu with ZoL.

Re:ZFS on Linux 0.7.13 by _emacsomancer_ on Thursday March 07, 2019 @11:11AM (#19329192)
I hear btrfs is fine on single drives. ZFS is in general what you want to use if you care about your data, at least in RAID setups.

I imagine either should work fine over SAMBA (if that's what you have in mind for Windows). I know there's some work being done to get ZFS working on Windows, and I don't believe there's anything of the sort for btrfs.