Open ghostbuster91 opened 1 month ago
maybe some timing issues, can you post the scripts output on such a failed attempt? maybe sleeping a bit before the mkfs.vat could help. you can try adding a preCreateHook = "sleep 3";
next to the type = "filesystem";
maybe some timing issues
I think so too.
can try adding a preCreateHook = "sleep 3"; next to the type = "filesystem";
This looks very promising, thanks :)
can you post the scripts output on such a failed attempt?
I will reproduce the issue as I need to test the preCreateHook
suggestion anyway and then I will post the whole output.
Following disko script:
sometimes (but very often) fails with
mkfs.vfat cannot open /dev/disk/by-partlabel/disk-sda-boot
(or other similar error). This happens when the disko format script refers to a disk byby-partlabel
lookup (so also when callingzpool create
ormkswap
etc). What is weird is that these entries exist (verified by manually inspecting these directories withls
)Manually calling the failed command and restarting disko script eventually passes.
This only happens on a real machine never on virtual one. Originally reported in #735