165
submitted 4 months ago by lemmyreader@lemmy.ml to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] lemmyreader@lemmy.ml 14 points 4 months ago

Thanks for that! which made me read https://en.wikipedia.org/wiki/Ext3#ext4 Maybe high time for myself to learn more about ZFS.

[-] CosmicTurtle0@lemmy.dbzer0.com 8 points 4 months ago

I love ZFS but support for it on Ubuntu seems haphazard. It works fine for non-root drives.

I've tried running it as my root partition and just gave up after it fucked up my bpool dataset too many times.

[-] avidamoeba@lemmy.ca 2 points 4 months ago

Dis you use the ZFS setup built into the installer?

[-] CosmicTurtle0@lemmy.dbzer0.com 3 points 4 months ago

Yup. It booted fine but after a few reboots, bpool somehow got corrupted and refused to boot. It happened repeatedly after several reinstalls.

[-] qprimed@lemmy.ml 2 points 4 months ago

ZFS hits memory hard and sometimes can bring out latent deficiencies in that hardware. on non-optimal hardware its a bit of a hardware torture test in its own right.

having said that, EXT4 and XFS are wonderful unless you need zfs/btrfs.

[-] avidamoeba@lemmy.ca 2 points 4 months ago

Always run 3-4 passes of Memtest86+ on any newly acquired hardware/RAM modules.

[-] avidamoeba@lemmy.ca 1 points 4 months ago* (last edited 4 months ago)

Yeah, the current implementation from the installer never got beyond the experimental stage when it was first introduced. I saw there's a new "guided setup" in the 24.04 release notes. No idea what it entails yet. I think I've also seen a page for setting it up for / in OpenZFS'es docs. I might try it at some point.

[-] subtext@lemmy.world 6 points 4 months ago

Same here lol, just read through ext{2..4} as well as Btrfs and Bcachefs (and B Trees of course). What a wonderful unplanned deep dive.

[-] mojo_raisin@lemmy.world 2 points 4 months ago

Bcachefs sounds awesome

[-] exscape@kbin.social 6 points 4 months ago* (last edited 4 months ago)

ZFS is really nice. I started experimenting with it when it was being introduced to FreeBSD, around 2007-2008, but only truly started using it last year, for two NASes (on Linux).

It's complex for a filesystem, but considering all it can do, that's not surprising.

[-] avidamoeba@lemmy.ca 3 points 4 months ago* (last edited 4 months ago)

ZFS is boss. I'm already using it for storage. Need to learn how to use it for /.

[-] Peasley@lemmy.world 1 points 4 months ago

Not recommended for single-disk root partitions. This is a mistake I've made myself. Recovery tools are non-existant on ZFS so non-parity setups are inherently risky. If you have root setup on at least raidz1 with at least 2 disks you are fine.

[-] avidamoeba@lemmy.ca 1 points 4 months ago* (last edited 4 months ago)

Personally I wouldn't consider recovery as an option at all because it could easily be unavailable because the SSD failed. Instead, I tend to add a mirror drive and/or keep frequent backups where that's not possible. So from that perspective ZFS is equivalent to Ext4, which I currently use. I'd prefer ZFS over it for it's data verification, snapshotting and datasets features.

[-] Peasley@lemmy.world 1 points 4 months ago* (last edited 4 months ago)

I've successfully recovered data from ext4 on a broken drive on one occasion. I agree it would have been better to have backups so lesson learned I suppose. Still if I'd been on ZFS root with no mirror I'd have been even more SOL

this post was submitted on 13 Apr 2024
165 points (98.8% liked)

Linux

46643 readers
782 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS