Originally posted by finalzone
View Post
Announcement
Collapse
No announcement yet.
Linus Torvalds Doesn't Recommend Using ZFS On Linux
Collapse
X
-
Originally posted by muncrief View Post
Btrfs and Zfs are unstable and Zfs is unsupported as well. That's the problem. In order to detect bit rot with Linux you have to take enormous risks with the data itself because of unstable and unsupported file systems. That's why I said it was a shame.
- Likes 2
Comment
-
Originally posted by nivedita View Post
ZFS is both stable and supported. It's just not supported by the Linux kernel developers, but by a different set of people. Who happen to work at Lawrence Livermore Labs.
I've also tried setting up single disk ZFS systems a few times before and could never get it to work in any case. For example, last time I simply wanted to format 3 individual disks with ZFS, but no matter what I did I suffered data corruption as soon as I started using them. I'm an embedded systems designer and know quite a bit about hardware, software, and firmware but I simply couldn't figure out what was wrong. It seems ZFS is designed to be used in highly complex systems, and if you just want to use it on individual disks it doesn't work.
By the way, I use mergerfs for disk pooling because it's far more versatile than anything else I've ever tried. So as I said in my OP all I need is a file system capable of detecting bit rot. But after all these years I've still never found one.
Comment
-
Originally posted by muncrief View Post
Yes, I saw an earlier link to something about that. The problem is that I constantly read articles like this one about it breaking, and I don't have an IT department like Lawrence Livermore Labs to deal with it.
I've also tried setting up single disk ZFS systems a few times before and could never get it to work in any case. For example, last time I simply wanted to format 3 individual disks with ZFS, but no matter what I did I suffered data corruption as soon as I started using them. I'm an embedded systems designer and know quite a bit about hardware, software, and firmware but I simply couldn't figure out what was wrong. It seems ZFS is designed to be used in highly complex systems, and if you just want to use it on individual disks it doesn't work.
By the way, I use mergerfs for disk pooling because it's far more versatile than anything else I've ever tried. So as I said in my OP all I need is a file system capable of detecting bit rot. But after all these years I've still never found one.
I don't know what went wrong for you, but I've run root on ZFS with ZFS from the git tip, and kernel either latest stable or git tip, and have never suffered data corruption -- there have been crashes, but never data loss. ZFS on a single disk should work just fine as long as something else isn't messing with that disk -- for eg, once I had an issue where I was installing Windows for dual-boot, and it went and decided to install itself on the disks with the zfs pool instead of the boot disk I wanted it to use. But a reboot into linux followed by zfs resilver fixed that with no data corruption.
Comment
-
Originally posted by muncrief View PostI've also tried setting up single disk ZFS systems a few times before and could never get it to work in any case. For example, last time I simply wanted to format 3 individual disks with ZFS, but no matter what I did I suffered data corruption as soon as I started using them. I'm an embedded systems designer and know quite a bit about hardware, software, and firmware but I simply couldn't figure out what was wrong. It seems ZFS is designed to be used in highly complex systems, and if you just want to use it on individual disks it doesn't work.
- Likes 1
Comment
-
Originally posted by Kamilion View Post
Uh, 4.14 about. https://btrfs.wiki.kernel.org/index.php/Gotchas
We're still using it because we need the advanced features, but confidence is definitely shaken after that issue. Storage subsystem was fine, but BTRFS just wasn't writing the data out correctly.
- Likes 1
Comment
-
Originally posted by itoffshore View Post
When you create a ZFS pool with a single disk you should set option "copies=2" so data can be kept consistent (also useful for ZFS on external USB drives)
I simply want to format my individual disks, use mergerfs to pool them in a flexible and simple manner, and detect bit rot and restore files from backups when it occurs.
It's really quite simple, but you can't do it with Linux. And as I've said a few times now, it really is a shame.
Comment
-
Originally posted by wikinevick View Post
BS, the GPL incompatibililty is a mis-interpretation from 1 ex-SUN lawyer. Ask Brian Cantrill or the people involved in OpenZFS, and they have no issues with OpenZFS being used in linux. Oh .. and Canonical has lawyers too.
Canonical can only use OpenZFS on user space (possibly advised by their lawyers) and they are on their own fixing the problem when an update from kernel space breaks those codes which were never supported.
- Likes 1
Comment
-
Comment