!oNSIfazDqEcwhcOjSL:matrix.org

disko

355 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko89 Servers

Load older messages


SenderMessageTime
17 Jun 2025
@jopejoe1:matrix.orgjopejoe1 [4094] changed their display name from jopejoe1 (4094@eh22) to jopejoe1 (4094@GPN23).12:06:34
18 Jun 2025
@zeromute:matrix.orgzeromute joined the room.00:53:22
19 Jun 2025
@lgcl:lgcl.delgcl (she/they) changed their display name from lgcl (they/them) to lgcl (she/they).18:09:10
20 Jun 2025
@disco_stick:matrix.orgredesign your logo changed their display name from SS Bullshit Dreams to Corporate Cute.22:58:18
21 Jun 2025
@sielicki:matrix.orgsielicki joined the room.22:04:46
@sielicki:matrix.orgsielickianyone interested in this patch? https://github.com/nix-community/disko/compare/master...sielicki:disko:patch-122:05:43
@sielicki:matrix.orgsielickiI did this because I wanted to cross compile and removing perl from the closure helped considerably. I do think that the patch is correct (ie: nixos-install-tools is technically not directly used by disko), but I didn't grep too hard to confirm it. 22:07:49
@sielicki:matrix.orgsielicki left the room.22:20:24
22 Jun 2025
@sielicki:matrix.orgsielicki joined the room.06:31:36
25 Jun 2025
@hxr404:tchncs.dehxr404 ✨ [it/she] changed their display name from hxr404 ✨ [it/she] to hxr404 ✨ [she/her].12:35:13
@freexploit:trafkin.com@freexploit:trafkin.com joined the room.16:29:08
26 Jun 2025
@kernz9:matrix.orgkernz9 joined the room.05:40:46
@blaxxmith:matrix.orgblaxxmith joined the room.09:11:15
27 Jun 2025
@chatterino:matrix.orgchatterino joined the room.06:28:21
29 Jun 2025
@emilia:dreamy.cafeemilia joined the room.22:24:52
30 Jun 2025
@joerg:thalheim.ioMic92this is disko-install, which uses nixos-install internally? It shouldn't be a dependencies on the disko cli.15:22:38
1 Jul 2025
@thefossguy:matrix.orgPratham Patel changed their display name from Pratham Patel (you can mention me) to Pratham Patel.05:09:59
@lotte:chir.rs@lotte:chir.rs changed their profile picture.08:42:59
2 Jul 2025
@steeringwheelrules:tchncs.de@steeringwheelrules:tchncs.de joined the room.11:38:42
3 Jul 2025
@brisingr05:matrix.orgBrisingr05 joined the room.12:35:47
4 Jul 2025
@dramosac:matrix.orgDaniel Ramos joined the room.19:30:48
5 Jul 2025
@dramosac:matrix.orgDaniel 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
@s:consortium.chatshelvacu

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:matrix.redalder.orgmagic_rbYeah disko cant do that sadly, such a tool would be extremely difficult to sell people on imo. One mistake and your whole pool goes poof10:36:10
@sigmasquadron:matrix.orgSigmaSquadroni 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:lassul.uslassulusin 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 vg11:01:45
@lassulus:lassul.uslassulusalthough that is a bit experimental and I didn't have the time to setup a full test suite yet11:02:04
@sigmasquadron:matrix.orgSigmaSquadron 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:lassul.uslassulusit shouldn't :D (yet)11:05:16
@lassulus:lassul.uslassulusbut 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

Show newer messages


Back to Room ListRoom Version: 10