| 27 Jun 2025 |
| chatterino joined the room. | 06:28:21 |
| 29 Jun 2025 |
| emilia joined the room. | 22:24:52 |
| 30 Jun 2025 |
Mic92 | this is disko-install, which uses nixos-install internally? It shouldn't be a dependencies on the disko cli. | 15:22:38 |
| 1 Jul 2025 |
| Pratham Patel changed their display name from Pratham Patel (you can mention me) to Pratham Patel. | 05:09:59 |
| @lotte:chir.rs changed their profile picture. | 08:42:59 |
| 2 Jul 2025 |
| @steeringwheelrules:tchncs.de joined the room. | 11:38:42 |
| 3 Jul 2025 |
| Brisingr joined the room. | 12:35:47 |
| 4 Jul 2025 |
| Daniel Ramos joined the room. | 19:30:48 |
| 5 Jul 2025 |
Daniel Ramos | Hi Nix and Disko community,
I'm new to the Nix ecosystem, and I have a lot of questions, so I really appreciate your patience while I learn 😊.
I'm trying to set up a home NAS server and was planning to use Disko to manage the disks. My setup is simple:
- Use an SSD for the operating system (ESP, swap, and root).
- Use two 10TB HDDs to create a Btrfs RAID1 pool for long-term storage.
My concern is whether Disko is designed for this type of scenario. From what I understand in the documentation, Disko can format and prepare the two HDDs with Btrfs during the initial installation, but if I later add a third 10TB disk, I cannot use Disko to add it to the existing pool and rebalance declaratively, and I would need to do this manually using btrfs device add and btrfs balance.
Is this understanding correct?
Is there any tool that allows fully declarative management and expansion of Btrfs arrays, or is Disko primarily intended for the installation and reprovisioning phase rather than for post-installation expansion?
Thanks in advance!
| 07:42:39 |
| 6 Jul 2025 |
shelvacu |
I cannot use Disko to add it to the existing pool and rebalance declaratively
I believe that's correct. I don't know of any tool that can do that, maybe you should make one! | 06:54:45 |
magic_rb | Yeah disko cant do that sadly, such a tool would be extremely difficult to sell people on imo. One mistake and your whole pool goes poof | 10:36:10 |
SigmaSquadron | i would appreciate an append-only tool that synced a disko configuration with the current partitioning layout. If you added a new disk to a pool, it'd handle the necessary setup for you, but if you removed a disk from the config, it wouldn't do anything. | 10:43:49 |
lassulus | in theory format does that, you can run it multiple times and it will do some of the actions (like adding a new disk if there is an empty new disk) or adding a new dataset to a zfs pool or adding an lv to an lvm vg | 11:01:45 |
lassulus | although that is a bit experimental and I didn't have the time to setup a full test suite yet | 11:02:04 |
SigmaSquadron | running disko format on a working system is not something that screams "this is safe, don't worry wink wink" to anyone. | 11:03:48 |
lassulus | it shouldn't :D (yet) | 11:05:16 |
lassulus | but if someone has time and motivation to work on it, I can give guidance, or just wait until I'm done with the other things on my questlog :) | 11:06:09 |
musicmatze | I have the same issue with ZFS and datasets and so on. What I do is, use Disko to generate the shell scripts to create new datasets and then manually apply them. If I would add another disk, I would do the same steps. | 14:21:40 |
musicmatze | So far that worked nicely | 14:21:47 |
| Derpy (they/any) changed their display name from Any (they/any) to Derpy (they/any). | 17:00:19 |
| 7 Jul 2025 |
| Zempashi joined the room. | 09:49:56 |
| Zempashi changed their display name from Julien Girardin to Zempashi. | 11:07:13 |
| Vladislav Grechannik joined the room. | 17:28:14 |
Vladislav Grechannik | Does anybody run multiple bcachefs subvolumes with encryption? It bothers me that it asks for a password each time on boot (in my case I have to enter my password 3 times for each subvolume) | 17:31:33 |
@steeringwheelrules:tchncs.de | are there any examples of zfs setup that works with hibernation? as far as I'm aware it only needs to not be used for the swap partition, but the rest of the drives (including nixos) can be zfs, right? | 22:31:26 |
magic_rb | No, zfs shouldnt be used for hibernation period | 22:33:15 |
| 8 Jul 2025 |
shelvacu | In reply to @steeringwheelrules:tchncs.de are there any examples of zfs setup that works with hibernation? as far as I'm aware it only needs to not be used for the swap partition, but the rest of the drives (including nixos) can be zfs, right? my understanding is that for hibernation, the hiberfile is loaded in initrd. If the zfs pool is also loaded/mounted for any reason during that initrd, then after the memory gets restored zfs will have inconsistent information about the pool. I wouldn't risk it | 02:43:17 |
magic_rb | Yeah zfs has no safeguards against this case. So theoretically if you avoid the scenario above it may be safe. But even then its a very untested codepath, though to be honest so is suspend and that seems to be working completely fine | 06:02:53 |
| Zempashi removed their profile picture. | 15:54:47 |
| 9 Jul 2025 |
| jonhermansen joined the room. | 01:17:27 |