免费注册 查看新帖 |

Chinaunix

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

[SCO UNIX] Restoring the Root Filesystem [复制链接]

论坛徽章:
5
未羊
日期:2014-08-07 15:42:10双子座
日期:2014-09-23 15:42:172015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:55:282022北京冬奥会纪念版徽章
日期:2015-08-10 16:30:32
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-05-14 13:54 |只看该作者 |倒序浏览
   1. Before you begin, locate your Emergency Kit and current root backup tape
      
   2. If possible, perform a normal system shutdown
      
   3. At the "Safe to Power Off" prompt, turn off the power to the Unix server
      
   4. Insert Emergency BOOT disk in the floppy diskette drive
      
   5. Turn on the power to the Unix server
        
   6. From system console, press ENTER at Boot: prompt
      
   7. When prompted to do so, insert Emergency ROOT disk into the floppy drive
      
   8. At # prompt, type the following command and press ENTER:

      fsck -y /dev/hdØroot

   9. The system will go through the Filesystem Check as follows:

      ** Phase 1 - Check Blocks and Sizes
      ** Phase 2 - Check Pathnames
      ** Phase 3 - Check Connectivity
      ** Phase 4 - Check Reference Counts
      ** Phase 5 - Check Free List Bitmap

      xxx files xxxx blocks xxxxx free
        
  10. At # prompt, type the following commands and press ENTER after each command:

      mount /dev/hdØroot /mnt

              System will hang for a couple minutes

      cd /mnt

               

      pwd

              /mnt must be displayed to continue!

      rm -r .*

              System will hang for a couple minutes
      Disregard any rm: cannot remove... messages :: they are normal

      
  11. Insert current root backup tape into drive and type the following command:

      cpio -icdumBv < /dev/rctØ

  12. This will start the restore process :: the files will scroll across the screen as they are copied back onto the system.

      If you receive the message "Reached end of medium on input", it is because the root backup is continued on a second tape. You will receive this message (or something similar) when the first tape is completed.

      Do not press ENTER or you will abort the program! Instead, simply insert the second tape and when it is ready, type the following command and press ENTER to continue the restore.

      /dev/rctØ

  13. When the restore is completed, the system will return to the # prompt
  14. Type the following commands and press ENTER:

      cd ..
      umount /dev/hdØroot
      sync; sync; haltsys

  15. The system will display the "Safe to Power Off" message
      
  16. Remove floppy and tape from drives
      
  17. Press ENTER to reboot the system
      
  18. At the scosysv!login, log into redshaw and verify that the system is working properly
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP