!oNSIfazDqEcwhcOjSL:matrix.org

disko

334 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko86 Servers

Load older messages


SenderMessageTime
8 Sep 2025
@ed209a:matrix.orged209that was fast!13:52:42
9 Sep 2025
@lotte:chir.rsCharlotte 🦝 (it/its) changed their profile picture.09:11:17
@ed209a:matrix.orged209
In reply to @sandro:supersandro.de
https://github.com/nix-community/disko/issues/1102
any idea when the next release is?
10:12:29
@sandro:supersandro.deSandro 🐧I just use HEAD all the time 😅10:13:24
@lassulus:lassul.uslassulusuh release, yeah good point14:33:48
@aciceri:nixos.devaciceri changed their display name from zrsk to aciceri.15:03:01
@cdata:matrix.orgcdata joined the room.21:04:01
@cdata:matrix.orgcdata

Hi folks, I've been having some stuttering success with using Disko for the first time. I have a setup where I wish to test the configuration in a VM locally. I got a LUKS+Btrfs setup working great. Then, I tried to adapt it based on the LUKS+Btrfs+RAID1 example and ran into a problem.

Before I file a more detailed issue on Github, I was wondering if anyone had seen this error before and knew what I might be missing?

+ mount /dev/mapper/p2 /tmp/tmp.199fvLzrll -o subvol=/
[   36.047665] BTRFS error (device dm-1): devid 2 uuid 25b46a4d-be57-4e52-b025-c1e603233b60 is missing
[   36.048657] BTRFS error (device dm-1): failed to read the system array: -2
[   36.050159] BTRFS error (device dm-1): open_ctree failed: -2
mount: /tmp/tmp.199fvLzrll: fsconfig() failed: No such file or directory.
       dmesg(1) may have more information after failed mount system call.

This is using the Disko example almost verbatim (the one found here: https://github.com/nix-community/disko/blob/master/example/luks-btrfs-raid.nix). The only adaptation is that I removed the settings.keyFile.

21:11:43
@cdata:matrix.orgcdataI was able to run the test for that example successfully, so I have a guess that there is something in my overall system configuration that is configured differently in the test.21:51:51
10 Sep 2025
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan @ nixcon to matthewcroughan.15:06:30
@amaan:amaanq.comamaan joined the room.21:18:06
12 Sep 2025
@maxcf:matrix.orgMax changed their display name from HAL9000 to Max.12:48:39
13 Sep 2025
@validitymaiden:matrix.orgvaliditymaiden joined the room.17:17:29
@validitymaiden:matrix.orgvaliditymaiden set a profile picture.17:31:44
@validitymaiden:matrix.orgvaliditymaiden changed their profile picture.17:32:25
14 Sep 2025
@emma:rory.gayEmma [it/its] joined the room.08:39:30
15 Sep 2025
@bandithedoge:matrix.orgbandithedoge joined the room.19:42:05
@bandithedoge:matrix.orgbandithedogewhat should i do when disko-install keeps running out of disk space?19:42:54
16 Sep 2025
@oli:floof.companyolivia [she/it] 🏳️‍⚧️ changed their profile picture.06:59:58
@oli:floof.companyolivia [she/it] 🏳️‍⚧️ changed their profile picture.09:04:49
@lassulus:lassul.uslassuluschanged room power levels.10:22:46
@lassulus:lassul.uslassuluschanged room power levels.10:23:39
@lassulus:lassul.uslassuluschanged room power levels.10:24:01
17 Sep 2025
@cezz:lomnik.netmprasil Is it in NixOS live CD? You might want to add --no-deps to let it use local tools rather than pulling dependencies. 14:25:54
@bandithedoge:matrix.orgbandithedogeyeah, i gave up and ended up mounting with disko first and then just running nixos-install14:26:55
@cezz:lomnik.netmprasilYeah the live CD space is quite limited as it's all in memory. --no-deps helps somewhat. 14:27:36
@cezz:lomnik.netmprasil ❓️ What is the purpose of the if statement here or here? 14:28:53
@cezz:lomnik.netmprasil It seems to be some effort to not overwrite pre-existing partition. 14:29:15
@cezz:lomnik.netmprasil But I found it to be quite a footgun. For example it's pretty common that EFI partition is 1GB (or 500M) an due to that if statemen disko silenty didn't format my EFI partition because previously there was also EFI partition with same size. (so when disko recreated GPT, EFI "adopted" contents of previous vfat there) 14:31:45
@cezz:lomnik.netmprasil disko does prompt whether it should destroy data on the disk and --mode destroy,format,mount is also pretty explicit about what the user expects/wants. So this effort to preserve data feels quite a bit surprising. 14:33:38

There are no newer messages yet.


Back to Room ListRoom Version: 10