This procedure describes how to use the reboot command with -f option to initiate a fast reboot of an x86 based system.
Become superuser or assume an equivalent role.
Initiate a fast reboot of the system:
To reboot to a new kernel, you would type:
# reboot -f -- '/platform/i86pc/new-kernel-name/amd64/unix -k' |
To initiate a fast reboot using boot arguments from the previous boot, you would type:
# reboot -f |
The boot archive is derived from the kernel argument. In the event of a failure in the fast reboot path, such as insufficient memory, the normal reset path is used.
# reboot -f -- '/platform/i86pc/kernel/amd64/unix' Oct 21 15:06:35 tonyspizza reboot: initiated by ... on /dev/console Oct 21 15:06:36 /usr/lib/snmp/snmpdx: received signal 15 Fast reboot. syncing file systems... done SunOS Release 5.11 Version onnv-gate:2008-10-20 64-bit Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. DEBUG enabled Hostname: tonyspizza NIS domain name is lab.sfbay.sun.com /dev/rdsk/c1d0s7 is clean Reading ZFS config: done. |
This example fast reboots a system using the boot arguments that were used for the previous boot.
# reboot -f Oct 21 15:02:38 tonyspizza reboot: initiated by ... on /dev/console Oct 21 15:02:38 tonyspizza rpcbind: rpcbind terminating on signal. Oct 21 15:02:38 tonyspizza syslogd: going down on signal 15 Fast reboot. syncing file systems... done Loading kmdb... SunOS Release 5.11 Version onnv-gate:2008-10-20 64-bit Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. DEBUG enabled Hostname: tonyspizza NIS domain name is mpklab.sfbay.sun.com /dev/rdsk/c1d0s7 is clean Reading ZFS config: done. |