this post was submitted on 30 Jan 2024
36 points (100.0% liked)

Linux

56452 readers
1215 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 6 years ago
MODERATORS
 

cross-posted from: https://programming.dev/post/9319044

Hey,

I am planning to implement authenticated boot inspired from Pid Eins' blog. I'll be using pam mount for /home/user. I need to check integrity of all partitions.

I have been using luks+ext4 till now. I am ~~hesistant~~ hesitant to switch to zfs/btrfs, afraid I might fuck up. A while back I accidently purged '/' trying out timeshift which was my fault.

Should I use zfs/btrfs for /home/user? As for root, I'm considering luks+(zfs/btrfs) to be restorable to blank state.

(page 2) 11 comments
sorted by: hot top controversial new old
[–] SeeJayEmm@lemmy.procrastinati.org 0 points 1 year ago (2 children)

My only complaint with btrfs when I used to run it, is that kvm disk performance was abysmal on it. Otherwise I had no issues with the fs.

[–] possiblylinux127@lemmy.zip 0 points 1 year ago* (last edited 1 year ago) (1 children)

Really? Were the virtual disks running ext4?

load more comments (1 replies)
[–] Bitrot@lemmy.sdf.org 0 points 1 year ago (1 children)

Most of the tools now should be setting nocow for virtual drives, performance these days isn't bad.

[–] Atemu@lemmy.ml -1 points 1 year ago (2 children)

nodatacow is a hack and will disable any and all consistency mechanisms for that file's contents. Tools should not be setting nodatacow for virtual drives, certainly not by default.

load more comments (2 replies)
[–] savvywolf@pawb.social 0 points 1 year ago (2 children)

Many many years ago I set up btrfs for the disks I write my backups to with a raid 1 config for them. Unfortunately one of those disks went bad and ended up corrupting the whole array. Makes me wonder if I set it up correctly or not.

Nowadays, I have the following disks in my system set up as btrfs:

  • My backups disk because of compression.
  • My OS drive because of Timeshift.
  • My home folder because it feels safer. COW feels like it'll handle power failures better, whilst there's also checksumming so I can identify corrupted files.
  • My SSD Steam library over two drives because life is short and I cba managing the two ssds independently.

It's going fine, but it feels like I need to manually run a balance every one in a while when the disk fills up.

I also like btrfs-assistant for managing the devices.

Out of interest, since I've not used the "recommended partion setup" for any install for a while now, is ext4 still the default on most distros?

load more comments (2 replies)
[–] possiblylinux127@lemmy.zip 0 points 1 year ago (7 children)

Btrfs is good for small systems with 1-2 disks. ZFS is good for many disks and benefits heavily from ram. ZFS also has specially disks.

load more comments (7 replies)
[–] hellvolution@lemmygrad.ml -1 points 1 year ago (3 children)
load more comments (3 replies)
load more comments
view more: ‹ prev next ›