Solaris SPARC 机器一个boot issue的案例

在做一个数据库server的操作时候,遇到一个boot issue。正常处理完之后需要重启server,init  6之后,等了许久,机器就是没有起来。登陆到console里看机器状态
发现机器处于OK模式,说明server没有问题,可以正常加电。但是为什么不能从磁盘启动呢?

1)进入console输入boot启动,出现如下output,启动失败,退到ok模式

-> start /SP/console
Are you sure you want to start /SP/console (y/n)? y
Serial console started.  To stop, type #.
{0} ok
{0} ok
{0} ok
{0} ok
{0} ok
{0} ok
{0} ok
{0} ok
{0} ok
{0} ok boot
ChassisSerialNumber

SPARC Enterprise T5220, No Keyboard
Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.32.2.b, 65408 MB memory available, Serial #78364274.
Ethernet address 0:14:4f:ab:be:72, Host ID:

Boot device: rootdisk  File and args:
The file just loaded does not appear to be executable.
{0} ok
{0} ok

2)输入boot disk,一样,无法启动

{0} ok
{0} ok
{0} ok boot disk
ChassisSerialNumber

SPARC Enterprise T5220, No Keyboard
Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.32.2.b, 65408 MB memory available, Serial #78364274.
Ethernet address 0:14:4f:ab:be:72, Host ID:

Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@0  File and args:
The file just loaded does not appear to be executable.
{0} ok
{0} ok
{0} ok


3)只能先查看下机器磁盘有几块,使用devalias命令

发现2块盘做了mirror,

{0} ok devalias
rootmirror               /pci@0/pci@0/pci@2/scsi@0/disk@1,0
rootdisk                 /pci@0/pci@0/pci@2/scsi@0/disk@0,0
ttya                     /ebus@c0/serial@0,ca0000
nvram                    /virtual-devices/nvram@3
net3                     /pci@0/pci@0/pci@1/pci@0/pci@3/network@0,1
net2                     /pci@0/pci@0/pci@1/pci@0/pci@3/network@0
net1                     /pci@0/pci@0/pci@1/pci@0/pci@2/network@0,1
net0                     /pci@0/pci@0/pci@1/pci@0/pci@2/network@0
net                      /pci@0/pci@0/pci@1/pci@0/pci@2/network@0
cdrom                    /pci@0/pci@0/pci@1/pci@0/pci@1/pci@0/usb@0,2/storage@2/disk@0:f
disk7                    /pci@0/pci@0/pci@2/scsi@0/disk@7
disk6                    /pci@0/pci@0/pci@2/scsi@0/disk@6
disk5                    /pci@0/pci@0/pci@2/scsi@0/disk@5
disk4                    /pci@0/pci@0/pci@2/scsi@0/disk@4
disk3                    /pci@0/pci@0/pci@2/scsi@0/disk@3
disk2                    /pci@0/pci@0/pci@2/scsi@0/disk@2
disk1                    /pci@0/pci@0/pci@2/scsi@0/disk@1
disk0                    /pci@0/pci@0/pci@2/scsi@0/disk@0
disk                     /pci@0/pci@0/pci@2/scsi@0/disk@0
scsi                     /pci@0/pci@0/pci@2/scsi@0
virtual-console          /virtual-devices/console@1
name                     aliases

4)于是ok模式下,先从rootdisk启动,
输入 boot rootdisk,发现报错,无法启动

{0} ok boot rootdisk          
ChassisSerialNumber

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/55360bccde2d903debb8841c5c3f173f.html