this post was submitted on 11 Sep 2023
4 points (100.0% liked)

Linux

48044 readers
696 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
 

Potentialy dumb question here, is there any benefit to using btrfs on a non system disk? I'm fairly ignorant on file systems, asfaik btrfs largest benefit is snapshotting, not sure of anyothers.

top 8 comments
sorted by: hot top controversial new old
[–] ace@lemmy.ananace.dev 5 points 1 year ago

The main benefits to BTRFS over something like ext4 tends to be considered as; the subvolume support - which is what's used for snapshotting, the granluar quotas, reflinks, transparent compression, and the fact that basically all filesystem operations can be performed online.

I'm personally running BTRFS in a couple of places; NAS, laptop, and desktops. Mainly for the support to do things like snapshots and subvolumes, but I also make heavy use of both reflinks and compression, and I've also made use of online filesystem actions quite a few times.

For a data disk? Absolutely, even if you're not going to configure anything, you can copy inside the partition instantly and detect the bitrot.
If you're willing to step it up a notch, there's also cool stuff like transparent compression, deduplication and incremental send/receive of entire subvolumes.

[–] Hamartiogonic@sopuli.xyz 3 points 1 year ago (1 children)

Using btrfs makes a lot if sense on a NAS, because it allows you to make snapshots in a nice way. It also has some features that give your data better odds of survival if something goes wrong.

[–] cmnybo@discuss.tchncs.de 3 points 1 year ago (1 children)

It's very useful to have on a desktop too. If you break something or have an issue with an update, you can restore a snapshot and be back up and running in less than a minute.

[–] RaivoKulli@sopuli.xyz 2 points 1 year ago

This was specifically about non system disk though

[–] d3Xt3r@lemmy.nz 1 points 1 year ago* (last edited 1 year ago)

non system disk

That really depends on what you mean by that? Is it an internal or external drive, what sort of drive is it (HDD, SSD etc), and what are you going to use it for, and are you planning to share the drive with other operating systems?

Because while btrfs is nice in general, you may find other filesystems more suitable, depending on your usage requirements.

[–] Granixo@feddit.cl 0 points 1 year ago (1 children)

I usually just stick to the standard file system to any OS.

So for Linux that would be ext4.

For external drives i use either FAT32 (the ol' reliable) or exFAT (the fastest for dealing with large files when you set the max allocation unit size AKA 32MB).

[–] falcon15500@lemmy.nine-hells.net 1 points 1 year ago* (last edited 1 year ago)

So for Linux that would be ext4.

It's worth noting that the default file system varies by distro - there is no 'Linux' default. For example, RHEL et al use XFS as the default.