wargreymon2023, (edited )

FS is for nubz, do these instead:

Read


<span style="color:#323232;">dd if=/dev/sda of=/dev/stdout
</span>

Write


<span style="color:#323232;">dd if=/dev/stdin of=/dev/sda
</span>
nialv7, (edited )

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.

communist,
@communist@beehaw.org avatar

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

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

toastal,

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.

NotAnArdvark,

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.

Andromxda,

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

Eyck_of_denesle,

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

leopold,

Not just snapshots. Also compression and CoW.

joel_feila,
@joel_feila@lemmy.world avatar

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

Andromxda,

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

therealjcdenton,

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

LiamMayfair,

Btrfs. It was the default filesystem already when I used Fedora on both my personal and work laptops. Not a single problem. It is true I don’t really make much use of most of its advanced features like snapshotting, CoW, etc., but I also didn’t notice any difference whatsoever in stability compared to ext4 so I’m pretty happy with it as my new default.

TheAnonymouseJoker,
@TheAnonymouseJoker@lemmy.ml avatar

EXT4 for Linux. exFAT for removable drives. Never regretted.

I am not interested in fancy technologies. EXT2/3/4 has been here for a few decades.

verdigris,

Ext4 for most home users, because it’s simple and intuitive. Btrfs for anyone who has important data or wants to geek out about file systems. It’s got some really cool features, but to actually use most of them you’ll have to do some learning.

HarriPotero,
@HarriPotero@lemmy.world avatar

btrfs every day of the week. The only scenario where I’d even consider something else is for databases that would suffer from CoW.

I’ve been running it on my home server since 2010. The same array has grown from 6x2TB to 6x4TB, one disk at a time as they’ve failed. Currently sitting at 2x18TB+1x4TB. No data loss even though many drives have failed.

Samsy,

I prefer ext4 on HDD and f2fs on flash devices.

TheAnonymouseJoker,
@TheAnonymouseJoker@lemmy.ml avatar

exFAT is best for removable drives.

Samsy,

For interoperability, yes. But with flash devices I mean ssd and nvme.

TheAnonymouseJoker,
@TheAnonymouseJoker@lemmy.ml avatar

If you are using the drive between Linux, Windows, MacOS and Android, exFAT is going to be the supreme choice. It is what I use for flash sticks and external HDDs.

Scribbd,

Also taking f2fs for a spin.

As far as I have experienced (I didn’t measure this): don’t use that partition for container layers. It might just be my system, but f2fs has slowed my container engine down a bit.

Samsy,

I excactly doing this. I run coreOS with f2fs and it runs really fast. No issues so far.

Scribbd,

Totally accepting it is my system being slow. It is a openwrt router after all.

tearsintherain,
@tearsintherain@leminal.space avatar

ext4 unless you need features offered by another FS.

billgamesh,

Especially just getting into linux. Ext4 works well enough, when you learn enough to care about what it doesn’t do well try something then

qui,

I prefer using ext4 for stability. But if stability doesn’t matter to you, you should use BTRFS.

OsrsNeedsF2P,

As someone who ran BTRFS for years, I’m personally switching back to EXT4. Yes, the compression and other features are nice, but when things go wrong and you have to do a recovery, it’s not worth the complexity

pastermil,

Care to explain?

OsrsNeedsF2P,

When booting into a live CD, mounting the various subpartitions is super annoying.

When your disk space hits full, things break uncontrollably because different programs don’t have a consistent measurement of how much space is left.

When shrinking partitions, you can lose data if you shrink it too much. I’m not talking about forced overrides of any configs, I’m talking about things like KDE Partition Manager.

All of these things can be excused one way or another, but at the end of the day I just want a stable filesystem that doesn’t lose my docs.

pastermil,

Ah yes, the free space calculation stuff is still a mess.

Overall, I’ve been daily-driving btrfs on some system and it’s been treating me well. But yeah, they still got a long way to go.

possiblylinux127,

I’ve found it much easier and way more reliable. If I pull out the power on ext4 it is likely to cause corruption and sometimes you can’t fix it.

Btrfs is pretty much impossible to completely corrupt. I’ve had drives fail and I didn’t lose anything

OsrsNeedsF2P,

Lemme say this - While complex, I can vouch for recovering files on BTRFS. I can’t vouch for recovering files on ext4, because I never had to.

kixik, (edited )

How about bcachefs. I’m waiting for it to support swapfiles, which seems to be in the TODO list, but so far doesn’t work. If you use swap partition[s], or prefer not to have swap at all (I never fell for this, and besides swap is required for hibernation if that’s a thing for you), then bcachefs is ready for you. It’s already part of linux since 6.7, and on Artix, current linux is 6.8.9…

To me is the FS to use. I’m still on luks + ext4 (no LVM) and do entire home backups with plain rsync to an external device. I’d have to learn new stuff, since ext4 is really basic and easy to configure if in need, but I think bcachefs is worth it, and as mentioned, just waiting for it to support swapfiles, :)

Kajika,

Thank you for sharing this. I didn’t know this FS yet. It seems new and have some nice goals. I always have a grudge against zfs/btrfs because of the resource usage/performance.

I’ll keep an eye on this. I’d love to find some benchmarks.

toastal,

Not yet, but bcachefs will be the future as the goals replicate most of OpenZFS while not having that licencing issue.

LeFantome,

No love for bcachefs?

pastermil,

Chill. That thing just hit the mainline.

downhomechunk,
@downhomechunk@midwest.social avatar

Thank you brave pioneers. I just felt confident to switch to btrfs last year.

OneRedFox,
@OneRedFox@beehaw.org avatar

It’ll probably be my favorite filesystem in 2030.

kixik, (edited )

Uff, somehow missed your post. See mine. That’s the FS I’m hoping to use next. I’m waiting for it to support swapfile, or alternatively read from official sources they won’t ever support it, :). But yes, that’s the one I’m looking forward to use.

possiblylinux127,

Don’t use it quite yet

FractalsInfinite,

Why not? It seems to be working fine.

nexussapphire,

Let me install it on my main PC, the one I do work on.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • normalnudes
  • DreamBathrooms
  • osvaldo12
  • magazineikmin
  • khanakhh
  • tacticalgear
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • ethstaker
  • Durango
  • kavyap
  • ngwrru68w68
  • megavids
  • InstantRegret
  • cubers
  • modclub
  • everett
  • thenastyranch
  • cisconetworking
  • Leos
  • GTA5RPClips
  • tester
  • vwfavf
  • anitta
  • provamag3
  • JUstTest
  • All magazines