this post was submitted on 24 Mar 2025
769 points (100.0% liked)

linuxmemes

23908 readers
1294 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] [email protected] 81 points 1 day ago (3 children)
    [–] [email protected] 5 points 9 hours ago (1 children)

    As someone who uses btrfs mostly (sometimes ext4, but I don't really know why...), can someone explain the benefits of ZFS over the previous two I mentioned?

    [–] [email protected] 9 points 8 hours ago (1 children)

    The two biggest benefits are that it's basically a finished implementation of btrfs (see data corruption in large pools and raid 5 and 6), as well as being able to encrypt and compress at the same time.

    Plus, and I don't know if this is a ZFS-specific thing, being able to group disks into VDevs and not just into one big raid.

    [–] [email protected] 3 points 8 hours ago (3 children)

    Thanks for the info. Does ZFS allow for easy snapshotting like btrfs? Or like the stuff in the backend that allows you to do things like, say, edit a filename while the file is open?

    [–] [email protected] 5 points 7 hours ago

    edit a filename while the file is open?

    that should work on all filesystems on linux, shouldn't it? linux keeps file handles by inode number, not filename. this is also the reason system updates can happen while everything is running, because replacing the open files is possible too, and the processes that opened it earlier keep seeing the old version of it

    [–] [email protected] 3 points 8 hours ago

    Snapshots like btrfs, yes. But I think every copy-on-write system can do that. But I don't know about the rest.

    [–] [email protected] 1 points 6 hours ago

    Does ZFS allow for easy snapshotting like btrfs?

    Absolutely

    edit a filename while the file is open

    Any Linux filesystem will do that

    [–] [email protected] 55 points 22 hours ago* (last edited 22 hours ago) (2 children)

    I wish the licensing would be Linux compatible

    Overall solid but BTRFS has the advantage of being Linux native in the way it works. Right now I wouldn't use btrfs for a critical raid system but it is great for single disks.

    [–] [email protected] 2 points 15 hours ago* (last edited 10 hours ago) (1 children)

    But we have OpenZFS, which is under CDDL (=LGPL). So it's fine.

    Edit: I was wrong, see comment below.

    [–] [email protected] 15 points 14 hours ago (1 children)

    CDDL is not LGPL and is GPL incompatible

    [–] [email protected] 1 points 13 hours ago (1 children)
    [–] [email protected] 12 points 11 hours ago (1 children)

    https://www.gnu.org/licenses/license-list.en.html#CDDL

    Canonical ships ZFS like Nvidia ships proprietary drivers, which seems to work (legally and technically) but it means the development of ZoL is a bit cumbersome and can never be integrated in the kernel development like other filesystems.

    [–] [email protected] 5 points 10 hours ago (1 children)

    Oh dear, I didn't know that. Thanks for the info. I genuinely wish that people would stop using these pushover licenses. I thought it was like the LGPL, but sadly it isn't. At least the base remains free though.

    [–] [email protected] 3 points 8 hours ago

    It's kinda comparable in terms, but because both licenses have comparable copyleft "no rights may be removed and no terms added" restrictions they conflict and can't be merged.

    CDDL came after GPL, and I'm not convinced by the arguments for why it was used (to make some kind of development with commercial modules easier, but this could've been done with GPL + exceptions)

    That license plus patents (which only are freely licensed to the CDDL implementation specifically) means you can't just rewrite it for Linux either. You'd have to wait for the patents to expire and then do clean room reverse engineering.

    [–] [email protected] 4 points 21 hours ago (1 children)

    Isn’t OpenZFS compatible though?

    [–] [email protected] 21 points 20 hours ago (2 children)

    I believe the license isn’t, and would be next to impossible the change.

    https://news.ycombinator.com/item?id=24269167

    [–] [email protected] 4 points 8 hours ago

    Oracle could change it if they wanted to. (They don't care though)

    [–] [email protected] 4 points 18 hours ago (1 children)

    Thanks, TIL. I always assumed the Open version originated on OpenBSD, and therefore licensed under a BSD license. So TrueNAS is technically violating the licenses by using it in their Linux based systems?

    [–] [email protected] 9 points 17 hours ago (1 children)

    Oh Ubuntu even had an edition that defaulted to ZFS. The license violation ship has sailed.

    [–] [email protected] 6 points 16 hours ago (3 children)

    I don’t think that it’s like a patent where the holder has to defend it; Oracle can decide to go after a license violation if they want to.

    I’d imagine that if a real competitor or someone with deeper pockets shipped it, they’d be hearing from the throngs of lawyers that oracle keeps on staff in short order.

    [–] [email protected] 1 points 1 hour ago* (last edited 1 hour ago)

    I guess my point was that if Canonical did it and nothing came of it, and Canonical isn't poor, probably nothing's going to come of it. Proxmox has been shipping ZFS for years, as well as the BSDs. Not a peep.

    [–] [email protected] 9 points 10 hours ago

    Yeah, the fact that ZFS is in Oracle’s hands is the real crime here. I miss Sun.

    [–] [email protected] 1 points 8 hours ago* (last edited 8 hours ago)

    To be pedantic, it's trademarks you have to actively defend. With copyright and patents there's different exceptions, but you can usually sue for at minimum expected license fees (although sometimes you give up the possibility to sue for willful infringement & additional damages if you wait)

    [–] [email protected] 8 points 23 hours ago

    This is the way