| 21 Oct 2024 |
thecowboyai | anyone using zfs around that can chat? I have a working nixos-flashstor configuration...
It installs NixOS, ZFS, and MinIO on an Asus Flashstor 12.
I need some help figuring out how to launch the ZFS config at boot instead of build... as in launching it in systemd.
I have the rest of this working, but am trying to setup several example configuration for the 12 drives in ZFS.
with nixos-flashstor:
You edit a domain name and IP address...
Build to usb
boot Flashstor on USB
you have a running system. | 17:16:23 |
| @swendel:curious.bio left the room. | 17:38:24 |
| moved to @amadaluzia:tchncs.de changed their display name from (lambda (f l) (format nil "~a ~a")) "Artur" "Manuel" to (artur 'manuel). | 20:03:01 |
| 22 Oct 2024 |
| comm0n(they/them) changed their display name from comm0n to comm0n(they/them). | 19:03:35 |
| 23 Oct 2024 |
hexa | can disko reformat nvmes with the proper blocksize? 512/4k? | 13:07:04 |
hexa | Supported LBA Sizes (NSID 0x1)
Id Fmt Data Metadt Rel_Perf
0 + 512 0 0
1 - 4096 0 0
| 13:07:33 |
hexa | a disk may have two supported modes | 13:07:38 |
hexa | and to switch to 4k blocks one would need to execute
nvme format /dev/nvme0n1 -l 1
| 13:07:56 |
hexa | https://github.com/nix-community/disko/issues/188 🙂 | 13:11:11 |
hexa | so manual for now, got it | 13:11:40 |
lassulus | ah, never heard about that | 13:21:44 |
hexa | it's called nvme low level formatting apparently | 14:06:40 |
hexa | https://openzfs.github.io/openzfs-docs/Performance%20and%20Tuning/Hardware.html#nvme-low-level-formatting | 14:06:50 |
phaer | Disko evaluation seems to be broken on darwin. :/ Ran into this while testing my workshops example on darwin, but seems easy to reproduce. Just run nix flake check on darwin on diskos master (nix 2.18 and 2.23 both seem to show the same symptoms
❯ nix flake check
error:
… while checking flake output 'nixosConfigurations'
at /nix/store/3rj6vrlb75cd0fcrpv3ch84cqim94g87-source/flake.nix:75:7:
74|
75| nixosConfigurations.testmachine = lib.nixosSystem {
| ^
76| system = "x86_64-linux";
… while checking the NixOS configuration 'nixosConfigurations.testmachine'
at /nix/store/3rj6vrlb75cd0fcrpv3ch84cqim94g87-source/flake.nix:75:7:
74|
75| nixosConfigurations.testmachine = lib.nixosSystem {
| ^
76| system = "x86_64-linux";
(stack trace truncated; use '--show-trace' to show the full trace)
error: invalid regular expression ''
at «none»:0: (source not available)
| 17:17:41 |
phaer | Ah got it, will open a PR soon | 17:35:05 |
| 24 Oct 2024 |
| jopejoe1 (4094@epvpn) set a profile picture. | 07:34:49 |
| 25 Oct 2024 |
| Renato Trevisan joined the room. | 07:17:44 |
| systia joined the room. | 14:29:28 |
| 26 Oct 2024 |
| systia set a profile picture. | 04:22:52 |
| ·☽•Nameless☆•777 · ± changed their profile picture. | 07:04:18 |
| ·☽•Nameless☆•777 · ± changed their profile picture. | 07:08:03 |
@annaaurora:artemislena.eu | I am generating NixOS images with disko and then flashing them onto a USB flash drive. When trying to boot from if though, it can't find the device specified via /dev/disk/by-partlabel by disko. When booted into my regular NixOS install the disks exist though under /dev/disk/by-partlabel if the USB flash drive is plugged in. | 15:46:16 |
@annaaurora:artemislena.eu | the nixos-anywhere vm test works however | 16:03:47 |
| 27 Oct 2024 |
| willbush joined the room. | 00:05:43 |
| @tanvir:hackliberty.org changed their profile picture. | 18:36:13 |
| 28 Oct 2024 |
| Sylvie (They/She) 🏳️⚧️ joined the room. | 12:21:21 |
Sylvie (They/She) 🏳️⚧️ | ok so I just deployed to a system that was setup with disko.
flake based config, the module is enabled.
disko config has changed, namely zfs datasets were added.
nothing happened. no new datasets were created.
is that by design? | 12:24:14 |
Sylvie (They/She) 🏳️⚧️ | what I had hoped to get out of disko was mostly declaratively defined zfs datasets, that I can just create by adding them to my config, but it seems I was wrong and that isn't a thing. | 12:28:13 |
eyJhb | In reply to @sylvie:karp.lol what I had hoped to get out of disko was mostly declaratively defined zfs datasets, that I can just create by adding them to my config, but it seems I was wrong and that isn't a thing. It's only a think on initial setup AFAIK. | 12:52:41 |
eyJhb | In reply to @sylvie:karp.lol what I had hoped to get out of disko was mostly declaratively defined zfs datasets, that I can just create by adding them to my config, but it seems I was wrong and that isn't a thing. * It's only a thing on initial setup AFAIK. | 12:52:47 |