!oNSIfazDqEcwhcOjSL:matrix.org

disko

365 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko93 Servers

Load older messages


SenderMessageTime
6 Sep 2024
@arjan5:matrix.orgarjan5Will do, thanks!21:24:20
7 Sep 2024
@tumble1999:matrix.orgTumbleDoes zfs in disko support cache drives?16:03:48
8 Sep 2024
@mars_0008:matrix.orgmars_0008 joined the room.10:15:54
@mars_0008:matrix.orgmars_0008 Mic92: Hey, have an unrelated question to disko but this is the only forum i now how to reach out to you. i see you have contributed to https://wiki.nixos.org/wiki/Android. I have found it really hard to get android development environment set up on NixOS and was wondering if this is something you have experience with? Thanks! 10:19:32
@zerox:guix.uzzerox
In reply to @tumble1999:matrix.org
Does zfs in disko support cache drives?
https://github.com/nix-community/disko/blob/master/example/zfs-with-vdevs.nix
https://github.com/nix-community/disko/pull/723
10:42:03
@joerg:thalheim.ioMic92 @mars_0008:matrix.org: I used the android dev some years ago. Mostly just using android-studio, which worked for me. 11:06:16
@joerg:thalheim.ioMic92DavHau helped someone very recently with flutter + android 11:07:00
@tumble1999:matrix.orgTumble
In reply to @zerox:guix.uz
https://github.com/nix-community/disko/blob/master/example/zfs-with-vdevs.nix
https://github.com/nix-community/disko/pull/723

Thank you

Ok I added topology but only the part where it adds cache
But now it says its skipping the creation of the zpool because not all disks are accounted for

Do I have to fully implement the topology key

14:19:01
@tumble1999:matrix.orgTumbleI dont want to mirror so ill not include the type and maybe it might tell me what possible things I can put there14:35:39
@tumble1999:matrix.orgTumbleOh it just made it anyway14:36:06
@tumble1999:matrix.orgTumble Ok comparing df -h with and without the topology key makes 4tb zfs
And with topology key, zpool status shows cache drive
Ok good
14:38:55
@arjan5:matrix.orgarjan5
In reply to @mars_0008:matrix.org
Mic92: Hey, have an unrelated question to disko but this is the only forum i now how to reach out to you. i see you have contributed to https://wiki.nixos.org/wiki/Android. I have found it really hard to get android development environment set up on NixOS and was wondering if this is something you have experience with? Thanks!
I do android development on nixos. AFAIK you have two easy options: simply install Android Studio and use that, or use devenv.sh for a complete command line environment.
15:35:38
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

Show newer messages


Back to Room ListRoom Version: 10