!oNSIfazDqEcwhcOjSL:matrix.org

disko

357 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko91 Servers

Load older messages


SenderMessageTime
17 Apr 2025
@rob.sliwi:matrix.orgrobsliwi You could try to fix it with nix store repair or show some errors to guide you in some direction. 11:28:27
@reflux1291:catgirl.cloudDerpy (they/any)
In reply to @rob.sliwi:matrix.org
You could try to fix it with nix store repair or show some errors to guide you in some direction.
No error, seems like kernel panics, can't boot any working configuration, and even the working ones were not always working
I should actually investigate more into this, but it seemed easier for me to just reinstall
12:15:32
@disco_stick:matrix.orgfood style edible product changed their display name from "Other Natural Flavors" to High Dynamic Range.17:21:39
@mrvandalo:terranix.orgpaloI created a zraid2 setup on top of luks a while ago (with this disko config : https://git.ingolf-wagner.de/palo/nixos-config/src/branch/main/machines/chungus/hardware-configuration/disko-config.nix) now one of my disks broke down, and I just plugged a new disk in the computer. Is there an easy way to format them the same way I defined in that disko-config.nix ? I mean I have to define the new disk in there anyway, but is there an easy command to only format this device and all? 20:24:19
@mrvandalo:terranix.orgpalo* I created a zraid2 setup on top of luks a while ago (with this disko config : https://git.ingolf-wagner.de/palo/nixos-config/src/branch/main/machines/chungus/hardware-configuration/disko-config.nix) now one of my disks broke down, and I just plugged a new disk in the computer. Is there an easy way to format them the same way I defined in that disko-config.nix ? I mean I have to define the new disk in there anyway, but is there an easy command to only format this device and all? I'm asking because I think disko does a lot of stuff like labeling and proper flagging and such.20:24:58
@mrvandalo:terranix.orgpalo Hmm according to documentation, and from what I see in the script, disko --dry-run -m format ... it will only format drives which don't have the proper label set 20:48:13
@mrvandalo:terranix.orgpalo* Hmm according to documentation, it will only format drives which don't have the proper label set20:49:56
@mrvandalo:terranix.orgpalo I just rand --dry-run -m format, than copied and edited the file to just run the part of the new drive. 21:04:56
@mrvandalo:terranix.orgpalo * I just rand --dry-run -m format, than copied and edited the file to just run the part of the new drive. Worked fine so far. 21:05:07
@lassulus:lassul.uslassulusI also added some safeguard into the format scripts, that it shouldn't run on already formatted drives22:10:54
@lassulus:lassul.uslassulusbut removing that code is also fine22:10:59
18 Apr 2025
@joerg:thalheim.ioMic92 @reflux1291:catgirl.cloud: nixos-install is idempotent. You can use it to repair stuff 05:14:53
@jlesquembre:matrix.orgjlesquembre joined the room.13:29:48
19 Apr 2025
@jopejoe1:matrix.orgjopejoe1 (4094@39c3) changed their display name from jopejoe1 to jopejoe1 (4094@eh22).13:01:24
@nam3l33ss:matrix.org·☽•Nameless☆•777 · ± changed their profile picture.14:31:10
@parismagpie:matrix.orgparismagpieHey19:05:27
20 Apr 2025
@parismagpie:matrix.orgparismagpieso I'm using disko to declare partitioning for two raw disk images (/ in ext4, /home in zfs). Booting the system using qemu to test whether everything works or not, zfs complain about the zpool being mounted on another system ( "pool was previously in use from another system.", "The pool can be imported, use 'zpool import -f' to import the pool." )07:35:01
@parismagpie:matrix.orgparismagpieI'm thinking that it's might be related to the use of diskoImagesScript to create the two raw images. Is there any disko option to avoid this problem ?07:35:55
@parismagpie:matrix.orgparismagpie (I can boot.zfs.forceImportAll = true but that seems a bit overkill) 07:47:57
21 Apr 2025
@creepinson:matrix.org@creepinson:matrix.org joined the room.04:53:02
@creepinson:matrix.org@creepinson:matrix.orgRedacted or Malformed Event04:53:41
@mjolnir:nixos.orgNixOS Moderation Bot banned @creepinson:matrix.org@creepinson:matrix.org (spam).04:53:43
22 Apr 2025
@mjolnir:nixos.orgNixOS Moderation Bot unbanned @creepinson:matrix.org@creepinson:matrix.org.02:28:45
@creepinson:matrix.org@creepinson:matrix.org joined the room.02:41:04
@senorsmile:matrix.orgsenorsmile joined the room.02:51:48
@jaredmontoya:matrix.orgjaredmontoya joined the room.09:32:35
@phaer:matrix.orgphaer

Hm... between two vms, that shouldn't be an issue if networking.hostId is the same for both.

For diskoImagesScript i believe the idea would be that it runs zfs export in the end which also should cause it to import cleanly on another system iiuc.

10:07:47
23 Apr 2025
@f44:matrix.orgf44Redacted or Malformed Event18:42:13
24 Apr 2025
@nicoty:kde.orgnicoty

The PR got merged 🎉 (thanks for your UUID contribution, btw), but I couldn't quite get subvolumes to mount at boot time.

I saw that your PR included code for a custom systemd unit. I haven't tried using that and haven't much experience with writing systemd units, so maybe you could try implementing something with it to get boot-time subvolume mounts to work, if you're interested?

23:32:42
25 Apr 2025
@nrs-status:matrix.orgthirdofmay18081814goya joined the room.16:10:02

Show newer messages


Back to Room ListRoom Version: 10