Solaris 10拆除镜像单盘启动

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Solaris 10拆除镜像

单盘启动

1.概述

在Solaris系统发生故障,系统重启后无法进入系统,也不会自动进入维护模式(metadb全部丢失),不断自动重启情况下,通过修改vfstab和system文件,恢复到不带镜像的单盘启动操作系统。

操作环境如下:

2.操作准备

1、准备一张Solaris 10的光盘用于进入单用户模式;

2.1.确认故障

根据下列系统启动信息,可才发现系统找不到启动的镜像盘,可以判断是两块镜像硬盘同时故障,或metadb文件全部丢失

所致。

ok boot

Sun Blade 2500, No Keyboard

Copyright 1998-2003 Sun Microsystems, Inc. All rights reserved.

OpenBoot 4.9.7, 4096 MB memory installed, Serial #60984762.

Ethernet address 0:3:ba:a2:8d:ba, Host ID: 83a28dba.

Rebooting with command: boot

Boot device: /pci@1d,700000/scsi@4/disk@1,0 File and args:

SunOS Release 5.10 Version Generic_147147-26 64-bit

Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved. Cannot open mirrored root device, error 19 //不能启动镜像磁盘Cannot remount root on /pseudo/md@0:0,100,blk fstype ufs

panic[cpu0]/thread=180e000: vfs_mountroot: cannot remount root

000000000180b950 genunix:vfs_mountroot+398 (60010fdaac0, 1869298, 188d858, 18b3400, 18bb800, 1863bd0)

%l0-3: 0000060010fdaac0 0000000001296400 0000000001863968 0000060010fdaac0

%l4-7: 000000000188d858 0000000000002021 0000000000000021 0000000000002000 000000000180ba10 genunix:main+10c (18b2800, 180c000, 183b1c0, 10a8000, 0, 183c070) %l0-3: 0000000000000001 0000000070002000 0000000070002000 0000000000000000

%l4-7: 0000000001843800 0000000000000000 0000000001815400 0000000001815648

syncing file systems... done

skipping system dump - no dump device configured

rebooting... //系统不断自动重启

Sun Blade 2500, No Keyboard

Copyright 1998-2003 Sun Microsystems, Inc. All rights reserved.

OpenBoot 4.9.7, 4096 MB memory installed, Serial #60984762.

Ethernet address 0:3:ba:a2:8d:ba, Host ID: 83a28dba.

Rebooting with command: boot

Boot device: /pci@1d,700000/scsi@4/disk@0,0:a File and args:

|

/k /

3.解决方法(修改vfstab和system文件)

3.1.进入ok模式

在维护模式输入init 0进入ok模式

# init 0

# svc.startd: The system is coming down. Please wait.

svc.startd: 81 system services are now being stopped.

svc.startd: The system is down.

syncing file systems... done

Program terminated

ok

ok

3.2.从光盘引导进入单用户模式

把盘放入光驱,boot cdrom –s从光盘引导进入单用户模式

ok boot cdrom -s

Boot device: /pci@1e,600000/ide@d/cdrom@2,0:f File and args: -s

SunOS Release 5.10 Version Generic_147440-01 64-bit

Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.

Booting to milestone "milestone/single-user:default".

Configuring devices.

Using RPC Bootparams for network configuration information.

Attempting to configure interface ce3...

Skipped interface ce3

Attempting to configure interface ce2...

Skipped interface ce2

Attempting to configure interface ce1...

Skipped interface ce1

Attempting to configure interface ce0...

Configured interface ce0

Attempting to configure interface bge0...

Skipped interface bge0

Requesting System Maintenance Mode

SINGLE USER MODE

#

#

3.3.Mount磁盘分区到/a

# format

相关文档
最新文档