164
submitted 3 months ago by Psyhackological@lemmy.ml to c/linux@lemmy.ml

I want to learn more about file systems from the practical point of view so I know what to expect, how to approach them and what experience positive or negative you had / have.

I found this wikipedia's comparison but I want your hands-on views.

For now my mental list is

  • NTFS - for some reason TVs on USB love these and also Windows + Linux can read and write this
  • Ext4 - solid fs with journaling but Linux specific
  • Btrfs - some modern fs with snapshot capability, Linux specific
  • xfs - servers really like these as they are performant, Linux specific
  • FAT32 - limited but recognizable everywhere
  • exFAT - like FAT32 but less recognizable and less limited
(page 2) 50 comments
sorted by: hot top controversial new old
[-] Matriks404@lemmy.world 6 points 3 months ago* (last edited 3 months ago)
  • Btrfs on my laptop with openSUSE, mainly because it's default, but also for its snapshot capabilities.

  • Whatever file system my default Raspberry Pi installation uses (probably Ext4).

  • NTFS on my main computer With Windows 10, because... well... I don't really have any other choice, although I know there's some kind of 3rd party Btrfs driver for Windows as well and you can ever have boot partition formatted as Btrfs, but I think it's still experimental.

[-] KindaABigDyl@programming.dev 5 points 3 months ago

Ext4 bc of its speed for games and my main files. Btrfs on the root for compression

[-] doubletwist@lemmy.world 5 points 3 months ago

XFS on my server VMs and my laptops and desktops.

ZFS on my file server. I'd use it on my laptops and desktops too (and have done when I was using Xubuntu) but I've switched toFedora which doesn't come with a way to easily install with ZFS and I don't feel like jumping through hoops to get it done. And I can't stand btrfs. I don't know what it is about it, but I just don't like it.

[-] nyan@sh.itjust.works 5 points 3 months ago

ext4 on all hard disks, but my installs are all several years old at this point, and I might choose differently if I were starting over from scratch. The boot partition on the ancient laptop might actually be ext2; I don't remember and it's certainly old enough that that might still have been preferred Gentoo procedure when I first set it up. Removable media might be ext3, ext4, or vfat, depending on compatibility needs and how long ago I formatted it. If I buy an SD card or USB stick that turns out to be preformatted in exFAT, I reformat it before use to ensure everything can read it.

They're all solidly reliable filesystems (well, except for the vfat), but perhaps not the most featureful.

load more comments (1 replies)
[-] ghjones@beehaw.org 5 points 3 months ago

A combination of XFS and ZFS. I work in high performance computing (academic). While I love the reliability of ZFS for data archival and peace of mind that results provably haven’t suffered bitrot, sometimes I just need a 10 TB temp file(s) with fast mostly-sequential R/W. Appropriate selection of file systems lets me have both.

[-] ghjones@beehaw.org 4 points 3 months ago

As an aside, I’ve been watching bcachefs with some interest, as it seems to be getting faster with every kernel release, building on the data integrity guarantees of ZFS while pushing performance boundaries and being GPL compatible (i.e. in tree). Kent Overstreet et al. have done a fantastic job with this FS.

[-] VinesNFluff@pawb.social 4 points 3 months ago* (last edited 3 months ago)

Btrfs main boot drive

Xfs main storage drive

