this post was submitted on 24 Mar 2025
891 points (98.1% liked)

linuxmemes

24043 readers
2115 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
    [–] prole@lemmy.blahaj.zone 10 points 4 days ago (2 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?

    [–] ZkhqrD5o@lemmy.world 13 points 4 days ago (2 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.

    [–] timbuck2themoon@sh.itjust.works 4 points 3 days ago (1 children)

    Tbf, the one thing I find nice, at least for home users, is the ability to throw JBOD and it makes it all work. Less cumbersome for newcomers. Zfs needs disks of the same size or it will only group disks into a vdev and use the smallest of the disks for capacity.

    That said, I run zfs and no btrfs anywhere. Had high hopes for bcachefs but..... That's not going particularly well.

    [–] ZkhqrD5o@lemmy.world 3 points 3 days ago

    Different tools, different jobs. On my computer I also use btrfs, but on the family archive server ZFS (TrueNAS Scale). Right tool for the right job.

    [–] prole@lemmy.blahaj.zone 3 points 4 days 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?

    [–] WhyJiffie@sh.itjust.works 8 points 4 days 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

    [–] ZkhqrD5o@lemmy.world 5 points 4 days ago

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

    [–] suicidaleggroll@lemm.ee 3 points 3 days ago

    Does ZFS allow for easy snapshotting like btrfs?

    Absolutely

    edit a filename while the file is open

    Any Linux filesystem will do that

    ZFS is more than just a filesystem, it's a fully-integrated disk management system which replaces mdadm, LVM, LUKS, nfsd, rsync, as well as the filesystem. It's great for NAS boxes and file servers, since you can give it a big pile o' disks, and it slices and dices, and offers simple commands to create whatever volumes you need.