| 10 Jun 2025 |
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 |