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
77 points

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

permalink
report
reply
10 points

That’s a valid reason too. However sometimes btrfs has become the default ;)

permalink
report
parent
reply
3 points

Not in Mint.

permalink
report
parent
reply
2 points

Yeah I think Ubuntu and Debian based distro prefers it for stability reasons. Fedora I think switched to btrfs by default.

permalink
report
parent
reply
9 points

Based

permalink
report
parent
reply
48 points
*

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.
permalink
report
reply
11 points

Thank you little amoeba 🦠

permalink
report
parent
reply
13 points

biased random walk dance

permalink
report
parent
reply
0 points

I’d be looking into setting up ZFS on root for my next machine

I too was on the path of adventure once but then the kernel module hasn’t been built after the upgrade. Also btrfs offers some nice features for root especially that zfs doesn’t have.

permalink
report
parent
reply
1 point

It’s one of the reasons I use Ubuntu LTS, the ZFS module is bundled by default.

Also btrfs offers some nice features for root especially that zfs doesn’t have.

Oh? Elaborate pls.

permalink
report
parent
reply
1 point

You can boot straight into snapshot, may be useful if an update went wrong or you don’t like new kde.

You can change drives and raid configuration online. For example I bought a laptop that had windows preinstalled, so I used the second half of the disk space for linux, then I figured I don’t need windows so I formatted windows partition to btrfs, added it as a new device, moved all the data there, deleted the old linux partition and extended the new one to the whole drive, all that easy and without reboot.

permalink
report
parent
reply
46 points
*

Every year I buy a couple ~$5 USB drives and plug them into my jbod machine in a software raid1. At this point there’s about a hundred in long array of daisy chained USB hubs.

Each drive is formatted with fat32 and added to an LVM. Don’t judge my ghetto NAS.

permalink
report
reply
16 points

Amazing shitpost

permalink
report
parent
reply
6 points

how fast is it?

permalink
report
parent
reply
12 points
*

Roughly the same speed of my dick slicing through frozen butter at the North Pole on January 1st, 1993

permalink
report
parent
reply
3 points

LOL

permalink
report
parent
reply
5 points

I would love to see a complete post about this.

permalink
report
parent
reply
2 points

So would I. I’m really curious about how well it works.

permalink
report
parent
reply
27 points
*

Not only is there btrfs support for Windows, but since windows and linux root structures don’t conflict, someone got both arch and windows booting from the same partition. Is it a good idea? Hell no. But can it be done? Apparently yes.

permalink
report
reply
25 points

ext4 because its the default and works fine

permalink
report
reply
5 points

Never doubted it. Do you use journaling feature on it?

permalink
report
parent
reply
5 points

I like ext4 because it’s easy. If anything breaks, ANY live USB can fix it. I use fat32 for my removeable drives, because anything can read it. I don’t use journalling for anything manually, but I imagine it’s useful when my disk crashes because I let my laptop die

permalink
report
parent
reply
4 points

Wasn’t that the entire purpose of ext4 vs ext3? As the default, I also keep journaling on for ext4 partitions. Even /boot.

permalink
report
parent
reply
1 point

ext3 had journaling, but not ext2. Also ext3 doesn’t really exist anymore as it was merged into the ext4 driver which can read the old format.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 6.4K

    Monthly active users

  • 4K

    Posts

  • 55K

    Comments