!oNSIfazDqEcwhcOjSL:matrix.org

disko

367 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko93 Servers

Load older messages


SenderMessageTime
1 Mar 2024
@raitobezarius:matrix.orgraitobezariusand mount it using QEMU and the disk doesn't show up at boot00:31:58
@raitobezarius:matrix.orgraitobezariuswhich seems to hint at missing drivers or something00:32:03
@raitobezarius:matrix.orgraitobezarius
In reply to @lassulus:lassul.us
in theory it should work with the gpt type. since we use labels there. in practice this was never tested and somethng will probably break but should be easily fixable
but how does that work with label
00:34:57
@raitobezarius:matrix.orgraitobezariusI have disk without label00:35:00
@raitobezarius:matrix.orgraitobezarius * I have disks without label00:35:02
@raitobezarius:matrix.orgraitobezariusso I need to use sdx/vdx/nvmexyz00:35:09
@raitobezarius:matrix.orgraitobezariusor I need to use things like wwn00:35:14
@raitobezarius:matrix.orgraitobezariusbut it's hard to get WWN beforehand in Netbox or something00:35:22
@raitobezarius:matrix.orgraitobezariusthis would require a new inventory discipline that I don't have right now00:35:29
@lassulus:lassul.uslassulusno gpt type will take /dev/sda or /dev/nvmexxx and will format it and then use /dev/disk/by-partlabel for all operations afterwards00:37:46
@lassulus:lassul.uslassulusso the device should be used at just one location00:38:04
@raitobezarius:matrix.orgraitobezariusyeah00:40:34
@raitobezarius:matrix.orgraitobezariusso the thing i am talking about is the initial formatting00:40:40
@lassulus:lassul.uslassulusok, but then you should be able to use an environment variable as the initial device00:41:40
@lassulus:lassul.uslassulusand fill it dynamically when you execute the diskoScript00:41:50
@raitobezarius:matrix.orgraitobezarius
In reply to @lassulus:lassul.us
ok, but then you should be able to use an environment variable as the initial device
yeah, just trying to confirm if it makes sense to you
00:41:50
@raitobezarius:matrix.orgraitobezarius like having this weird device = "$PRIMARY_DISK"; ? 00:42:04
@lassulus:lassul.uslassulusyeah, that should work00:42:14
@lassulus:lassul.uslassulusbut not sure that it actually does :)00:42:20
@raitobezarius:matrix.orgraitobezariusack00:42:23
@raitobezarius:matrix.orgraitobezariuswill try00:42:27
@lassulus:lassul.uslassulusbut if it doesn't that is a bug worth fixing00:42:28
@raitobezarius:matrix.orgraitobezariusif i find things00:42:28
@raitobezarius:matrix.orgraitobezariusi will send you PRs00:42:30
@raitobezarius:matrix.orgraitobezariusand docs00:42:32
@lassulus:lassul.uslassulusok, great00:42:38
@lassulus:lassul.uslassulusimage.png
Download image.png
00:43:35
@lassulus:lassul.uslassulus:)00:43:38
@raitobezarius:matrix.orgraitobezariusmy pleasure my dear lassulus00:44:57
@raitobezarius:matrix.orgraitobezariusi'm gonna make you load bearing on hyperscaler soon00:45:09

Show newer messages


Back to Room ListRoom Version: 10