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

Linux

48364 readers
950 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
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] savvywolf@pawb.social 4 points 10 months ago (3 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?

[–] waigl@lemmy.world 3 points 10 months ago (1 children)

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?

I recently installed Nobara Linux on an additional drive, because after 20 years, I wanted to give Linux gaming another shot (works a lot better than I had hopes for, btw), and it defaulted to btrfs. I'll assume so does Fedora, because I cannot imagine Nobara changed that part over the Fedora base for gaming purposes.

[–] Bitrot@lemmy.sdf.org 4 points 10 months ago

Fedora does, with compression enabled. It's one of the largest divergences from Red Hat since Red Hat doesn't support it at all. openSUSE does also.

[–] Quazatron@lemmy.world 3 points 10 months ago (1 children)

My SSD Steam library over two drives because life is short and I cba managing the two ssds independently.

You do know that Steam handles multiple libraries transparently, even on removable drives?

[–] savvywolf@pawb.social 1 points 10 months ago (1 children)

I know they all show up in the same interface and I can move games between drives in the storage interface.

But I don't want to deal with having to shuffle things around to install a 40GiB game where both drives only have 30GiB free. Or having to remember which of the two drives has a specific game on when I want to find their files.

It also gives a possibly-insignificant speed boost and extra cool points.

[–] Quazatron@lemmy.world 2 points 10 months ago

Can't argue with cool points.

[–] drwho@beehaw.org 2 points 10 months ago (1 children)

Just out of curiosity, did you RAID-1 the metadata as well?

[–] savvywolf@pawb.social 2 points 10 months ago

This was ages ago, so I can't really remember I'm afraid. I think maybe the files themselves were corrupted, not the folder structure, so perhaps? Although I can see that as a thing I forget to do though.