!oNSIfazDqEcwhcOjSL:matrix.org

disko

171 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko55 Servers

Load older messages


SenderMessageTime
9 Sep 2024
@pandapip-1:matrix.orgPandapip1 joined the room.03:44:41
@arjan5:matrix.orgarjan5
In reply to @lassulus:lassul.us
If you send me your config as a flake I can take a look. But I guess it's a problem of the double eval the VM tests do
Thanks again! I've made a relatively small flake to reproduce this issue with, and put it in an issue for easier tracking and future discoverability: https://github.com/nix-community/disko/issues/763
07:37:22
@tumble1999:matrix.orgTumbleIs the default config of zfs on disko the one where up to 1 drive can fail and i can replace it?15:48:57
@tumble1999:matrix.orgTumbleOr is it by default striped with no redundancies?15:56:00
@zerox:guix.uzzeroxSee: https://github.com/nix-community/disko/blob/master/example/zfs-with-vdevs.nix You can remove cache & special sections.15:56:02
@tumble1999:matrix.orgTumbleRedacted or Malformed Event18:08:28
@tumble1999:matrix.orgTumble
In reply to @zerox:guix.uz
See: https://github.com/nix-community/disko/blob/master/example/zfs-with-vdevs.nix

You can remove cache & special sections.
Remove?
18:08:42
@tumble1999:matrix.orgTumbleI want cache18:08:48
@zerox:guix.uzzerox Tumble: in case if you don't need cache, you can remove it, otherwise you need another device for cache. 18:09:43
@tumble1999:matrix.orgTumble https://git.disroot.org/tumble/linux-config/src/branch/nixos/nixos/onyx/disko.nix
How to edit this to have it be raidz1
18:09:48
@tumble1999:matrix.orgTumble
In reply to @zerox:guix.uz
Tumble: in case if you don't need cache, you can remove it, otherwise you need another device for cache.
I have a device for cache
18:10:00
@tumble1999:matrix.orgTumbleThis works to make a zfs pool with a cache drive but I don't think it has any redundancy18:10:42
@zerox:guix.uzzerox Tumble: for redundancy, add mode= .... 18:11:21
@tumble1999:matrix.orgTumbleraidz1?18:12:06
@zerox:guix.uzzerox Tumble: yes, it can be raidz1. See: https://github.com/nix-community/disko/blob/master/lib/types/zpool.nix#L4 18:13:29
@tumble1999:matrix.orgTumbleDoes a disko options site exist?19:32:12
@tumble1999:matrix.orgTumbleWhat's raidz?19:34:25
@tumble1999:matrix.orgTumbleWithout number19:34:33
@tumble1999:matrix.orgTumbleIs z1 where I can loose one drive?19:34:46
10 Sep 2024
@tumble1999:matrix.orgTumble
In reply to @zerox:guix.uz
Tumble: yes, it can be raidz1. See: https://github.com/nix-community/disko/blob/master/lib/types/zpool.nix#L4
Because I have zfs housing my /home and /var will I have to rebuild the whole install?
00:30:39
@tumble1999:matrix.orgTumbleI'm ok with that anyway because I've only just done that 10 hours ago00:31:09
@colemickens:matrix.orgcolemickensIs it possible to specify a disko image partition whose contents are... a uboot build output, for example?02:56:44
@colemickens:matrix.orgcolemickensweird.04:57:50
@colemickens:matrix.orgcolemickensI'm trying to build diskoImagesScript on the aarch64 box for a hostPlatform.system = "aarch64-linux" machine and it's complaining that it wants an x86_64-linux builder for a qemu run-vm dep04:58:33
@colemickens:matrix.orgcolemickenseven weirder, it's a dep of an aarch64 output?05:00:54
@colemickens:matrix.orgcolemickens
/nix/store/giwwj37z3bv7zcd9np4h1475gv6v723x-h96maxv58-disko-images.drv
└───/nix/store/icdy400c78p77dmg953x9n0s9cd51x81-h96maxv58-disko-images.drv
    └───/nix/store/mw0b87v5jir4lv9qk50h3dahqznqicmc-vm-run.drv
        └───/nix/store/3sc1kz031fhjq0m6lk0dd96zb23c9jck-qemu-host-cpu-only-9.1.0.drv
            └───/nix/store/wgyx5ghqdsy6zjr2f43bd1k53mbryiki-mesa-aarch64-unknown-linux-gnu-24.2.0.drv
                └───/nix/store/wzab9w8ak2mafl1gxwi811lbc7pyjcgl-source.drv
05:00:57
@colemickens:matrix.orgcolemickens
error: a 'x86_64-linux' with features {} is required to build '/nix/store/wzab9w8ak2mafl1gxwi811lbc7pyjcgl-source.drv', but I am a 'aarch64-linux' with features {benchmark, big-parallel, gccarch-armv8-a, kvm, nixos-test}
05:01:13
@colemickens:matrix.orgcolemickensodd, odd, odd.05:01:17
@colemickens:matrix.orgcolemickens"aarch64-unknown-linux-gnu" looks like cross-comp but idk why05:02:10
@colemickens:matrix.orgcolemickens I'm looking at how imageBuilderPkgs is defaulted/used and how host/buildPlatform are set for the system that includes this module and it seems like everything should be fine 05:07:38

Show newer messages


Back to Room ListRoom Version: 10