!oNSIfazDqEcwhcOjSL:matrix.org

disko

410 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko112 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
12 Jul 2024
@nevrv:matrix.orgnrv
In reply to @nevrv:matrix.org

this is dicko.nix https://0x0.st/XMUo.txt
this is it's output https://0x0.st/XMUT.txt built by nix run .#disko -- --dry-run --mode format --arg disks '[ "/dev/disk/by-id/nvme-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" ]' ./disko.nix

the command that i'm running is sudo --preserve-env=NIX_PATH nix run .#disko -- --mode format --arg disks '[ "/dev/disk/by-id/nvme-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ]' ./disko.nix
disko rev is 786965e1b1ed3fd2018d78399984f461e2a44689

what i'm getting:

  • command log https://0x0.st/XMUQ.txt
  • the disk state after it is this:
Device                                                            Start     End Sectors Size Type
/dev/disk/by-id/nvme-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-part1 4194304 4196351    2048   1M BIOS boot

...for some reason

The resulting disk state is this btw
11:49:38
@nevrv:matrix.orgnrv
In reply to @nevrv:matrix.org

this is dicko.nix https://0x0.st/XMUo.txt
this is it's output https://0x0.st/XMUT.txt built by nix run .#disko -- --dry-run --mode format --arg disks '[ "/dev/disk/by-id/nvme-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" ]' ./disko.nix

the command that i'm running is sudo --preserve-env=NIX_PATH nix run .#disko -- --mode format --arg disks '[ "/dev/disk/by-id/nvme-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ]' ./disko.nix
disko rev is 786965e1b1ed3fd2018d78399984f461e2a44689

what i'm getting:

  • command log https://0x0.st/XMUQ.txt
  • the disk state after it is this:
Device                                                            Start     End Sectors Size Type
/dev/disk/by-id/nvme-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-part1 4194304 4196351    2048   1M BIOS boot

...for some reason

* The resulting disk state is this though
11:49:53
@nevrv:matrix.orgnrvSeems that the first 1M one gets created incorrectly11:49:58
@nevrv:matrix.orgnrvBut why?11:50:02
@nevrv:matrix.orgnrvit's --new=1:0M:+1M11:50:24
@nevrv:matrix.orgnrv
In reply to @nevrv:matrix.org
The resulting disk state is this though
It's this, and the fact that it worked before once, all the way in with all zfs stuff mounted & fine
11:52:13
@nevrv:matrix.orgnrvThen i happily changed some datasets & mount settings and it broke again11:52:46
@nevrv:matrix.orgnrv * Then i happily changed some datasets & mount settings expecting that i can finally purge & rebuild it until i'm happy and it broke again11:53:19
@lassulus:lassul.uslassulushmm, I guess the start=0M confuses sgdisk11:53:59
@lassulus:lassul.uslassulusCould not create partition 1 from 8594128896 to 859413094311:54:00
@nevrv:matrix.orgnrvBut isn't it straight from example?11:54:21
@lassulus:lassul.uslassulusuh I hope not11:54:31

Show newer messages


Back to Room ListRoom Version: 10