免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4134 | 回复: 6

怎样更换根盘!在线等,急!急!急! [复制链接]

论坛徽章:
0
发表于 2010-01-06 20:56 |显示全部楼层
各位老大,小弟是新手,公司有台rp7400主机的系统盘不见了,原来的系统盘是2块36G的硬盘做了镜像,现在的情况如下:
ioscan -funCdisk
Class     I  H/W Path      Driver   S/W State   H/W Type     Description
=========================================================================
disk      0  0/0/1/0.1.0   sdisk    CLAIMED     DEVICE       HP      DVD-ROM 305
                          /dev/dsk/c0t1d0   /dev/rdsk/c0t1d0
disk      2  0/0/2/1.6.0   sdisk    CLAIMED     DEVICE       SEAGATE ST336704LC
                          /dev/dsk/c2t6d0   /dev/rdsk/c2t6d0
disk      3  0/12/0/0.8.0.110.0.0.0  sdisk    CLAIMED     DEVICE       HP      A
                          /dev/dsk/c4t0d0   /dev/rdsk/c4t0d0
disk      4  1/10/0/0.8.0.108.0.0.0  sdisk    CLAIMED     DEVICE       HP      A
                          /dev/dsk/c6t0d0   /dev/rdsk/c6t0d0
主机上可以看到diskB的绿灯偶尔闪动,diskA灯长亮的。
由于公司同事不懂,已经把机器重启了一次了,现在做备份都不能做了
#  make_recovery
NOTE:    make_recovery(103): The make_recovery command will be replaced by
         make_tape_recovery.  Both commands are supported in this
         release (Ignite-UX Revision 3.2).  Please read the man page
         make_tape_recovery(1M) for usage of the new command.  In a
         future release, make_recovery will be replaced by a script
         that calls make_tape_recovery.
WARNING: Filesystem /oralog1 is not mounted.  It will be ignored.
WARNING: Filesystem /oralog2 is not mounted.  It will be ignored.
WARNING: Filesystem /oralog3 is not mounted.  It will be ignored.
WARNING: Filesystem /oradata is not mounted.  It will be ignored.
WARNING: Filesystem /oralog1 is not mounted.  It will be ignored.
WARNING: Filesystem /oralog2 is not mounted.  It will be ignored.
WARNING: Filesystem /oralog3 is not mounted.  It will be ignored.
WARNING: Filesystem /oradata is not mounted.  It will be ignored.
WARNING: Filesystem /oralog1 is not mounted.  It will be ignored.
WARNING: Filesystem /oralog2 is not mounted.  It will be ignored.
WARNING: Filesystem /oralog3 is not mounted.  It will be ignored.
WARNING: Filesystem /oradata is not mounted.  It will be ignored.
WARNING: Filesystem /oralog1 is not mounted.  It will be ignored.
WARNING: Filesystem /oralog2 is not mounted.  It will be ignored.
WARNING: Filesystem /oralog3 is not mounted.  It will be ignored.
WARNING: Filesystem /oralog1 is not mounted.  It will be ignored.
WARNING: Filesystem /oralog2 is not mounted.  It will be ignored.
WARNING: Filesystem /oralog3 is not mounted.  It will be ignored.
WARNING: Filesystem /oradata is not mounted.  It will be ignored.
lifls(open): No such device or address
lifls: Can\'t list /dev/dsk/c1t6d0; file not opened
WARNING: /dev/dsk/c1t6d0 is not a lif volume.
         No LIF files on the boot disk will be archived.
         Check /stand/bootconf, man bootconf(4), and /dev/dsk to
         make sure that the bootconf file is set up correctly.




      ***************************************
       HP-UX System Recovery
make_recovery(390): Call to /opt/ignite/bin/save_config failed.
       Check the /var/opt/ignite/logs/makrec.log1 file.
        Cleanup


小弟查看了下:
# more /var/opt/ignite/logs/makrec.log1

********
Started - Mon Feb  7 12:20:31 2005
********
/opt/ignite/bin/make_recovery -A -C
/opt/ignite/lbin/list_expander -d
/opt/ignite/lbin/list_expander -d
/opt/ignite/lbin/list_expander -d
/opt/ignite/lbin/list_expander -d -v
\"/opt/ignite/bin/save_config\" -f \"/var/opt/ignite/recovery/config.recover\" \"vg00
\"  >> \"/var/opt/ignite/logs/makrec.log1\" 2>&1
/opt/ignite/bin/save_config[2]: 10.34.8.0:  not found.
/usr/sbin/vgcfgbackup \"vg00\" >> /var/opt/ignite/logs/makrec.log1 2>&1
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.con
f
/usr/sbin/vgcfgbackup \"vgdb\" >> /var/opt/ignite/logs/makrec.log1 2>&1
Volume Group configuration for /dev/vgdb has been saved in /etc/lvmconf/vgdb.con
f
/usr/sbin/vgexport -p -m /etc/lvmconf/vgdb.mapfile vgdb >> /var/opt/ignite/logs/
makrec.log1 2>&1
vgexport: Volume group \"vgdb\" is still active.
/usr/sbin/swlist -X /opt/ignite/lib/sd_opts -l product > \"/var/tmp/makrec.lasttm
\"/opt/ignite/bin/instl_adm\" -T -f \"/var/opt/ignite/recovery/config.recover\" >> /
var/opt/ignite/logs/makrec.log1 2>&1
\"/opt/ignite/bin/make_medialif\" -a  -f \"/var/opt/ignite/recovery/config.recover\"
-l \"/var/tmp/uxinstlf.recovery\" -C \"HP-UX System Recovery\" >> /var/opt/ignite/l
ogs/makrec.log1 2>&1
/opt/ignite/bin/instl_adm -F \"/var/tmp/uxinstlf.recovery\" -f \"/var/tmp/tmp_cfg_f
ile\" >> /var/opt/ignite/logs/makrec.log1 2>&1
/usr/bin/dd if=\"/var/tmp/uxinstlf.recovery\" of=\"/dev/rmt/0mn\" bs=2k >> /var/opt/
ignite/logs/makrec.log1 2>&1
30043+1 records in
30043+1 records out
Creating archive.
/usr/bin/sed \'s/^.//\' \"/var/opt/ignite/recovery/arch.include\" | /usr/bin/sort -u
|grep -v -e  \"^var/adm/crash\" -e  \"^etc/xtab\" -e  \"^etc/rmtab\" >>\"/var/tmp/arch
.include.1\"

