med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

373
active users

#zfs

9 posts9 participants1 post today

So, yesterday, I listened to the latest episode of @25admins, episode 256: Why ZFS.

If you're like me and have lots of interest in learning about ZFS, but still struggling to wrap your brain around parts of it, this is the episode for you. It's a gentle introduction to ZFS and why we should all use it. Some links to check out more info on ZFS are included in the show notes, as well.

Oh, and, @joeress should no longer be considered the .5 of the group. He should get a bit of a promotion. 😀 Joe, you're killin' it!

What an excellent episode from yet another great @latenightlinux podcast.

https://2.5admins.com/2-5-admins-256/

#zfs

2.5admins.com2.5 Admins 256: Why ZFS – 2.5 Admins

Once again today, #FreeBSD and #ZFS saved a setup. Suddenly, a colleague realized that a database was acting up - probably some massive operation had deleted something. The machine takes snapshots every 15 minutes and keeps them for a few hours, then one a day and keeps those for days. To make a long story short, the July 4th dump still had the correct data. To get there, we just had to clone all the snapshots (going back day by day) and test them.

Snapshots are one of the best inventions since sliced bread.

👋 Hey Fediverse. I'm Doc.
I run things that aren't supposed to fail. Then I make them fail on purpose just to make sure.

☠️ I build and maintain hardened, multi-site infrastructure for radio stations, DJs, streamers, and anyone tired of rebooting a VPS because “the cloud” decided today was patch day.

⚙️ Backend’s mostly FreeBSD and HardenedBSD with ZFS everywhere.
💾 Storage: mirrored, snapshot, replicated, probably blessed by a data priest.
🔁 DR: tested, scripted, and verified hourly—because I don’t trust Tuesday me to remember what Friday me broke.

🐧 Also fluent in Linux (Debian, Arch, and sometimes the devil that is systemd).
PostgreSQL replication? Got it. Object storage failover? Mirrored.
Mastodon instance? Running glitch-soc. Because of course I am.

🧠 Tools: rsync, zfs send, tmux, profanity, and my own Bash scripts duct-taped together with just enough sanity to pass CI.

I believe in uptime, plaintext config files, and yelling at your own mirror before production does.
No Kubernetes. No YAML worship. Just clean, brutalist sysadmin work.

#intro#sysadmin#BSD

First #selfHosting baby steps: bare metal server is finally up and running. :neofox_uwu:
Couldn't figure out remote unlocked encrypted root on #ZFS with #NixOS, but also I realized it would be overkill (what's the point of encrypting the Nix store?) and that I can selectively encrypt datasets, so it's whatevs.

#ZFS question: if I've taken a recursive snapshot, is there a straightforward way to make a recursive clone of that snapshot?

# zfs snap -r pool/path/to/dataset@test
# zfs list -o name -Hr -t snap pool/path/to/dataset
pool/path/to/dataset@test
pool/path/to/dataset/subdataset1@test
pool/path/to/dataset/subdataset2@test

Great. so now I want to clone that:

# zfs clone pool/path/to/dataset@test pool/path/to/other

# zfs list -o name -Hr pool/path/to/other
pool/path/to/other

There's no pool/path/to/other/subdataset1 or pool/path/to/other/subdataset2

In other cases, the ZFS commands take `-r` to do things recursively, but it looks like `zfs clone` doesn't accept the -r option.

So I can manually clone all those sub-dataset snapshots into the new clone, but is there a way to have the zfs-clone do it all in one go? (on FreeBSD 14.2 if that matters)

New blog post!

Backups are an easy task to put off but WOW do you feel the pain when a file is mistakenly deleted or a storage device fails!

I use a combination of ZFS tools + bash scripting + cron(8) to perform an automated daily backup of the contents of my home directory to the home server (both machines are running FreeBSD):

dwarmstrong.org/automate-zfs-b

www.dwarmstrong.orgZFS Snapshots and Backups Part 3: Backups You Don't Have to Think About are Backups that Get Done ☯ Daniel Wayne ArmstrongLibre all the things
#ZFS#Bash#Cron

Anyone using #ZFS on #linux

Here's an interesting thread, including Linus Torvalds opinion on ZFS licensing issues due to Oracle:

realworldtech.com/forum/?threa

Linux opinion (2020):
"Don't use ZFS. It's that simple. It was always more of a buzzword than anything else, I feel, and the licensing issues just make it a non-starter for me."

Technically I like ZFS, and I'm again disappointed in humankind how unstable-licensing and greed hinders access and good tech.

Real World TechRWT Forums - Real World Techcontent overridden