Solaris 10 5/08 安裝指南:Solaris Live Upgrade 與升級規劃

顯示所有啟動環境的狀態

使用 lustatus 指令顯示關於啟動環境的資訊。如果未指定啟動環境,會顯示系統上所有啟動環境的狀態資訊。

顯示每個啟動環境的以下詳細資訊:

Procedure顯示所有啟動環境的狀態

  1. 成為超級使用者,或者假定一個對等身份。

    身份包含授權指令與特權指令。如需有關角色的更多資訊,請參閱「System Administration Guide: Security Services」中的「Configuring RBAC (Task Map)」

  2. 鍵入:


    # lustatus BE_name
    
    BE_name

    指定非使用中啟動環境的名稱以檢視狀態。如果略過 BE_namelustatus 會顯示系統中所有啟動環境的狀態。

    在本範例中,將顯示所有啟動環境的狀態。


    # 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 上執行這些作業,因為其正在執行即時升級作業。