!oNSIfazDqEcwhcOjSL:matrix.org

disko

367 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko94 Servers

Load older messages


SenderMessageTime
14 Dec 2023
@matthewcroughan:defenestrate.itmatthewcroughanbut as an example, loading the bcachefs module caused memory usage to increase a lot 14:53:51
@matthewcroughan:defenestrate.itmatthewcroughan there's only one other nix command and that's nix-store --load-db 14:55:01
@matthewcroughan:defenestrate.itmatthewcroughanbut that doesn't eval 14:55:10
@matthewcroughan:defenestrate.itmatthewcroughanwondering if https://github.com/intel/bmap-tools#concept can be used to make better disk images19:14:46
16 Dec 2023
@sandro:supersandro.deSandro 🐧 joined the room.03:56:38
@matthewcroughan:defenestrate.itmatthewcroughan

Idea:

/dev/disk/by-id/usb-Samsung_PSSD_T7_S6WZNS0T500569P-0:0

I used Disko to install to this disk, but the xhci_pci kernel module wasn't available causing it to break when booting

17:29:17
@matthewcroughan:defenestrate.itmatthewcroughan We could parse the usb part of that device id string, and know we need to include that in the boot.initrd.availableKernelModules 17:29:56
@matthewcroughan:defenestrate.itmatthewcroughan * We could parse the usb part of that device id string, and know we need to include that in the boot.initrd.availableKernelModules and include it as part of the disko module. 17:30:08
@matthewcroughan:defenestrate.itmatthewcroughan the device option of disko can do all sorts of magic like that, just by parsing the string 17:30:23
@matthewcroughan:defenestrate.itmatthewcroughan * the device option of disko can do all sorts of magic like that, just by parsing the device by-id string 17:30:28
17 Dec 2023
@dandellion:dodsorf.asDandellion joined the room.23:58:12
18 Dec 2023
@jdemille:tchncs.deJulia DeMille joined the room.16:24:16
@jdemille:tchncs.deJulia DeMille I've encountered a rather alarming issue: when I add a subvolume (/@opt-containers, mounted at /opt/containers, with no other subvolumes involved in /opt), and then switch the system config (via deploy-rs), my server just becomes inaccessible, completely. after a reboot, and a switch to the previous generation, access is restored, but this is seriously alarming 16:25:51
@raitobezarius:matrix.orgraitobezariuswhat was the cause of making the server inaccessible?16:30:29
@raitobezarius:matrix.orgraitobezariuscan you get the journal log?16:30:34
@raitobezarius:matrix.orgraitobezariusdid you enter into emergency mode or something?16:30:52
@jdemille:tchncs.deJulia DeMille i'll try to grab journals -- the SSH connection just dropped, and i got no route to host upon trying to connect again 16:33:57
@jdemille:tchncs.deJulia DeMille deploy-rs didn't even finish, it was just waiting 16:34:05
@jdemille:tchncs.deJulia DeMille
16:36:21
@jdemille:tchncs.deJulia DeMille * Dec 18 15:54:58 callisto mount[1721]: mount: /opt/containers: mount(2) system call failed: No such file or directory. Dec 18 15:54:58 callisto mount[1721]: dmesg(1) may have more information after failed mount system call. 16:36:23
@jdemille:tchncs.deJulia DeMille *
Dec 18 15:54:58 callisto mount\[1721\]: mount: /opt/containers: mount(2) system call failed: No such file or directory.
Dec 18 15:54:58 callisto mount\[1721\]:        dmesg(1) may have more information after failed mount system call.
16:36:31
@jdemille:tchncs.deJulia DeMille *
Dec 18 15:54:58 callisto mount[1721]: mount: /opt/containers: mount(2) system call failed: No such file or directory.
Dec 18 15:54:58 callisto mount[1721]:        dmesg(1) may have more information after failed mount system call.
16:36:39
@matthewcroughan:defenestrate.itmatthewcroughanSo you make the machine with disko/nixos-anywhere, then you deploy to it, and the first deployment causes it to blow up in the way you explain?16:37:50
@jdemille:tchncs.deJulia DeMillemake the machine with disko/nixos-anywhere, deploy to it a few times, eventually add that subvolume in a place it shouldn't cause any interference, and that makes it blow up16:38:24
@matthewcroughan:defenestrate.itmatthewcroughanah okay, well hopefully this can all be debugged with pure nix evaluation then, as the issue obviously lies in the nix code?16:38:46
@matthewcroughan:defenestrate.itmatthewcroughando you have any nix code, or diffs?16:39:08
@jdemille:tchncs.deJulia DeMille
                  "/@opt-containers" = {
                    mountOptions = ["compress=zstd" "noatime"];
                    mountpoint = "/opt/containers";
                  };

these lines in disko.devices.disk.vdb.content.root.subvolumes make it blow up

16:39:55
@matthewcroughan:defenestrate.itmatthewcroughanso it's zfs?16:40:20
@jdemille:tchncs.deJulia DeMillebtrfs16:40:24
@matthewcroughan:defenestrate.itmatthewcroughan Could it be a string parsing issue? @opt vs opt ? 16:40:50

Show newer messages


Back to Room ListRoom Version: 10