Hey all,
Running into some problems getting the system to work properly now that release is out and I want to make a ZFS Mirror instead of just a single drive. For clarity, the system showed no issue booting using ext4 or xfs on NVME or SATA SSDs (if used by themselves) but now that I'm attempting to use 2 sata SSDs as a mirrored rpool for PVE I'm getting a race condition on boot that I cannot seemingly correct.
In the old days you added rootdelay=x to your Grub file, but that does not seem to have an effect for me. I'm unsure how Grub works with EFI boot, and this is setup for EFI boot - the initial boot loader looks like this:
Here's the problem occurring (looks familiar):
As one can clearly see, the necessary drives are not connecting / loading fast enough. This is repeatable (every single boot does this regardless of Grub rootdelay setting, no matter how ridiculous the setting it just zips along as fast as can be).
Manually typing in the required setting and then exit allows for a proper boot sequence most of the time:
But sometimes you get shenanigans:
Changing the command to zpool import -f -N rpool will correct this annoyance.
This is obviously undesirable in an intended remote setup. I have attempting a fresh reinstall just to see if it would make a difference using different disks but no luck. I have also tried using the "rootwait" setting vice "rootdelay" but there is no change in behaviour. What setting needs to be configured to give the system enough time to load the disks before attempting zpool import at boot?
System Info:
CPU(s): 64 x AMD EPYC 7551P 32-Core Processor (1 Socket)
Kernel Version: Linux 5.0.15-1-pve #1 SMP PVE 5.0.15-1 (Wed, 03 Jul 2019 10:51:57 +0200)
PVE Manager Version: pve-manager/6.0-4/2a719255
Running into some problems getting the system to work properly now that release is out and I want to make a ZFS Mirror instead of just a single drive. For clarity, the system showed no issue booting using ext4 or xfs on NVME or SATA SSDs (if used by themselves) but now that I'm attempting to use 2 sata SSDs as a mirrored rpool for PVE I'm getting a race condition on boot that I cannot seemingly correct.
In the old days you added rootdelay=x to your Grub file, but that does not seem to have an effect for me. I'm unsure how Grub works with EFI boot, and this is setup for EFI boot - the initial boot loader looks like this:
Here's the problem occurring (looks familiar):
As one can clearly see, the necessary drives are not connecting / loading fast enough. This is repeatable (every single boot does this regardless of Grub rootdelay setting, no matter how ridiculous the setting it just zips along as fast as can be).
Manually typing in the required setting and then exit allows for a proper boot sequence most of the time:
But sometimes you get shenanigans:
Changing the command to zpool import -f -N rpool will correct this annoyance.
This is obviously undesirable in an intended remote setup. I have attempting a fresh reinstall just to see if it would make a difference using different disks but no luck. I have also tried using the "rootwait" setting vice "rootdelay" but there is no change in behaviour. What setting needs to be configured to give the system enough time to load the disks before attempting zpool import at boot?
System Info:
CPU(s): 64 x AMD EPYC 7551P 32-Core Processor (1 Socket)
Kernel Version: Linux 5.0.15-1-pve #1 SMP PVE 5.0.15-1 (Wed, 03 Jul 2019 10:51:57 +0200)
PVE Manager Version: pve-manager/6.0-4/2a719255