!oNSIfazDqEcwhcOjSL:matrix.org

disko

355 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko90 Servers

Load older messages


SenderMessageTime
10 Jun 2025
@s:consortium.chatshelvacuan easy check is to look at /etc/fstab in the final system and make sure it looks right02:03:16
@s:consortium.chatshelvacu
In reply to @caraiiwala:beeper.com
Well I've just tried an identical simple config on another system and it worked fine
ah, then likely not a disko issue
02:03:32
@caraiiwala:beeper.comcaraiiwala So the main difference between these two systems is that the one this worked on has a hardware RAID controller that supports JBOD. The problematic one doesn't and so in an effort to try out ZFS I experimented with RAID0 passthrough. 02:06:44
@caraiiwala:beeper.comcaraiiwalaGoing to revert the RAID config and see if that fixes it02:07:28
@matthewcroughan:defenestrate.itmatthewcroughan Morgan (@numinit): 10:17:38
@matthewcroughan:defenestrate.itmatthewcroughanI stumbled upon https://github.com/util-linux/util-linux/issues/3495#issuecomment-2954264763 and I'm also effected10:17:48
@matthewcroughan:defenestrate.itmatthewcroughan lassulus: Mic92 https://github.com/util-linux/util-linux/issues/3613 11:53:00
@matthewcroughan:defenestrate.itmatthewcroughanthis details a fix in case other people experience the same issues11:53:14
@matthewcroughan:defenestrate.itmatthewcroughanThe TL;DR is that your wiping process will not work with zfs disks before util-linux 2.40 11:53:52
@matthewcroughan:defenestrate.itmatthewcroughanSo 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 11:54:16
@matthewcroughan:defenestrate.itmatthewcroughan* 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.itmatthewcroughanwipefs/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.itmatthewcroughanI doubt they'll fix it, it's pretty horrendous though11:55:28
@matthewcroughan:defenestrate.itmatthewcroughan

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 *

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.itmatthewcroughanStep 2, wipefs(util-linux) did not clear the zfs signatures, but newer wipefs(util-linux) will11:58:38
@matthewcroughan:defenestrate.itmatthewcroughan* 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
12 Jun 2025
@zenware:matrix.orgzenware joined the room.00:53:41
14 Jun 2025
@oli:floof.company-> @oli:catgirl.cloud joined the room.17:34:08
16 Jun 2025
@ygt:matrix.orgnadir left the room.21:50:59
17 Jun 2025
@jopejoe1:matrix.orgjopejoe1 changed their display name from jopejoe1 (4094@eh22) to jopejoe1 (4094@GPN23).12:06:34

Show newer messages


Back to Room ListRoom Version: 10