使用 lustatus 指令顯示關於啟動環境的資訊。如果未指定啟動環境,會顯示系統上所有啟動環境的狀態資訊。
顯示每個啟動環境的以下詳細資訊:
名稱 – 每個啟動環境的名稱。
完整 – 表明無任何複製或建立作業處於進行中。並且,可以啟動某啟動環境。建立或升級作業過程中的任何活動或失敗都會導致不完整的啟動環境。 例如,如果啟動環境仍在處理或排定複製作業,則該啟動環境即會被視為不完整。
使用中 – 指出此啟動環境是否為使用中。
ActiveOnReboot – 指出啟動環境在系統下一次重新啟動時是否會變成使用中。
CopyStatus – 指出啟動環境中是否有排定、使用中或正在升級的建立和複製作業。SCHEDULED 的狀態可避免即時升級複製、重新命名或升級作業的執行。
成為超級使用者,或者假定一個對等身份。
身份包含授權指令與特權指令。如需有關角色的更多資訊,請參閱「System Administration Guide: Security Services」中的「Configuring RBAC (Task Map)」。
鍵入:
# lustatus BE_name |
指定非使用中啟動環境的名稱以檢視狀態。如果略過 BE_name,lustatus 會顯示系統中所有啟動環境的狀態。
在本範例中,將顯示所有啟動環境的狀態。
# lustatus boot environment Is Active Active Can Copy Name Complete Now OnReboot Delete Status ------------------------------------------------------------------------ disk_a_S9 yes yes yes no - disk_b_S10database yes no no yes COPYING disk_b_S9a no no no yes - |
由於 disk_b_S9a 並不完整,所以您無法在其上執行複製、重新命名或升級作業,您也不能在 disk_b_S10database 上執行這些作業,因為其正在執行即時升級作業。