There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

What file systems are you using on your devices and why?

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
Diplomjodler3 ,

Ext4 cause that’s the default and I’m lazy.

bionicjoey ,

Based

avidamoeba , (edited )
@avidamoeba@lemmy.ca avatar

Ext4 and ZFS.

  • Ext4 for system disks because it’s default in OS installers and it works well. I typically use it on top of LVMRAID (LVM-managed mdraid) for redundancy and expansion flexibility.
  • ZFS for storage because it’s got data integrity verification, trivial setup, flexible redundancy topologies, free snapshots, blazing fast replication, easy expansion, incredible flexibility in separating data and performance tuning within the same filesystem. I’d be looking into setting up ZFS on root for my next machine. Among other things that would enable trivial and blazing fast backup of the system while it’s running - as simple as syncoid -r rpool backup-server:machine4-rpool.
xilliah ,

Thank you little amoeba 🦠

avidamoeba ,
@avidamoeba@lemmy.ca avatar

biased random walk dance

nobleshift ,
@nobleshift@lemmy.world avatar

ZFS

scottmeme ,

ZFS, got 5 system with different zpools

avidamoeba ,
@avidamoeba@lemmy.ca avatar

On root?

ryannathans ,

Mine is

scottmeme ,

I do have 1 system with ZFS mirror boot drives

avidamoeba ,
@avidamoeba@lemmy.ca avatar

Did you use an installer to do it or manual setup?

scottmeme ,

Proxmox install on the zfs mirror boot plus some other pools, everything else is currently truenas single boot drive with pools

I do have other proxmox stuff running zfs*

ryannathans ,

ZFS where possible for maximum reliability

It also has self healing, no “partitions”, high performance, compression, smart drive redundancy without RAID holes, encryption, deduplication and an extremery intelligent cache called ARC

Ooops ,
@Ooops@feddit.org avatar

BTRFS raid on LUKS-encrypted devices (no LVM, all unlocked with one password via SystemD encrypt hooks).

ChickenPasaran ,
@ChickenPasaran@piefed.social avatar

Ext4 with LVM.

I like BTRFS and it's features but sadly Debian doesn't have a preset for it in it's installer so the only way to use it is to manually partition and I absolutely suck at that.

fossphi ,

Btrfs, for the compression and CoW. I’ve been using it since a couple years. It seems stable for my use. I need to fully wrap my head around how snapshots work, though.

henfredemars ,

You mentioned CoW. I’m really taking advantage of this because I have multiple Wine prefixes that have lots of duplicate data. I want to give every application it’s own prefix, and my underlying file system allows me to duplicate the blocks so the prefixes are basically free where before it’s several hundred megabytes just to make a new prefix.

henfredemars , (edited )

I care a lot about filesystems.

BTRFS in FS-managed RAID configuration for automatic self-healing and snapshots for instant automated backups (though I keep a traditional backup too for protection against bugs and user error).

Storage is cheap compared to how much I value my data. BTRFS has very good support on Linux, integration with some backup tools, and I really want to use a FS that has full data checksums to make sure the data stays correct at rest. I like that I don’t have to use equal sized drives and can use whatever I have available, though I would appreciate a better read distribution model rather than the current where it just chooses a random drive to read from when multiple copies are available.

Disadvantages include difficulty accessing from Windows in my experience, less than stellar performance on HDDs, not very space efficient for small files systems because of the bulky metadata, and some uncommon RAID types don’t work correctly and will eat your data. I also don’t recommend it for use over USB because many such devices don’t correctly implement sync, and this is very important to stay on the correct transaction number and prevent file system inconsistencies. If I had to boot from USB, I wouldn’t pick BTRFS.

I don’t think exFAT or FAT32 offer POSIX permissions. I’m not sure if you could have a root file system there.

whostosay ,

|I care a lot about filesystems.

Damn bro, I didn’t think I was gonna cum in /linux

_thebrain_ ,

Have you seen/tried github.com/maharmstone/btrfs ?

I have heard it is decent but have never had a need to try it.

henfredemars ,

Yes I have and it caused file system corruption the two times I tried it. Something wasn’t quite right.

Telorand ,

So, genuine question: why btrfs instead of zfs? Sounds like your use case would fit the latter.

Kualk ,

BTRFS is zero effort on root, because it is included in kernel. ZFS on root is extra effort at least on Arch, due to licensing restrictions.

henfredemars ,

Does ZFS handle data duplication on unequal sized volumes or heterogeneous pools? I don’t believe so, and BTRFS was a first class installer option.

thingsiplay ,

Ext4 for everything when possible, because its reliable and proven. I’m looking towards Btrfs for my next system drive, as it is mature now and has good features. But I would use Ext4 for everything else still. For interoperability that doesn’t understand Ext4 it would be NTFS when supported, otherwise fallback to FAT32.

That’s the entirety of my knowledge and what I use when I have to format it myself. :D

henfredemars ,

I respect your reliable and proven comment. I really love the features of BTRFS and that’s why I use it, but I also really care about my data. I have secondary installations that use EXT4 and work very well.

Magister ,
@Magister@lemmy.world avatar

Btrfs in a luks container so it’s encrypted.

GolfNovemberUniform ,
@GolfNovemberUniform@lemmy.ml avatar

Ext4 is the only good FS so that’s what I use.

henfredemars ,

Many different file systems are successfully used in production on a large scale that aren’t EXT4.

mat ,
@mat@linux.community avatar

Honestly I saw btrfs in the arch install guide and read about it because I thought the name sounded funny. I used it until I distro hopped to NixOS couldn’t figure out how to install it with btrfs, so I’m back on ext4.

Maybe I’ll give it another try next hop, which is likely soon since Qt theming seems impossible on Nix. :/

Shimitar ,

Ext4 on every Linux device.

Ah i dont have any other kind of devices (android on mobile, but there I have no choices on fs)

Why not btrfs? Don’t know, been using what has kept working flawlessly for me for the last 20+ years, no need to replace ext4.

HarriPotero ,
@HarriPotero@lemmy.world avatar

Been running BTRFS since 2010. Ext2/3/4 before that.

Using it for CoW, de-duplication, compression. My home file server has had a long-lived array of mis-matched devices. Started at 4x2TB, through 6x4TB and now 2x18+4TB. I just move up a size whenever a disk fails.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines