disko | 357 Members | |
| disko - declarative disk partitioning - https://github.com/nix-community/disko | 89 Servers |
| Sender | Message | Time |
|---|---|---|
| 21 Feb 2025 | ||
| what is the rationale behind the following in the
I say this because when working on the more advanced bcachefs, I have mostly everything working, except the reformat test, as wipefs and all of the disk deactivation doesn't fully clear bcachefs superblocks and such. Ultimately: what is the use case of this check? Would we not want to always clear before attempting a partitioning? | 06:14:47 | |
| * what is the rationale behind the following in the
I say this because when working on the more advanced bcachefs implementation, I have mostly everything working, except the reformat test, as wipefs and all of the disk deactivation doesn't fully clear bcachefs superblocks and such. Ultimately: what is the use case of this check? Would we not want to always clear before attempting a partitioning?e | 06:15:17 | |
| * what is the rationale behind the following in the
I say this because when working on the more advanced bcachefs implementation, I have mostly everything working, except the reformat test, as wipefs and all of the disk deactivation doesn't fully clear bcachefs superblocks and such. Ultimately: what is the use case of this check? Would we not want to always clear before attempting a partitioning? | 06:16:03 | |
| create should be able to run in alreqdy formatted drives. Like you add a lv to an lvm_VG you don't want to nuke your other partitions | 06:16:46 | |
| idempotency. I see. alright back to the drawing board. | 06:17:27 | |
| 22 Feb 2025 | ||
| For filesystems that use their own FS definitions like btrfs and bcachefs, what is the recommended way of grabbing the list of devices for the I can't pull the Bcachefs UUID at eval time as bcachefs Filesystem UUID gets generated during format and there is no way to pre-seed one. The only other option for mounting is via ":" delimited device path list. I am trying to figure out a way to get the list of dependent devices at eval time, as they should be available. | 04:30:03 | |
In reply to @projectinitiative:matrix.orgHow does one test the bootability of a system? I am having issues where everything looks fine at eval time, but then mounts, ownership, and permissions are messed up at runtime. | 04:44:36 | |
| Particularly with tmpfs root, btrfs subvolumes inside a luks on lvm2, and sops secrets. Sops and impermanence are the bane of my existance rn | 04:45:27 | |
| Actually, it looks like I might be able to pre-seed a UUID generated on the pool name and make everything happy at eval time. Seems to be an undocumented flag of bcachefs | 04:46:10 | |
| 14:46:08 | ||
| 23 Feb 2025 | ||
| I am mostly done with the multi-disk bcachefs implementation. There are some issues and limitations I don't think I can work around at this time. I would really appreciate feedback, questions and a code review for the following PR: https://github.com/nix-community/disko/pull/961/files Unfortunately, it does not pass the current testing framework, and a warning would have to be added regarding a multi-disk-root not being possible due to those limitations. I did not exempt the reboot test as I would like to get some feedback and more eyes on the problem. There might be some creative solutions to be had. Additional information is in the commit message. :) | 00:09:14 | |
| there is a testing framework here: https://github.com/nix-community/disko/blob/master/docs/testing.md I created my example disko config, then copied a test file, changed the information and ran the test VM, which runs the disko test suite which includes a boot test. | 00:15:44 | |
| 26 Feb 2025 | ||
im setting up a ZFS heavy machine in hetzner. And I'd need to make @blank snapshots of all leaf datasets, i dont see any already done way to make those snapshots in disko, am i missing something? | 11:35:15 | |
| 11:38:34 | |
*
| 11:38:41 | |
| is a way of doing it hopefully | 11:38:45 | |
| Yes, that works - and was one of the motivations to create those hooks in the first place :) | 12:17:44 | |
| :P | 12:17:54 | |
| 27 Feb 2025 | ||
| 17:12:37 | ||
| 18:34:07 | ||
| 19:25:30 | ||
| 28 Feb 2025 | ||
| 16:33:10 | ||
| 1 Mar 2025 | ||
Is there any way to forward extra args to nix from disko-install? I run a local caching server, but can't use it because the args aren't supported: --extra-substituters http://192.168.1.103/cache --extra-trusted-public-keys = xxx. I get around it by running nix build first, but can it be done in one go? | 15:02:16 | |
| 2 Mar 2025 | ||
| 19:54:58 | ||
| 22:57:36 | ||
| 3 Mar 2025 | ||
| 04:12:45 | ||
| I have a running system with several partitions, one of which has a ZFS filesystem. The ZFS partition is configured with a single pool, which houses several datasets. If I want to add another dataset, will this affect any of the others? | 04:15:29 | |
| well you would have to to run the format script again for there to be any effect, that doesn't happen automatically | 04:21:49 | |
| you can create the format script and look at it before you run it again | 04:22:00 | |
| but in theory it should only create the new dataset | 04:22:09 | |