disko | 356 Members | |
| disko - declarative disk partitioning - https://github.com/nix-community/disko | 89 Servers |
| Sender | Message | Time |
|---|---|---|
| 20 Nov 2024 | ||
| * Hey everyone. Felt bad about opening a github issue for this, so I thought I'd bring it here... I'm trying to get a semi-complex system set up. I am trying to get an "impermanence" set up working with ZFS as my root filesystem. I've got a 512GB NVME drive for the OS and a 4TB drive for (NAS) bulk storage. I'm setting up a mirrored vdev for the OS (400GB partition on the OS drive and 400GB partition on the storage drive). The rest of the storage drive is just a normal vdev, and I have a pool for each vdev. I was actually able to boot into my system yesterday, and things seemed to be working as expected! However, I forgot encryption. When I went back to add LUKS to the storage pool's partition, I was able to set the passphrase and unlock it, but ultimately was unable to mount the dataset under the encrypted drive. I see I think this may have something to do with the timing of when it's trying to import the pool, but I'm not sure. I also suspect using legacy mountpoints could potentially fix it? If anyone has experience with LUKS+ZFS on disko, let me know! | 05:15:35 | |
* Of note, I enabled boot.initrd.systemd in my config since it seemed like that was necessary to use keyFileTimeout, so that could also have something to do with this. I did not enable it before when I was able to boot successfully. | 05:16:30 | |
| 22 Nov 2024 | ||
| 17:49:27 | ||
| 24 Nov 2024 | ||
| 10:34:18 | ||
| 25 Nov 2024 | ||
| 10:04:53 | ||
| 18:06:38 | ||
| 21:54:50 | ||
hey! trying to set up a new system via nixos net image using disko-install. hitting this error:anybody got an idea what that could be related to? this is my config: https://gist.github.com/elsbrock/7707bb8edfe527fbf250aa2c99ca5815 | 21:56:26 | |
| 21:58:20 | |
| 26 Nov 2024 | ||
| I am trying to configure a system based on the zfs examples. | 10:21:15 | |
| I have a zpool which configures mountpoint "/" | 10:21:27 | |
On eval I get the error The fileSystems option does not specifiy your root file system. | 10:22:03 | |
| Oooof, classic flakes problem … | 10:22:51 | |
| Hadn’t staged disko-config.nix | 10:23:00 | |
| 16:02:33 | ||
| 27 Nov 2024 | ||
| 18:19:01 | ||
| I have a
| 18:35:59 | |
Then I added a second nvme device to the machine and booted it up. I noticed that the machine switched the original /dev/nvme0n1 over to /dev/nvme1n1 and the new device is now /dev/nvme0n1, but it booted up just fine. I am guessing that is becuase (correctly) disko set fileSystems."/".device = "crypted". So far so good. | 18:40:29 | |
but here is my question: can I somehow simply update my disks.nix file and use disko to add the 2nd device to the btrfs filesystem? or do I need to run the respective btrfs device add ... and btrfs balance start -mconvert=raid1 commands myself? | 18:45:58 | |
* but here is my question: can I somehow simply update my disks.nix file and use disko to add the 2nd device to the btrfs filesystem? or do I need to run the respective btrfs device add ... and btrfs balance start -mconvert=raid1 commands myself (which is of course how I have done it in a non-declarative pre-disko world)? | 18:46:27 | |
| 23:33:42 | ||
| 29 Nov 2024 | ||
netpleb: there is a format mode that should not destroy your existing disk and add missing partitions disks etc. But I am not sure this works for raid conversion yet. | 13:07:19 | |
| I don't think we have any convert for this use case | 13:07:42 | |
| lassulus: https://github.com/nix-community/disko/pull/891/files#r1863500583 I need your help with one _unmount option definition. I don't yet understand yet, how thse magic { fs = ; dev = }; attrs are working and when I cannot use them | 13:08:30 | |
| whats the error? I think you need to use config.content._unmount.fs instead of the top level thingie? | 13:17:39 | |
| I think I fixed | 13:22:04 | |
| Interestingly I think I found now a bug in the disko mount code. | 13:37:50 | |
| https://buildbot.thalheim.io/#/builders/64/builds/872/steps/1/logs/stdio | 13:37:52 | |
| Here it imports the zpool before resolving device dependencies. | 13:38:09 | |
| lassulus: any idea how to solve this? | 13:39:34 | |