********
If the system is recovered using this tape,
this will be the last message seen in the
recovered log file.

********

********
********
Started - Wed Jan  6 06:19:59 2010
********
make_recovery -A -C -v
/opt/ignite/lbin/list_expander -d
/opt/ignite/lbin/list_expander -d
/opt/ignite/lbin/list_expander -d
/opt/ignite/lbin/list_expander -d -v
WARNING: Could not restore LIF volume.
\"/opt/ignite/bin/save_config\" -f \"/var/opt/ignite/recovery/config.recover\" \"vg00
\"  >> \"/var/opt/ignite/logs/makrec.log1\" 2>&1
vgdisplay: Warning: couldn\'t query physical volume \"/dev/dsk/c1t6d0\":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn\'t query all of the physical volumes.
vgdisplay: Warning: couldn\'t query physical volume \"/dev/dsk/c1t6d0\":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn\'t query all of the physical volumes.
vgdisplay: Warning: couldn\'t query physical volume \"/dev/dsk/c1t6d0\":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn\'t query all of the physical volumes.
vgdisplay: Warning: couldn\'t query physical volume \"/dev/dsk/c1t6d0\":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn\'t query all of the physical volumes.
vgdisplay: Warning: couldn\'t query physical volume \"/dev/dsk/c1t6d0\":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn\'t query all of the physical volumes.
vgdisplay: Warning: couldn\'t query physical volume \"/dev/dsk/c1t6d0\":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn\'t query all of the physical volumes.
vgdisplay: Warning: couldn\'t query physical volume \"/dev/dsk/c1t6d0\":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn\'t query all of the physical volumes.
vgdisplay: Warning: couldn\'t query physical volume \"/dev/dsk/c1t6d0\":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn\'t query all of the physical volumes.
vgdisplay: Warning: couldn\'t query physical volume \"/dev/dsk/c1t6d0\":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn\'t query all of the physical volumes.
lvdisplay: Warning: couldn\'t query physical volume \"/dev/dsk/c1t6d0\":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn\'t query all of the physical volumes.
lssf: Must specify a special_file
usage: lssf special_file ...
save_config: error - unknown disk type for , not SCSI or HPFL
save_config: error - cannot determine root disk

********
Ended Unsuccessfully - Wed Jan  6 06:22:15 2010
********

********
Started - Wed Jan  6 06:30:41 2010
********
make_recovery
/opt/ignite/lbin/list_expander -d
/opt/ignite/lbin/list_expander -d
/opt/ignite/lbin/list_expander -d
/opt/ignite/lbin/list_expander -d -v
WARNING: Could not restore LIF volume.
\"/opt/ignite/bin/save_config\" -f \"/var/opt/ignite/recovery/config.recover\" \"vg00

lvdisplay: Warning: couldn\'t query all of the physical volumes.
lvdisplay: Warning: couldn\'t query physical volume \"/dev/dsk/c1t6d0\":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn\'t query all of the physical volumes.
lvdisplay: Warning: couldn\'t query physical volume \"/dev/dsk/c1t6d0\":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn\'t query all of the physical volumes.
lssf: Must specify a special_file
usage: lssf special_file ...
save_config: error - unknown disk type for , not SCSI or HPFL
save_config: error - cannot determine root disk

********
Ended Unsuccessfully - Wed Jan  6 06:31:17 2010
********
#
#
#
#
#
#
#

由于是生产系统,没有备份的话,小弟我不敢更换根盘,现在不知道该怎么办好了,求各位高手大哥帮帮忙啊!感谢感谢!

论坛徽章:
0
发表于 2010-01-07 09:05 |显示全部楼层
楼主去查查rp7400的手册上应该有更换raid盘的步骤,比较保险

论坛徽章:
0
发表于 2010-01-07 16:58 |显示全部楼层

回复 #1 linyang1978 的帖子

你发主机的现实情况好像是c1t6d0 找不到了,但你用ioscan看到的情况是没有c1t6d0的嘛,怎么回事?

论坛徽章:
0
发表于 2010-01-07 17:05 |显示全部楼层

回复 #1 linyang1978 的帖子

哦,我看到你说你同事可能重启过,那这个现象就对了。可能c1t6d0要更换了。其实方法很简单的,如果现在还没解决我就给你说步骤,呵呵。

论坛徽章:
0
发表于 2010-01-07 22:09 |显示全部楼层
既然做了镜像,就把坏的那块盘更换了。然后重新做mirror.

论坛徽章:
0
发表于 2010-01-11 14:26 |显示全部楼层
多谢各位兄弟,俺找个朋友,给俺说了步骤,已经搞好了,其实和没重启的换法都差不多,只是步骤不太一样罢了,这次真的学到了不少东东,呵呵!

论坛徽章:
0
发表于 2010-01-11 20:07 |显示全部楼层
做了mirror的就不需要关机。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP