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

Linux

48157 readers
711 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.

(page 2) 21 comments
sorted by: hot top controversial new old
[–] possiblylinux127@lemmy.zip 1 points 9 months ago (1 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.

[–] FrederikNJS@lemm.ee 1 points 9 months ago (1 children)

BTRFS is running just fine for my 8 disk home server.

[–] possiblylinux127@lemmy.zip 1 points 9 months ago (1 children)

That is not a recommended setup. Raid5 is not stable yet.

[–] FrederikNJS@lemm.ee 1 points 9 months ago (1 children)

I never said anything about RAID5. I'm running RAID1.

[–] possiblylinux127@lemmy.zip 1 points 9 months ago (1 children)
[–] FrederikNJS@lemm.ee 1 points 9 months ago (1 children)
[–] possiblylinux127@lemmy.zip 1 points 9 months ago (1 children)
[–] FrederikNJS@lemm.ee 1 points 9 months ago

Oh, I misremembered... It's only 7 disks in BTRFS RAID1.

I have:

  • 12 TB
  • 8 TB
  • 6 TB
  • 6 TB
  • 3 TB
  • 3 TB
  • 2 TB

For a combined total of 40 TB raw storage, which in RAID1 turns into 20 TB usable.

[–] drwho@beehaw.org 1 points 9 months ago* (last edited 9 months ago)

There's no reason you couldn't; btrfs is pretty stable.

Edit: Going on five years of using btrfs on production servers (storing and processing data on a 24x7 basis).

[–] survivalmachine@beehaw.org 1 points 9 months ago

I've been running ZFS in the form of FreeNAS/TrueNAS in production environments for the past 12 years or so. Started with around 5TB and currently have nearly 300TB across several servers. Mostly NFS nowadays, but have shared out SMB and iSCSI.

No data loss. Drives have been easy to replace and re-silver. We have had a couple instances where a failing ZIL or L2ARC has crashed a storage server and taken storage offline, but removing/replacing the log device got us up and running without data loss.

Btrfs I only have experience on home systems. It has reliably stored my data for several years now, but I'm about to put it to the test this weekend. I plan on adding 4x8TB disks to a 4TB mirror to turn it into a 20TB RAID10. Wish me luck!

load more comments
view more: ‹ prev next ›