Solaris 10 u8 (10/09)にアップグレード時にエラーが・・

Solaris 10 u8 (10/09)アップグレード時にエラーが出ます

Live Upgradeを利用して、Solaris 10 u7 (5/09) SPARC版から Solaris 10 u8(10/09)にアップグレードしたら、luactivateコマンド実行後の再起動時に以下のエラーが出ました。シングルユーザでログインするためrootパスワードを入れろとのこと。

Configuring devices.
ERROR: svc:/system/filesystem/minimal:default failed to mount /var  (see 'svcs -x' for details)
Oct 17 17:25:50 svc.startd[7]: svc:/system/filesystem/minimal:default: Method "/lib/svc/method/fs-minimal" faled with exit status 95.
Oct 17 17:25:50 svc.startd[7]: system/filesystem/minimal:default failed fatally: transitioned to maintenance see 'svcs -xv' for details)
Requesting System Maintenance Mode
(See /lib/svc/share/README for more information.)
Console login service(s) cannot run

Root password for system maintenance (control-d to bypass):
single-user privilege assigned to /dev/console.
Entering System Maintenance Mode

なにやら/varのマウントができない模様。svcs -xコマンドを実行すると以下のエラーが…

bash-3.00# svcs -x
svc:/network/iscsi_initiator:default has no "restarter" property group; ignoring.
svc:/system/filesystem/minimal:default (minimal file system mounts)
 State: maintenance since Sat Oct 17 17:25:50 2009
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
   See: http://sun.com/msg/SMF-8000-KS
   See: /etc/svc/volatile/system-filesystem-minimal:default.log
Impact: 55 dependent services are not running.  (Use -v for list.)

svc:/application/print/server:default (LP print server)
 State: disabled since Sat Oct 17 17:23:42 2009
Reason: Disabled by an administrator.
   See: http://sun.com/msg/SMF-8000-05
   See: lpsched(1M)
Impact: 1 dependent service is not running.  (Use -v for list.)

/etc/svc/volatile/system-filesystem-minimal:default.logを見ろと記述されているので、見てみると、/varのマウントが失敗しています。

bash-3.00# cat /etc/svc/volatile/system-filesystem-minimal\:default.log
[ Oct 17 17:23:41 Enabled. ]
[ Oct 17 17:25:50 Executing start method ("/lib/svc/method/fs-minimal") ]
ERROR: /sbin/mount -O -F zfs   /var failed, err=1
filesystem 'rpool/ROOT/s10s_u8wos_09/var' cannot be mounted using 'mount -F zfs' Use 'zfs set mountpoint=/var instead. If you must use 'mount -F zfs' or /etc/vfstab, use 'zfs set mountpoint=legacy'. See zfs(1M) for mor information.
[ Oct 17 17:25:50 Method "start" exited with status 95 ]

Live Upgradeを利用すると、/etc/vfstabに/と/varを登録するのですが、/varは元々zfsのマウント機能でマウントする設定が有効になっていたので、「/etc/vfstab経由でマウントするならそういうオプション設定してよ」と怒られている模様。

rpool/ROOT/s10s_u8wos_09        -       /       zfs     1       no      -
rpool/ROOT/s10s_u8wos_09/var    -       /var    zfs     1       no      -

解決策

以下のコマンドを実行して事なきを得ました。珍しいエラーなのかなぁ・・・

zfs set mountpoint=legacy rpool/ROOT/s10s_u8wos_09/var
This entry was posted in solaris. Bookmark the permalink.

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

*

次のHTML タグと属性が使えます: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <img localsrc="" alt="">