exFAT external "archive" drive (easy to connect to Windows machines if ever I need my backup in someone else's windows machine in an emergency and such)

load more comments (2 replies)
[-] possiblylinux127@lemmy.zip 4 points 3 months ago* (last edited 3 months ago)

Defaults

So Btrfs, ZFS and ext4 for virtual

load more comments (2 replies)
[-] seaQueue@lemmy.world 4 points 3 months ago* (last edited 3 months ago)

Btrfs, ZFS and ext4. My servers use ZFS, my client machines mostly use btrfs and I have a sprinkling of ext4 partitions for specific workloads. I'm all in on CoW filesystems for snapshots, send receive, transparent compression and reflinks. I like btrfs on client machines and SBCs because it's easily available (baked into the kernel) and doesn't require maintaining dkms or holding kernel versions until ZFS supports them and because snapshot handling and other filesystem admin tasks are simple and straightforward. I run ZFS wherever data integrity is important, eg: storage servers and backup targets, but largely prefer working with btrfs.

[-] n2burns@lemmy.ca 4 points 3 months ago

It's all Ext4, but I run SnapRAID on top of that on my data drives. I'm sure lots of people would tell me I should use ZFS/BTRFS instead, but I'm used to SnapRAID, and I like the idea if something goes wrong, I won't lose all my data.

[-] Verat@sh.itjust.works 4 points 3 months ago* (last edited 3 months ago)

I use bcachefs for my games, I like that it lets me have multiple disks with redundant data copies, plus ssd caching of frequently accessed files, this fs is linux specific for now as far as I know, and is still experimental. I use ext4 for everything else, and FAT32 for flash drives.

load more comments (6 replies)
[-] kbal@fedia.io 3 points 3 months ago* (last edited 3 months ago)

ext4, but the btrfs activity visible in the kernel changelog has slowed down recently after a long period of many bug fixes, so maybe I'll give it a try next time.

load more comments (1 replies)
[-] featured@lemmygrad.ml 3 points 3 months ago

ZFS for my server’s root pool and main storage pool. Ext4 with snapraid for my media pool. Currently btrfs on my desktop and ext4 under vanillaos on my laptop (not sure if I could partition it manually to use btrfs but I’m considering that for snapshots)

[-] Takios@discuss.tchncs.de 3 points 3 months ago

We use btrfs for the / partition and xfs for any data partitions. Has served us well, the snapshot feature saves us some valuable time when an update goes awry.

load more comments (2 replies)
[-] savvywolf@pawb.social 3 points 3 months ago

I've been basically using btrfs on a lot of my disks because of the features it has.

Before I switched to a borg based system, my backups partition used btrfs for compression.

My main OS disk is btrfs so I can use timeshift snapshots, which are really worth checking out if you tinker with your system a lot.

I have two more btrfs partitions software raid0'd together for my steam library, nix store and other big but loosable things.

And my main home folder uses btrfs because I think the checksumming thing it does is more reliable for error detection, and cow is more fault tollerant on power failure?

... And I now fell like I'm one of those people with an over engineered storage solution. I just never get rid of old ssds or hard disks!

[-] eager_eagle@lemmy.world 3 points 3 months ago

F2FS, because solid state and speed

load more comments (4 replies)
[-] lnxtx@feddit.nl 3 points 3 months ago

Depends. Slower desktop machines XFS.
Standard desktop XFS, if it has a smaller SSD, Btrfs.
Home server ext4/XFS + ZFS. Generic servers at work ext4/XFS, backup/storage servers ZFS.
Database server, experiment with ZFS with compression enabled - ratio 2:1, but encountered problems (probably a bad HBA model), standard ext4/XFS.
Hosts with virtualization, small server - XFS, big server - ZFS (technically a ZVOL).

[-] CatLikeLemming@lemmy.blahaj.zone 3 points 3 months ago

Btrfs because it sounded cool when I first read about it and worked fine so far :3

load more comments (2 replies)
[-] greywolf0x1@lemmy.ml 3 points 3 months ago

dual boot NixOS and FreeBSD on a single drive, ext4 on Nix and ZFS on FreeBSD. each partition has its own boot, swap and root, all encrypted

btw, OP wrote that FAT32 is limited, isn't it the default fs for the boot partition? can other fs like ext2/3 be used?

[-] drwho@beehaw.org 3 points 3 months ago

Servers - btrfs. Fewer layers of abstraction, easier to manipulate.

Laptops - ext4. I don't do anything weird with the onboard storage, plus it supports fscrypt.

Flash drives - exFAT. I usually need to access them on multiple platforms and exFAT is about as cross-platform as VFAT (but supports bigger files).

[-] mayidar@lemmy.world 3 points 3 months ago

I use Btrfs for my root partition to be able to rollback if something goes wrong after update. XFS: in all other cases, since I hate the lost+found directory on ext4. Although I don't think there's any significant difference between ext4 and xfs in performance and reliability.

load more comments (5 replies)
[-] PoopMonster@lemmy.world 3 points 3 months ago

Whatever my installation CD had as default 😂. I'm guessing ext4?

load more comments (2 replies)
load more comments
view more: ‹ prev next ›
this post was submitted on 08 Aug 2024
164 points (97.7% liked)

Linux

48052 readers
679 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