Dan Langille
banner
langille.org
Dan Langille
@langille.org
That guy. BSDCan. PGCon. The FreeBSD Diary. FreshPorts.

https://langille.org/
@hur.st If you're still using SamDrucker, I may have a multiple-repo solution.
December 19, 2025 at 7:47 PM
Updating packages remotely. No big deal. Just restart the jail.

Patch the OS, yep, done that.

It still doesn't stop the semi-dread feeling as you wait for the host to reboot.

Still waiting after typing all this...
December 18, 2025 at 1:51 PM
Reposted by Dan Langille
BREAKING: The House of Representatives just passed a bill that would subject immigrant children to invasive bodily searches and keep them in detention instead of releasing them to their families.

The Senate must vote no on this horrific bill.
December 16, 2025 at 10:05 PM
Anyone done any research for #ZFS recordsize for /usr/ports or /usr/ports/distfiles?

#FreeBSD
December 14, 2025 at 3:21 PM
Dan Langille @dvl@bsd.network
@DLangille
·
14s
I want structured output from `pkg repositories` (e.g. JSON, XML, something).

The goal: parse the data via my code.

Here's what we're dealing with:

1/3

#FreeBSD #pkg
December 11, 2025 at 10:48 PM
I've said this before. Good software is software you forget you're running.
Today, a #ZFS zpool is up to 87% capacity. What?
Oh yes, my full backups ran yesterday (first Sunday of the month).
This issue is partly why I'm moving-to-bigger zpools, perhaps done this week.

#Bacula
December 8, 2025 at 4:36 PM
Oh, if you are mirroring the swap partition, HOW are you implementing that mirror?

I'm using gmirror for swap. I have for many years.

#FreeBSD
Do you have swap enabled on your #FreeBSD OS boot drives?

If that's a zroot mirror, are you mirroring swap?

I ask because I didn't set that up, now I have to deal with the monitoring alert saying it's not mirrored.
December 7, 2025 at 1:40 PM
Do you have swap enabled on your #FreeBSD OS boot drives?

If that's a zroot mirror, are you mirroring swap?

I ask because I didn't set that up, now I have to deal with the monitoring alert saying it's not mirrored.
December 4, 2025 at 3:29 PM
Now is the time to appreciate all those already on #FreeBSD 15, paving the way smoothly for us who will go later.

Thank you.
December 3, 2025 at 1:42 AM
What happens when you boot with multiple zroot? Can it be fixed without booting from a live disk & without pulling the problem disks?

I wanted to test this scenario after hitting it earlier this week. Please make suggestions given above restrictions.

dan.langille.org/2025/12/02/9...

#FreeBSD #ZFS
Dan Langille's Other Diary
dan.langille.org
December 2, 2025 at 6:18 PM
The drives I got off ebay still contained data:

dan.langille.org/2025/11/29/t...
The latest SATADOM drives contained data when I got them – Dan Langille's Other Diary
dan.langille.org
November 29, 2025 at 5:28 PM
From OSX or FreeBSD, do you have a preferred tool for configuring Dell servers?

I have a Dell R730 which still has the old value for "System Host Name" under "Server Information"

I seem to recall racadm is a such a tool, but it's been a long time since I looked at it.
November 29, 2025 at 2:43 PM
I'm not sure who, but I thought I saw a message notification from Travis... but now I can't find it. If that was you, please resend.
November 28, 2025 at 11:53 PM
One big 16TB zpool (8 x 4TB SSDs) or 2 x 8TB zpools?

I got decisions to make now that all this stuff has come together.

dan.langille.org/2025/11/26/c...

#FreeBSD #ZFS
Creating a new zpool for r730-01 – Dan Langille's Other Diary
dan.langille.org
November 26, 2025 at 9:19 PM
Today I learned that periodic/daily/800.scrub: does not initiate a scrub on a new zpool (i.e. a zpool which has never been scrubbed).

Well, perhaps it might scrub one day, but it didn't scrub last night.

bugs.freebsd.org/bugzilla/sho...
Making sure you're not a bot!
bugs.freebsd.org
November 26, 2025 at 12:43 PM
FYI, that host is now running on a pair of SATADOMs. Went smoothly. It wasn't for want of testing. ;)

#FreeBSD #ZFS
November 25, 2025 at 9:06 PM
What tech related things (<= US$25) have you bought which have proven their value / usefulness?

I’m looking for gift ideas.
November 24, 2025 at 12:26 AM
The last test before doing this on production.

I moved zroot from a larger zpool to a smaller zpool. It is now a very straight forward process. The hardest part may be making use the old zroot no longer boots.

dan.langille.org/2025/11/23/t...

#FreeBSD #ZFS
Test run – moving to a SATADOM based zpool (zroot) using zfs snapshot and send | recv – Dan Langille's Other Diary
dan.langille.org
November 23, 2025 at 4:48 PM
I know many others have done this, but this is my first test procedure.

This shrinks a zpool by creating a new one on a different pair of drives in a zroot mirror.

In short:

zfs snapshot
zfs send | zfs receive
profit

dan.langille.org/2025/11/22/t...

#FreeBSD #ZFS
Test run – moving to a smaller zpool (zroot) using zfs snapshot and send | recv – Dan Langille's Other Diary
dan.langille.org
November 23, 2025 at 12:11 AM
On this test host, #FreeBSD 14.3 gets wiped and installed on new devices on a regular basis.

Two days ago, mrsas worked fine. Yesterday, it would not. It's still mfi.

I have tried:

hw.mfi.mrsas_enable=”1″

in both /boot/loader.conf and /boot/device.hints

What gives?
November 22, 2025 at 1:56 PM
Posted for Northern Europe friends.
November 21, 2025 at 12:04 AM
I just noticed that `gpart backup | gpart restore` does not always result in the same locations on disk.

dan.langille.org/2025/11/20/g...
gpart backup | gpart restore does not alway give you exact replication – Dan Langille's Other Diary
dan.langille.org
November 20, 2025 at 2:48 PM
This test with file-based devices leads me to believe shrinking a ZFS mirror is possible.

The real test is trying it with partition based disk mirrors (e.g. /dev/adap3 instead of /tmp/0.raw)

gist.github.com/dlangille/25...

#ZFS #FreeBSD
can I reduce the size of a mirror zpool?
can I reduce the size of a mirror zpool? GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
November 19, 2025 at 7:12 PM
The first part of the test for reducing a zpool size has completed.

dan.langille.org/2025/11/19/m...

I went from two SATADOM drives to two SSDs.

From my local cafe, with coffee, like an adult.

For my next trick, I will move the zoot from 2x 1TB drives to 2x 128GB drives.

#FreeBSD #zfs
Moving a zpool from larger drives #ZFS #FreeBSD – Dan Langille's Other Diary
dan.langille.org
November 19, 2025 at 2:54 PM
When a ZFS system starts going rogue and fills the disk, it would be nice if `sudo` still worked.

I know of quota, reservation, and refreservation.

#FreeBSD #ZFS

1/3
November 17, 2025 at 3:46 PM