管理员可以通过选择其他引导菜单条目之一(如果存在),从串行控制台执行系统软件的失败安全回滚。虽然也可以从 BUI 或 CLI 请求回滚,但回滚是从引导菜单提供的,因为有可能在新的系统软件完全运行失败的情况下需要回滚,即根本无法引导。
GNU GRUB version 0.97 (639K lower / 2620352K upper memory) +-------------------------------------------------------------------------+ | Sun ZFS Storage 7120 2013.06.05.0.0,1-1.6 | | Sun ZFS Storage 7120 2011.04.24.4.2,1-1.28 | | | +-------------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, or 'c' for a command-line.
选择回滚引导菜单条目后,系统将引导旧的核心软件,但必须在控制台上手动确认回滚以提交回滚,这将有效地删除自系统更新以来进行的所有更改,如上所述。确认步骤如下:
SunOS Release 5.11 Version ak/generic@2011.04.24.4.2,1-1.28 64-bit Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved. System rollback in progress. Rollback to: ak/nas@2011.04.24.4.2,1-1.28 Proceed with system rollback [y,n,?]
系统将使用之前的快照进行重新引导。
借助此操作,管理员可以选择最新的软件版本或较旧的快照引导映像。