-
szilardI am facing an unreliable reboot with my NAS. It start to belive it have something to do with the way I issue the reboot command. According to my experiences the machine reboots just fine using the reboot command If I am connected via LAN to the machine. However most of the time I connect via VPN, which runs in a zone and I have set it up to forward ipv4. So i suspect when I issue the rebot command via
-
szilardtailscale it starts to shutdown the zones. But while it does this it still prints info in the ssh session. But OmniOS will shutdown the tailscale zone, so the reboot command looses its stdout and it dies before it fully reboots the machine.
-
szilardDo you think this can be the reson?
-
szilardI should try to reboot the server running reboot in tmux...
-
szilardI have also noticed when the reboot command doesn1t successfulyl reboots the machine I loose all contact with it. I can dial into the router the machine connected to but the machine doesn't answer to ping in this state
-
szilardMAybe the networking is already shutdown, but the machine still runs.
-
szilardI am not even sure, where it hangs, It can be before or after the reboot. I always find the machine powered on, fans going on high speed, but no other signs of life. I need to hardware reset it using the power button.
-
szilardIs there any alternative command which i should use, which doesnt relies on stdout?
-
ptribbleYou could always issue the reboot command from within a screen session
-
ptribbleBut I wouldn't expect stdout to be a problem
-
ptribbleIf it is related to connecting via vpn then I suspect the vpn itself might be holding up the reboot, but even that shouldn't happen
-
szilardThen I am not sure, what can be te culprit. There is nothing on the display output, the machine doesn't react to anything and I don't know if there is any log which can give any hints regarding the state of the machine.
-
szilardMaybe the machine sucessfully reboots, and it freezes somewhere in the bootloader.
-
tsoome_does it start up ok on power cycle?
-
tsoome_hung system on "reboot" command is often related to "bad" method to perform the reboot. But, if you do suspect the bootloader stage, you better get access to the console and then you can be sure.
-
szilardtsoome_: it always starts up just fine after power cycling it.
-
tsoome_btw, is it booting UEFI or bios?
-
szilardit is uefi.
-
szilardmaybe i shoul try init 6 to reboot
12 minutes ago