this post was submitted on 08 Aug 2024
161 points (97.6% liked)

Linux

48721 readers
1001 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
 

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
you are viewing a single comment's thread
view the rest of the comments
[–] Verat@sh.itjust.works 4 points 4 months ago* (last edited 4 months ago) (1 children)

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.

[–] ryannathans@aussie.zone 2 points 4 months ago (1 children)

Bcachefs is ready for real use?

[–] Verat@sh.itjust.works 1 points 4 months ago* (last edited 4 months ago) (1 children)

In my use it has been pretty stable so far with 7 disks participating (3 caching SSDs, 4 mechanical disks, with 3 copies of metadata and 2 of data), but I'm not using the more experimental features like erasure coding, I will note the on-disk-format has changed twice since it has been in the kernel, and it hasnt been there long, but it has succeeded both on-disk-format upgrades without obvious data loss, and it recently got self healing for some checksum errors, Id say its probably ready for use if the data is backed up, replaceable, or can be gone without (so for me games are all I have that fits this). Otherwise I would use caution if you use it, but I am very optimistic about the future of the FS, as Kent Overstreet (the creator) has taken a lot of care with it.

[–] ryannathans@aussie.zone 2 points 4 months ago (1 children)

I've only been put off with how slow it is in phoronix latest benchmarks

[–] Verat@sh.itjust.works 1 points 4 months ago* (last edited 4 months ago) (1 children)

That's fair, it has changed a bit since then and I'm hoping we get another filesystem benchmark to see if it has improved, and the caching features might offset that on frequently used data, but I don't know how hard that would be to benchmark.

[–] ryannathans@aussie.zone 2 points 4 months ago (1 children)
[–] Verat@sh.itjust.works 1 points 4 months ago

Oh, didnt know that was posted, some of the tests seem to be different from last time, it hasnt regressed but hasnt improved much yet either (from the ones that were the same). It does seem to have pulled ahead of BTRFS since the last test, doubling score in the DBench test, but it still varies a lot compared to the other filesystems it seems, doing worse pretty regularly.