disko | 355 Members | |
| disko - declarative disk partitioning - https://github.com/nix-community/disko | 90 Servers |
| Sender | Message | Time |
|---|---|---|
| 3 Mar 2025 | ||
| ah did you run the create script manually before switching? | 17:14:47 | |
| Yep | 17:16:55 | |
| and it still crashed? I'm a bit confused why it worked manually afterwards | 17:17:35 | |
| Oh, I did not manually run the create script manually before switching at first. That's when it crashed. | 17:18:22 | |
| I was initially hoping the changes to the disko config would be smart enough to just create the new dataset (a bit risky, I know, but no harm done) | 17:19:09 | |
| ah, yeah that was the missing step I guess, but looking at my history I just said looking at it :D | 17:19:13 | |
| I meant looking at it and running it if it looks fine :) | 17:19:31 | |
| that step doesn't happen automatically with disko (yet?) | 17:19:54 | |
| because it's not widely tested and I don't want people to lose data | 17:20:13 | |
| I didn't end up running the whole generated disko script, just the zfs create command | 17:20:12 | |
| ah ok, so we will never know if it would have broken something :) | 17:20:30 | |
| That's certainly understandable | 17:20:34 | |
| Thanks for your help, and for your contributions to this tool, it's great! | 17:22:20 | |
| Maybe on my next throwaway system I'll test running the script to see if it borks anything 🙂 | 17:23:40 | |
| 18:20:36 | ||
| Hi, is it possible to use disko on an already installed nixos system? | 18:21:56 | |
| I would like to configure my btrfs subvolumes in disko | 18:23:12 | |
| (While I originally installed the system I'm talking about with nixos-anywhere and disko I used a dummy flake and later rebuild the system with my usual flake) | 18:24:09 | |
| 4 Mar 2025 | ||
| 15:59:44 | ||
| Hey! Looking to use disko with nix-anywhere for some cluster management (Arguably foaming at the mouth with how simple it looks). My file-system of choice is bcachefs, mainly because the low-cost snapshots and SSD caching. Looking through the disko examples (and any other sources I've found online) I cant seem to find where to pass CLI formatting options to bcachefs to support options like foreground/background read/writes, encryption, and the like. Is this a supported configuration by disko? If not (if anyone has time) could someone point me to the working file that actually formats the disk? Might try my hand at implementing something like it. I've found the disko script, but I'd have to brush up on my bash to confirm its the script calling the format command. Thanks in advance! | 16:08:09 | |
| I was also looking to do the same thing! Unfortunately in the current form, only simple single disk formatting via the mkfs bindings are supported. I created a branch to explore the more advanced use cases, and it does work (ish) for a more advanced setup. However there are some caveats that will prevent the code from being merged into disko because of the reliance on some external configurations, and a newer kernel implementation. If you are interested, I can write up some basic instructions. If you are feeling like exploring yourself in the meantime, here is how I am using it to provision one of my servers: https://github.com/ProjectInitiative/dotfiles/blob/main/systems/x86_64-linux/capstan2/default.nix and my fork of disko: https://github.com/ProjectInitiative/disko/blob/master/example/bcachefs-multi-disk.nix | 16:34:12 | |
| * I was also looking to do the same thing! Unfortunately in the current form, only simple single disk formatting via the mkfs bindings are supported. I created a branch to explore the more advanced use cases, and it does work (ish) for a more advanced setup. However there are some caveats that will prevent the code from being merged into disko at this time because of the reliance on some external configurations, and a newer kernel implementation, and some testing inconsistencies. If you are interested, I can write up some basic instructions. If you are feeling like exploring yourself in the meantime, here is how I am using it to provision one of my servers: https://github.com/ProjectInitiative/dotfiles/blob/main/systems/x86_64-linux/capstan2/default.nix and my fork of disko: https://github.com/ProjectInitiative/disko/blob/master/example/bcachefs-multi-disk.nix | 16:34:45 | |
| * I was also looking to do the same thing! Unfortunately in the current form, only simple single disk formatting via the mkfs bindings are supported. I created a branch to explore the more advanced use cases, and it does work (ish) for a more advanced setup. However there are some caveats that will prevent the code from being merged into disko at this time because of the reliance on some external configurations, and a newer kernel implementation, and some testing inconsistencies, as well as a bug in systemd and bcachefs that doesn't properly mount UUID multi-disk filesystems on boot, so a custom systemd mount is needed (can't be used for root at the moment). If you are interested, I can write up some basic instructions. If you are feeling like exploring yourself in the meantime, here is how I am using it to provision one of my servers: https://github.com/ProjectInitiative/dotfiles/blob/main/systems/x86_64-linux/capstan2/default.nix and my fork of disko: https://github.com/ProjectInitiative/disko/blob/master/example/bcachefs-multi-disk.nix | 16:36:37 | |
| 17:48:30 | ||
| 9 Mar 2025 | ||
| 19:39:44 | ||
| I'm having a bear of a time getting KDE logging in after making a live disk with disko-install. The issue seems to be that I am also using impermanence. I have tried:
Any ideas? | 22:04:00 | |
| 10 Mar 2025 | ||
| 15:22:37 | ||
| Hello, I want to add a new zfs dataset to my existing config, can I just re-rerun the disko format script, or will it destroy old stuff? I think that should be safe, but I'm not 100% sure from looking at the generated script. | 15:24:53 | |
| 11 Mar 2025 | ||
| 15:45:57 | ||
| 17:04:57 | ||