- 论坛徽章:
- 0
|
步骤:\r\n1、先执行恢复的操作\r\n (a) OK>; boot cdrom -s --------------以维护模式启动\r\n\r\n (b) # newfs /dev/rdsk/c0t0d0s0\r\n\r\n (c) # mount /dev/dsk/c0t0d0s0 /a ----------注意这里和上面(b)的区别\r\n\r\n (d) # cd /a\r\n\r\n (e) # nohup ufsrestore -rvf 192.168.0.2:/dev/rmt/0 ./ & -----恢复的参数要用rvf而不是xvf(本机没有磁带机,借用192.168.0.2的磁带机)\r\n\r\n (f) # rm restoresymtable\r\n\r\n下面修改针对用disksuite做过镜像的磁盘:\r\n2、/etc/vfstab -----------将MD信息给修改过来\r\n3、/etc/hosts -------------将原来地址注释掉,新加IP地址\r\n4、/etc/system --将其中用disksuite做镜像时加的MD删除掉\r\n5、/etc/dumpadm.conf -------------修改其中的MD的选项\r\n6、/var/spool/cron/crontabs -------------注意这个目录下的各个用户的定时执行文件\r\n7、做光纤硬盘 --------------一般帖子上都没有介绍做这步\r\n (a)# drvconfig -r /a/devices -p /a/etc/path_to_inst \r\n\r\n (b)# cd /devices \r\n\r\n (c)# find . -print | cpio -pduVm /a/devices \r\n ..................................................\r\n ..................................................\r\n ..................................................\r\n ..................................................\r\n ..................................................\r\n ..................................................\r\n ......\r\n 0 blocks\r\n\r\n (e)# cd /a/devices\r\n\r\n (f)# disks -r /a \r\n\r\n (g)# devlinks -r /a\r\n\r\n8、正常引导并全部做SDS(sun disksuite)\r\n\r\n# cd /usr/platform/sun4u/lib/fs/ufs\r\n# installboot bootblk /dev/rdsk/c1t0d0s0 --------------安装引导块\r\n# luxadm set_boot_dev /dev/dsk/c1t0d0s0 --------------重新配置启动设备\r\nDo you want to change boot-device to the new setting? (y/n) y\r\n# cd / ; umount /a\r\n# fsck -y /dev/rdsk/c1t0d0s0\r\n** /dev/rdsk/c1t0d0s0\r\n** Last Mounted on /a\r\n** Phase 1 - Check Blocks and Sizes\r\n** Phase 2 - Check Pathnames\r\n** Phase 3 - Check Connectivity\r\n** Phase 4 - Check Reference Counts\r\n** Phase 5 - Check Cyl groups\r\n107390 files, 18271015 used, 8553207 free (7927 frags, 1068160 blocks, 0.0% fragmentation)\r\n\r\n# reboot -- -r ----------第一次启动的时候最好用这个命令 |
|