免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1463 | 回复: 6
打印 上一主题 下一主题

请问光纤盘做系统盘恢复的问题! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-06-23 19:58 |只看该作者 |倒序浏览
e3500服务器,solaris8操作系统,由于系统盘出现问题(备有各个系统分区的ufsdump文件),我换了块同样的新盘,按原来的分区,并且restore了各个分区,/ 分区做了installboot,但是从硬盘不能启动,据说还要做其它的操作,比如把光纤盘的WWN号写入prom等,请问哪位做过,给予指点,不胜感谢!

论坛徽章:
0
2 [报告]
发表于 2004-06-23 20:28 |只看该作者

请问光纤盘做系统盘恢复的问题!

告诉我到哪查资料也行, 很着急,最好给个连接,先谢谢!

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
3 [报告]
发表于 2004-06-23 21:14 |只看该作者

请问光纤盘做系统盘恢复的问题!

ok boot disk的时候有没有说是invalid wwn什么的?如果有,重新设置一下disk,使它指向你现在的盘。就是你说的“写入PROM”。

论坛徽章:
0
4 [报告]
发表于 2004-06-23 21:25 |只看该作者

请问光纤盘做系统盘恢复的问题!

printenv看看boot-device这项后面的内容,如果必要,可以使用setenv boot-device指向你要引导的盘。

论坛徽章:
0
5 [报告]
发表于 2004-06-23 21:43 |只看该作者

请问光纤盘做系统盘恢复的问题!

在OK下,做
OK>;setenv autoboot? false
OK>;reset-all
...
OK>;probe-scsi-all
检查boot-device,指向新认出的光纤盘。最后,把autoboot设为true。
OK>;setenv autoboot? true

论坛徽章:
0
6 [报告]
发表于 2004-06-24 09:27 |只看该作者

请问光纤盘做系统盘恢复的问题!

英文的,慢慢看。
1) The boot disk fails and is replaced by another disk with a different
    WWN.

2) Boot the system into single user mode from the cdrom or network.

3) Label the replacement disk to match the slices from the failed disk.

4) Create filesystems on all the slices to be restored.

5) Mount the root filesystem and restore the data from backups.

6) Install the boot block onto the recovered root slice using the
   "installboot" command.  Refer to the installboot manpage for the syntax.

7) With root mounted under "/a" run the following commands to re-build
    the devices tree :

   /usr/sbin/drvconfig -r /a/devices -p /a/etc/path_to_inst

   cd /devices
   /usr/bin/find . -print | cpio -pduVm /a/devices

   /usr/sbin/disks -r /a
   /usr/sbin/devlinks -r /a

NOTE: It is currently necessary to use both "drvconfig" and "find | cpio"
due to bugid 4161768, drvconfig does not work properly with socal disks.

Configure the "boot-device" parameter in the EEPROM using the
   "luxadm set_boot_dev /dev/dsk/{root slice entry}" command.

9) Restore the other filesystems on that disk, or comment out the
    entries for them from /a/etc/vfstab. At the very least, you must have all the
    Solaris filesystems (root, /var, /usr, /opt, etc.) recovered.

10) Reboot the system from the recovered disk.

论坛徽章:
0
7 [报告]
发表于 2004-06-24 11:00 |只看该作者

请问光纤盘做系统盘恢复的问题!

谢谢scsi,我按照你提供的文档成功替换了系统盘.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP