What Filesystem?

cianmor@lemmy.world to Linux@lemmy.ml – 87 points –

What filesystem is currently best for a single nvme drive with regard to performance read/write as well as stability/no file loss? ext4 seems very old, btrfs is used by RHEL, ZFS seems to be quite good... what do people tend to use nowadays? What is an arch users go-to filesystem?

120

You are viewing a single comment

btrfs is great for system stability because of snapshots. You can set it up to automatically make snapshots at a timed interval or every time you run pacman.

If something breaks, you can just revert to a previous snapshot. You can even do this from grub. It's a bit hard to set up, so if you want, you could use an arch based distro which automatically sets it up like GarudaOS.

Too bad btrfs still doesn't support encryption natively, unlike ext4.

How much is ext4 filesystem-level encryption actually used though?

I guess not much on desktop Linux, but every Android phone uses it. Really wish every Linux desktop would start encrypting their /home partition by default, which is the standard by many other operating systems.

I'm pretty sure default Android runs almost always on F2FS.

Got any source for that? Android has traditionally always used ext4 afaik, not sure if that changed in the last few years.

Wiki says:

Motorola Mobility has used F2FS in their Moto G/E/X and Droid phones since 2012. Google first used F2FS in their Nexus 9 in 2014. However Google's other products didn't adopt F2FS until the Pixel 3 when F2FS was updated with inline crypto hardware support.

Huawei has used F2FS since the Huawei P9 in 2016. OnePlus has used F2FS in the OnePlus 3T. ZTE has used F2FS since the ZTE Axon 10 Pro in 2019.

I assume since Google is involved that more and more Android phones will adopt F2FS in the future.

So only a handful of devices support F2FS right now and is not the default

It's still quite a lot. Samsung is the inventor of F2FS and has a market share of 33%.

1 more...
1 more...
1 more...
1 more...

Or OpenSUSE , all setup out of the box for btrfs, snapshots, grub rollback, and cleanup timers, etc.

Wow, first time I've seen GarudaOS recommended by someone who's not me. Awesome distro, daily driver on my gaming rig.

I use it for home and work! I quite like it though I miss latte dock still, dragging windows from the top bar was just so useful for me

1 more...