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 がブートデバイスを判別できるようにします。次の手順を実行してください。
/usr/sbin/lucreate のバックアップ用コピーを作成します。
テキストエディタで /usr/sbin/lucreate を開きます。
/usr/sbin/lucreate ファイル内で次の行を検索します。
elif [ "${dpbe_pbeBootDev}" -eq "-" ] ; then |
上記の行を、以下のように変更します。
elif [ "${dpbe_pbeBootDev}" = '-' ] ; then |
/usr/sbin/lucreate ファイル内で次の行を検索します。
if [ "${OPTARG}" -ne "-" ] ; then |
上記の行を、以下のように変更します。
if [ "${OPTARG}" != '-' ] ; then |
/usr/sbin/lucreate に行なった変更を保存します。
これで lucreate コマンドがブートデバイスを判別可能になり、-C オプションが正しく機能するようになります。
アップグレード完了後は、/usr/sbin/lucreate のバックアップ用コピーを削除してもかまいません。