Differences between version 3 and revision by previous author of ForcingReboots.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 3 | Last edited on Monday, May 8, 2006 10:46:44 pm | by PerryLorier | Revert |
Older page: | version 2 | Last edited on Monday, May 8, 2006 10:37:06 pm | by MichaelJager | Revert |
@@ -9,9 +9,12 @@
So you've got a bunch of processes waiting on disk because the device mounts on /home is hosed, and you know you can fix it, if you could just umount the f&^%ing thing. Now unless /home is NFS mounted (in which case you've probably got more than one machine with this problem, you poor bastard) with intr, you're probably screwed without a reboot.
But you can't reboot, right? You can't sync, or kill the processes waiting waiting on disk (cause, well, they're waiting on disk), or whatever, because the device is poked.
-Well, apparently the cunning folks that invented reboot (or halt, take your pick), have thought of this, and added the -n (don't sync before reboot/halt) and -f (do it now, really) options. So try your luck with reboot -ns (might want to comment out the /home line in fstab first, presumably the whole reason you're trying to force a reboot without hitting the reset button is because the machine's a long way away, and having it die on reboot because it can't mount the hosed /home media is not going to be a good look).
+Well, apparently the cunning folks that invented reboot (or halt, take your pick), have thought of this, and added the -n (don't sync before reboot/halt) and -f (do it now, really) options. So try your luck with <tt>
reboot -ns</tt>
(might want to comment out the /home line in fstab first, presumably the whole reason you're trying to force a reboot without hitting the reset button is because the machine's a long way away, and having it die on reboot because it can't mount the hosed <tt>
/home</tt>
media is not going to be a good look).
Danger Will Robinson, data loss may occur, etc, etc. Not my fault.
+
+An even more abrupt way of rebooting the machine, if magic syskey is enabled you can use:
+<tt>echo b >/proc/sysreq</tt>, or press <tt>Alt-Sysreq-B</tt>
----
CategoryErrors