4 ms·
ZFS gets you all of that and raid and snapshots and has been tested time and time again. Why run BRTFS then?
by gigatexal 10y ago
ZFS gets you all of that and raid and snapshots and has been tested time and time again. Why run BRTFS then?
- tylerjd 10y agoZFS is not GPL? I dunno, I like feeling safe when I do kernel upgrades knowing even if for whatever reason my ZFS module doesn't compile/work under the new kernel, I won't be left without a root FS. I have been running BTRFS for 5 years with very little issues, and enjoy not having to compile a new dkms module with every kernel.
- gigatexal 10y agoAhhh yes that is the one ma in n point I missed. Can't argue with that. I've just never had issues upgrading as the zfs on Linux project us fantastic.
- Zancarius 10y agoZFS with DKMS is a disaster, at least in my experience. Honestly, I can't recommend ZoL unless you're running a distro with relatively stable kernel releases that don't change substantially or that happens to be supported by ZoL with binary packages. ZoL on Arch was... trying at times. It worked great, but my paranoia meant that I ended up adding the kernel to IgnorePkg to force manual kernel updates (mostly for my own memory). But then, it also meant having to build all of the ZFS packages (including SPL) tied to that specific version. This usually meant waiting until the AUR packages were updated as I figured that indicated someone else must have tested ZFS on that specific kernel version. I remembered thinking DKMS might solve the problem, but I ended up having to use recovery media just to get an environment to reinstall an older kernel and let DKMS do its thing after a botched update started provoking panics. I suspect a version mismatch based on the errors but never investigated it beyond fixing the problem and moving to the prebuilt modules. Things may have changed, but the Arch ZFS+DKMS packages were a bit flaky and required some manual modification just to boot (should've taken this as a warning!). Granted, it was my fault entirely for being a bit too enthusiastic with ZFS on Arch. To be honest, if I were to use it again, it would be on FreeBSD. Not Linux. I recognize it's fine for other people, but in my use case it wasn't.
- lomnakkus 10y agoYour problem was running it on a distro the didn't support it. (As you acknowledge.) So far it's been running absolutely great for me on several Ubuntu installs.
- Zancarius 10y agoIndeed. Arch is good for a few things, but sometimes stability isn't one of them when it comes to unsupported packages. ;) I'm not sure I'd be brave enough to run ZoL again, but given Ubuntu's FAR wider install base and availability of binary packages, it's the better option if you have to choose. My personal preference would be to stick with ZFS on FreeBSD. Performance is probably better.
- georgyo 10y agoI have been running ZFS on Arch Linux for a little over two years across four drives, and doing weekly updates. Haven't ran into any issues yet.
- Zancarius 10y agoI'm actually surprised by this, but I'd wager that you also didn't use the DKMS AUR packages. I also suspect you wait for the zfs-linux (etc) packages to match the kernel version before updating. Or you manually bump the kernel version and build it, hoping for the best (edgy!).
- nialv7 10y agoArch Linux has a LTS kernel available in official repo. Why not using that?
- Zancarius 10y agoI considered it, but I have some problems with the Arch LTS release cycle. If I were to choose an LTS kernel, why not just dump Arch and go with an Ubuntu LTS, which has better long term support? The other problem is that at the time, the ZFS packages for LTS were pinned at a version that had a known issue with arc_reclaim encountering a deadlock essentially causing the file system to become unresponsive after a substantial transfer (think rsync). Now, obviously, it wouldn't be that difficult to modify the PKGBUILD to pull a newer version of ZFS, but there's a point in time where the maintenance required to update starts to outweigh whatever benefit you can glean from the LTS kernel. That's not the case now since the LTS packages appear to be at v0.6.5.9, which has the fixes, but I don't remember this being true about a year ago.
- Dylan16807 10y agoBTRFS lets you make CoW copies of files. You can even retroactively merge the blocks that store identical files. BTRFS also makes it not a giant pain to remove a file from snapshots. ZFS does seem to work better overall, but I wouldn't call either filesystem great at this point in time.
- rrauenza 10y agoAt the time of the system build, ZFS was user space only on CentOS7 if I recall.