| 10 Jun 2025 |
shelvacu | an easy check is to look at /etc/fstab in the final system and make sure it looks right | 02:03:16 |
shelvacu | 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 | 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 | Going to revert the RAID config and see if that fixes it | 02:07:28 |
matthewcroughan | Morgan (@numinit): | 10:17:38 |
matthewcroughan | I stumbled upon https://github.com/util-linux/util-linux/issues/3495#issuecomment-2954264763 and I'm also effected | 10:17:48 |
matthewcroughan | lassulus: Mic92 https://github.com/util-linux/util-linux/issues/3613 | 11:53:00 |
matthewcroughan | this details a fix in case other people experience the same issues | 11:53:14 |
matthewcroughan | The TL;DR is that your wiping process will not work with zfs disks before util-linux 2.40 | 11:53:52 |
matthewcroughan | 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 | 11:54:16 |
matthewcroughan | * 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 does | 11:54:20 |
matthewcroughan | wipefs/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 | I doubt they'll fix it, it's pretty horrendous though | 11:55:28 |
matthewcroughan | For me the experience was as follows:
- Use disko (util-linux <2.39.4) months ago to make a zfs root disk
- Use disko (util-linux <2.39.4) later to make a bcachefs root disk
- Everything is fine
- Upgrade to NixOS 25.05
- 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 | * For me the experience was as follows:
- Use disko (util-linux <2.39.4) months ago to make a zfs root disk
- Use disko (util-linux <2.39.4) later to make a bcachefs root disk on the same disk
- Everything is fine
- Upgrade to NixOS 25.05
- 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 | Step 2, wipefs(util-linux) did not clear the zfs signatures, but newer wipefs(util-linux) will | 11:58:38 |
matthewcroughan | * Step 2, wipefs(util-linux 2.3x) did not clear the zfs signatures, but newer wipefs(util-linux 2.4x) will | 11:58:57 |
Morgan (@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 |
Morgan (@numinit) | It's now too good at detecting ZFS | 14:02:04 |
Morgan (@numinit) | Oh, I see you can wipefs --offset | 14:05:08 |
caraiiwala | 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 | 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 | journalctl -xb says "zfs_mount_at() failed: mountpoint or dataset is busy" as the reason | 18:44:59 |
caraiiwala | journal is also full of refused connections from my desktop and the network router which is weird. i can connect over ssh | 18:47:34 |
caraiiwala | oh the connection errors are something else nvm | 18:53:46 |
| 11 Jun 2025 |
| elamon joined the room. | 15:15:02 |
| 12 Jun 2025 |
| zenware joined the room. | 00:53:41 |
| 14 Jun 2025 |
| -> @oli:catgirl.cloud joined the room. | 17:34:08 |
| 16 Jun 2025 |
| nadir left the room. | 21:50:59 |
| 17 Jun 2025 |
| jopejoe1 changed their display name from jopejoe1 (4094@eh22) to jopejoe1 (4094@GPN23). | 12:06:34 |