-
jimklimov
Cheers, can the illumos "loader" (as seen in OI for example) be used to boot FreeBSD from ZFS? I suppose it should not have any trouble booting OmniOS, FWIW?
-
jimklimov
For context: migrating some NUT CI VMs from FossHost to DigitalOcean, and an OI cloud image is something I could use as a "custom template" there - so if I can just zfs send/recv the existing VMs' rootfs'es into the image that started out as an OI VM, that would simplify a lot :)
-
otis
the loader is imported from freebsd, actually.
-
otis
tsoome would answer your question with 100% certainity.
-
tsoome
jimklimov chainload should work -- assuming the disk layout is done in supported way. direct load may, but it has never been the goal there, so it is not tested in any way.
-
tsoome
jimklimov for chainload, you want to point to [p]mbr or loader.efi from freebsd.
-
jimklimov
yupee, OI from cloud image which was sucking in the zfs send/recv pool contents from fosshost actually booted, usable console, network and all!
-
jimklimov
DigitalOcean web-console does suck by disconnection during VM reboot, so early messages and sometimes loader menu are lost :\
-
jimklimov
hm, `init 6` seems to have got stuck after `syncing file systems... done` - I think it did not reboot actually
-
jimklimov
FWIW, also says "WARNING: Fast reboot is not supported on this platform due to presence of boot-time modules" - can this be related to not rebooting a line later?
-
jimklimov
-
jimklimov
Hm, after a few minutes, a "rebooting..." line appeared
-
jimklimov
And that dying uptime's console is still up...
-
jimklimov
So at least 15 min since `init 6`
-
ptribble
-
fenix
→
BUG 14526: illumos guest hangs on reboot under QEMU 6.0.0 (New)
-
jimklimov
you're the quickest shot in the West! :)
-
jimklimov
at least by symptoms - looks like it
-
ptribble
I've seen exactly that behaviour on Digital Ocean a few times :-(
-
jimklimov
did anyone come up with some solution or workaround? it would be cumbersome to have to go to the hosting UI to power-cycle the VM whenever we want a reboot (more so if it were unintentional - some kernel dump, zfs deadman, etc.)
-
jimklimov
for intentional cases, maybe might add some late-shutdown restapi call to "powercycle me!" in the same style NUT drivers tell the UPS to cut the juice
-
jimklimov
just need some way to enable running userland-provided logic after svc.startd has killed everyone
-
jimklimov
Are there watchdogs on DO for tighter integration (like that metadata-agent)? Can that take care of eventual unattended reboots?
-
jimklimov
Does current illumos (OI, OO) include some qemu guest software that could 1) probe if the QEMU host provides a virtual watchdog device, and 2) actually use one? I remember there was bmc-watchdog, but was it only for certain physical hardware?.. :)
-
jimklimov
at least there was nothing evident in `prtconf`...
-
jimklimov
eh, guess I'll leave it trying to reboot after an OS update now; waiting for DNS to refresh before productizing this VM anyway...
-
jimklimov
if "rebooting..." appeared after 10-15 mins, who knows what another hour can bring? :)
-
gitomat
[illumos-gate] 5583 support QLogic 16Gb FC-HBA -- Hans Rosenfeld <hans.rosenfeld⊙nc>
-
jimklimov
The world is safe: I came back from a walk, and that VM booted after all, 3h:10m ago
-
jimklimov
So it was roughly hanging for 2 hours, but did reboot. Not AWOL indefinitely. Better than nothing =D