Solaris 8 2/02 ご使用にあたって (SPARC 版)

Live Upgrade がブートデバイスを判別できない場合がある (バグ ID: 4525464)

Solstice DiskSuiteTM、SolarisTM Volume Manager のミラーされたルート、Veritas のカプセル化されたルートのいずれかからブートした場合、lucreate コマンドがブートデバイスを判別できないことがあります。その場合、以下のエラーメッセージが表示されます。


WARNING: Unable to determine root device by accessing boot device settings directly.
ERROR: Unable to determine root device for current BE.
ERROR: Unable to determine the physical boot device for the current BE <...>.
Use the <-C> command line option to specify the physical boot device for the current BE 
<...>

lucreate -C を使用して物理的なブートデバイスを指定した場合、コマンドは失敗します。

回避方法 : /usr/sbin/lucreate ファイルを手動で編集して、Solstice DiskSuite、 Solaris Volume Manager のミラーされたルート、Veritas のカプセル化されたルートのいずれかから、Live Upgrade がブートデバイスを判別できるようにします。次の手順を実行してください。

  1. /usr/sbin/lucreate のバックアップ用コピーを作成します。

  2. テキストエディタで /usr/sbin/lucreate を開きます。

  3. /usr/sbin/lucreate ファイル内で次の行を検索します。


    elif [ "${dpbe_pbeBootDev}" -eq "-" ] ; then
    

  4. 上記の行を、以下のように変更します。


    elif [ "${dpbe_pbeBootDev}" = '-' ] ; then
    

  5. /usr/sbin/lucreate ファイル内で次の行を検索します。


     if [ "${OPTARG}" -ne "-" ] ; then
    

  6. 上記の行を、以下のように変更します。


    if [ "${OPTARG}" != '-' ] ; then
    

  7. /usr/sbin/lucreate に行なった変更を保存します。

これで lucreate コマンドがブートデバイスを判別可能になり、-C オプションが正しく機能するようになります。

アップグレード完了後は、/usr/sbin/lucreate のバックアップ用コピーを削除してもかまいません。