!oNSIfazDqEcwhcOjSL:matrix.org

disko

369 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko93 Servers

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


SenderMessageTime
10 Jun 2025
@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
@caraiiwala:beeper.comcaraiiwala Finally got my ZFS config above to work. RAID0 passthrough works. Didn't change anything but rebooted one more time and it worked... 😑 Works on both systems though 18:38:14
@caraiiwala:beeper.comcaraiiwala I still have an issue on both systems now where it boots into emergency mode. It seems to fail to mount my raid pool's dataset at /mnt/raid. Yet when I continue after pressing Enter, everything seems fine. fstab is correct. /mnt/raid exists. systemctl status mnt-raid.mount is active 18:40:17
@caraiiwala:beeper.comcaraiiwala journalctl -xb says "zfs_mount_at() failed: mountpoint or dataset is busy" as the reason 18:44:59
@caraiiwala:beeper.comcaraiiwalajournal is also full of refused connections from my desktop and the network router which is weird. i can connect over ssh18:47:34
@caraiiwala:beeper.comcaraiiwalaoh the connection errors are something else nvm18:53:46
11 Jun 2025
@astodialo:matrix.orgelamon joined the room.15:15:02

Show newer messages


Back to Room ListRoom Version: 10