!oNSIfazDqEcwhcOjSL:matrix.org

disko

368 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko92 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
10 Jun 2025
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem* So disko, and anything else that uses libblkid will be leaving zfs signatures behind on disks, which causes them to now be unmountable if using partlabel, which disko does11:54:20
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemwipefs/liblblkid from 2.39.4 doesn't deal with zfs signatures properly, but newer versions do, causing them to be visible, which confuses udev and systemd populating /dev/disk/by-partlabel 11:55:12
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemI doubt they'll fix it, it's pretty horrendous though11:55:28
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem

For me the experience was as follows:

  1. Use disko (util-linux <2.39.4) months ago to make a zfs root disk
  2. Use disko (util-linux <2.39.4) later to make a bcachefs root disk
  3. Everything is fine
  4. Upgrade to NixOS 25.05
  5. Timeouts on boot mounting because /dev/disk/by-partlabel for the bcachefs disk doesn't exist on NixOS 25.05, but does on 24.11

The reason turned out to be the above.

11:57:56
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem *

For me the experience was as follows:

  1. Use disko (util-linux <2.39.4) months ago to make a zfs root disk
  2. Use disko (util-linux <2.39.4) later to make a bcachefs root disk on the same disk
  3. Everything is fine
  4. Upgrade to NixOS 25.05
  5. Timeouts on boot mounting because /dev/disk/by-partlabel for the bcachefs disk doesn't exist on NixOS 25.05, but does on 24.11

The reason turned out to be the above.

11:58:07
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemStep 2, wipefs(util-linux) did not clear the zfs signatures, but newer wipefs(util-linux) will11:58:38
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem* Step 2, wipefs(util-linux 2.3x) did not clear the zfs signatures, but newer wipefs(util-linux 2.4x) will11:58:57
@numinit:matrix.orgMorgan (@numinit) I wonder if we ought to revert the ZFS detection patch. It's only if you had zfs on there and switch to another format 14:00:40
@numinit:matrix.orgMorgan (@numinit)It's now too good at detecting ZFS 14:02:04
@numinit:matrix.orgMorgan (@numinit)Oh, I see you can wipefs --offset14:05:08

Show newer messages


Back to Room ListRoom Version: 10