!oNSIfazDqEcwhcOjSL:matrix.org

disko

383 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko101 Servers

Load older messages


SenderMessageTime
14 Mar 2026
@lassulus:lassul.uslassulusbut there are soo many different FS18:33:52
@lassulus:lassul.uslassulusdon't want to reimplement all of them :D18:34:04
@matthewcroughan:defenestrate.itmatthewcroughanTrue, I suppose VMs allow disko to support BSD and other FS types18:34:21
@matthewcroughan:defenestrate.itmatthewcroughaneven macos or windows FS if you really wanted to18:34:41
@matthewcroughan:defenestrate.itmatthewcroughanwith nixbsd, actually supporting that with disko isn't out of the question today18:35:02
@lassulus:lassul.uslassulusalso something like ZFS is not supported as lib I think18:35:05
@matthewcroughan:defenestrate.itmatthewcroughan I don't run into the "Cannot allocate memory" issue if I increase the memSize to 16384 18:37:09
@matthewcroughan:defenestrate.itmatthewcroughanthough I of course see my memory usage go up massively on my host18:37:22
@matthewcroughan:defenestrate.itmatthewcroughanSo it really does use that memory18:37:42
@lassulus:lassul.uslassulusyes, but copying files should not use soo much memory :D18:37:55
@lassulus:lassul.uslassulusso I want to optimize that18:38:02
@lassulus:lassul.uslassulusbut everytime I want to, I can never reproduce it18:38:10
@matthewcroughan:defenestrate.itmatthewcroughanOkay I'll make a thing18:38:32
@matthewcroughan:defenestrate.itmatthewcroughanMaybe it's only on ZFS because of ARC 18:42:47
@lassulus:lassul.uslassulushmm, maybe?18:43:05
@lassulus:lassul.uslassulusbut we could disable that for the image builder maybe?18:43:19
@matthewcroughan:defenestrate.itmatthewcroughanpossibly as a kernel param.. yeah18:43:28
@lassulus:lassul.uslassulusbut not sure it's ARC, why would it be? you can copy more files than you have memory on ZFS usually?18:44:36
@matthewcroughan:defenestrate.itmatthewcroughanVMs18:44:48
@matthewcroughan:defenestrate.itmatthewcroughanweird stuff18:44:52
@matthewcroughan:defenestrate.itmatthewcroughanbut I can't reproduce it with ext4 atm18:45:00
@matthewcroughan:defenestrate.itmatthewcroughan Hah, okay so I just changed everything to zfs in the make-disk-image test 18:48:12
@matthewcroughan:defenestrate.itmatthewcroughanimmediate kernel panics18:48:15
@amadaluzia:unredacted.orgamadaluzia -> 4d2.org changed their display name from amadaluzia to amadaluzia[uorg].18:50:34
@matthewcroughan:defenestrate.itmatthewcroughanI think it's probably ARC..18:53:30
@matthewcroughan:defenestrate.itmatthewcroughanI have a toy big closure, and it didn't happen with only 1024 of memory 18:53:51
@matthewcroughan:defenestrate.itmatthewcroughanbut I bet if I get the size closer to 10G it will happen18:54:03
@matthewcroughan:defenestrate.itmatthewcroughanI can imagine what's happening tbh18:56:02
@matthewcroughan:defenestrate.itmatthewcroughan xargs -P 8 -I '{}' cp --recursive '{}' /mnt/nix/store 18:56:15
@matthewcroughan:defenestrate.itmatthewcroughan maybe if you're lucky, your {} gets filled with store paths that are small enough to succee 18:56:28

Show newer messages


Back to Room ListRoom Version: 10