| 1 Mar 2024 |
raitobezarius | and mount it using QEMU and the disk doesn't show up at boot | 00:31:58 |
raitobezarius | which seems to hint at missing drivers or something | 00:32:03 |
raitobezarius | 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 | I have disk without label | 00:35:00 |
raitobezarius | * I have disks without label | 00:35:02 |
raitobezarius | so I need to use sdx/vdx/nvmexyz | 00:35:09 |
raitobezarius | or I need to use things like wwn | 00:35:14 |
raitobezarius | but it's hard to get WWN beforehand in Netbox or something | 00:35:22 |
raitobezarius | this would require a new inventory discipline that I don't have right now | 00:35:29 |
lassulus | no gpt type will take /dev/sda or /dev/nvmexxx and will format it and then use /dev/disk/by-partlabel for all operations afterwards | 00:37:46 |
lassulus | so the device should be used at just one location | 00:38:04 |
raitobezarius | yeah | 00:40:34 |
raitobezarius | so the thing i am talking about is the initial formatting | 00:40:40 |
lassulus | ok, but then you should be able to use an environment variable as the initial device | 00:41:40 |
lassulus | and fill it dynamically when you execute the diskoScript | 00:41:50 |
raitobezarius | 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 | like having this weird device = "$PRIMARY_DISK"; ? | 00:42:04 |
lassulus | yeah, that should work | 00:42:14 |
lassulus | but not sure that it actually does :) | 00:42:20 |
raitobezarius | ack | 00:42:23 |
raitobezarius | will try | 00:42:27 |
lassulus | but if it doesn't that is a bug worth fixing | 00:42:28 |
raitobezarius | if i find things | 00:42:28 |
raitobezarius | i will send you PRs | 00:42:30 |
raitobezarius | and docs | 00:42:32 |
lassulus | ok, great | 00:42:38 |
lassulus |  Download image.png | 00:43:35 |
lassulus | :) | 00:43:38 |
raitobezarius | my pleasure my dear lassulus | 00:44:57 |
raitobezarius | i'm gonna make you load bearing on hyperscaler soon | 00:45:09 |