Just a simple question : Which file system do you recommend for Linux? Ext4…?

EDIT : Thanks to everyone who commented, I think I will try btrfs on my root partition and keep ext4 for my home directory 😃

2 points
*

FS is for nubz, do these instead:

Read

dd if=/dev/sda of=/dev/stdout

Write

dd if=/dev/stdin of=/dev/sda
permalink
report
reply
4 points
*

Well since so many people recommend btrfs because “it have never lost any data for me”. I want to suggest OP to never use btrfs ever. Because it has lost my data, at least three separate times, the most recent time a week ago. And it’s not because of a power loss or anything, it just corrupted my files for absolutely no reason at all.

Stay away from btrfs at all costs.

permalink
report
reply
2 points

“It’s never lost data for me. Yet” is what they mean.

I totally agree, the only file system I’ve lost data with as a result of a file system corruption not caused by hardware errors or power problems in 35 years has been btrfs. FAT even served me better.

permalink
report
parent
reply
4 points

I use f2fs on ssd’s and ext4 on hdd’s

I don’t see the need for snapshots, I backup externally

permalink
report
reply
1 point

f2fs doesn’t track file creation times. I thought I was ok with this, but, the longer I used it the more places it started to become an issue. Now I have all these notes that were created in 1970 and it just really takes away a powerful way of searching and organizing my notes.

permalink
report
parent
reply
2 points

SSDs* HDDs*

f2fs does one of the weirdest things with compression by default: the files are compressed but they still take up the same amount of blocks as the uncompressed files. This can get you the slight performance boost of compressed files, but doesn’t actually save you space which is an odd choice. You can enable a flag in the kernel but it has other effects as well.

permalink
report
parent
reply

Btrfs is cool because it supports snapshots, if you don’t plan on using these, just go with ext4

permalink
report
reply
1 point

Umm correct if um wrong but cant you make a snapshot of ant file system

permalink
report
parent
reply

Sure, but btrfs has some built-in tools for this and makes it pretty easy

permalink
report
parent
reply
1 point

Not just snapshots. Also compression and CoW.

permalink
report
parent
reply
9 points

I don’t use snapshots but i love the compression.

permalink
report
parent
reply
8 points

Do what OpenSUSE Tumbleweed suggests, make a brtfs partition for your system and xfs/ext4 for home parition

permalink
report
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

  • 8.9K

    Monthly active users

  • 5.6K

    Posts

  • 154K

    Comments