在使用保留内存伪设备引导 Oracle Solaris 系统时(例如,系统尝试从发生故障的引导池恢复时)。目标引导环境上的引导归档文件可能会不同步。引导归档文件 SMF 服务将自动重建归档文件,然后重新引导。系统不从引导池重新引导,而是错误地尝试从(现在不存在的)保留内存设备重新引导。这种情况会导致重新引导失败,用户会被置于 ok 提示符。
要出现这种情况,需要两种情形:
目标引导环境上的引导归档文件不同步。
由于要从 SP 上存储的回退映像引导 (OpenBoot boot alias 'fallback-miniroot'),导致系统使用保留内存中存储的引导归档文件引导。
如果出现这种情况,则将出现此错误:
{0} ok boot fallback-miniroot NOTICE: Entering OpenBoot. NOTICE: Fetching Guest MD from HV. NOTICE: Starting additional cpus. NOTICE: Initializing LDC services. NOTICE: Probing PCI devices. NOTICE: Probing USB devices. NOTICE: Finished USB probing. NOTICE: Finished PCI probing. SPARC S7-2, No Keyboard Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved. OpenBoot 4.40.2, 125.2500 GB memory installed, Serial #XXXXXXXXX. Ethernet address 0:10:e0:XX:XX:XX, Host ID: XXXXXXXX. Boot device: /@300/@1/@0/@2/@0/@1/@0,0 File and args: SunOS Release 5.11 Version 11.3 64-bit Copyright (c) 1983, 2015, Oracle and/or its affiliates. All rights reserved. NOTICE: Configuring iSCSI to access the root filesystem... NOTICE: successfully copied and retained the boot_archive into memory, rebooting ... rebooting... Resetting... NOTICE: Entering OpenBoot. NOTICE: Fetching Guest MD from HV. NOTICE: Starting additional cpus. NOTICE: Initializing LDC services. NOTICE: Probing PCI devices. NOTICE: Probing USB devices. NOTICE: Finished USB probing. NOTICE: Finished PCI probing. SPARC S7-2, No Keyboard Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved. OpenBoot 4.40.2, 125.2500 GB memory installed, Serial #XXXXXXXXX. Ethernet address 0:10:e0:XX:XX:XX, Host ID: XXXXXXXX. Boot device: /reboot-memory File and args: SunOS Release 5.11 Version 11.3 64-bit Copyright (c) 1983, 2015, Oracle and/or its affiliates. All rights reserved. NOTICE: Configuring iSCSI to access the root filesystem... An inconsistency in the boot archive was detected and the boot archive has been successfully updated. Rebooting syncing file systems... done rebooting... Resetting... NOTICE: Entering OpenBoot. NOTICE: Fetching Guest MD from HV. NOTICE: Starting additional cpus. NOTICE: Initializing LDC services. NOTICE: Probing PCI devices. NOTICE: Probing USB devices. NOTICE: Finished USB probing. NOTICE: Finished PCI probing. SPARC S7-2, No Keyboard Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved. OpenBoot 4.40.2, 125.2500 GB memory installed, Serial #XXXXXXXXX. Ethernet address 0:10:e0:XX:XX:XX, Host ID: XXXXXXXX. Boot device: /reboot-memory@0:nolabel File and args: ERROR: /reboot-memory@0: No reboot memory segment. Evaluating: Can't open boot device {0} ok
恢复:请在 ok 提示符处再次键入 boot 命令。