如果升級後偵測到失敗,或是應用程式與已升級的元件不相容,您可以使用 luactivate 指令轉至備用原始啟動環境。
當您已從 UFS 啟動環境遷移至 ZFS 根池,之後決定轉至備用 UFS 啟動環境時,您必須再次匯入在 ZFS 啟動環境中所建立的所有 ZFS 儲存池。在 UFS 啟動環境中,不會自動提供這些 ZFS 儲存池。當您切換回 UFS 啟動環境時,將會看到類似下列範例的訊息。
# luactivate c0t0d0 WARNING: The following files have changed on both the current boot environment <new-ZFSbe> zone <global> and the boot environment to be activated <c0t0d0>: /etc/zfs/zpool.cache INFORMATION: The files listed above are in conflict between the current boot environment <ZFSbe> zone <global> and the boot environment to be activated <c0t0d0>. These files will not be automatically synchronized from the current boot environment <new-ZFSbe> when boot environment <c0t0d0> |
如需轉至備用原始啟動環境的範例,請參閱第 6 章失敗回復:轉至備用原始啟動環境 (作業)。