免费注册 查看新帖 |

Chinaunix

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

用磁带恢复的时候,应该选择哪个(如图最后几项) [复制链接]

论坛徽章:
0
发表于 2008-09-23 11:12 |显示全部楼层
前提条件:
make_tape_recovery -A操作成功。
操作步骤:
1,重启系统,自检通过后在十秒中断处中断,如下所示:
Firmware Version  43.43
Duplex Console IO Dependent Code (IODC) revision 1
------------------------------------------------------------------------------
   (c) Copyright 1995-2002, Hewlett-Packard Company, All rights reserved
------------------------------------------------------------------------------
  Processor   Speed            State           CoProcessor State  Cache Size
  Number                                       State              Inst    Data
  ---------  --------   ---------------------  -----------------  ------------
      1      440  MHz   Active                 Functional         512 KB   1 MB
      3      440  MHz   Idle                   Functional         512 KB   1 MB
      5      440  MHz   Idle                   Functional         512 KB   1 MB
      7      440  MHz   Idle                   Functional         512 KB   1 MB
  Central Bus Speed (in MHz)  :        120  
  Available Memory            :    4193284  KB
  Good Memory Required        :      18880  KB
   Primary boot path:    0/0/2/1.6           
   Alternate boot path:  0/0/2/0.6           
   Console path:         0/0/4/0.0           
   Keyboard path:        0/0/4/0.0           
WARNING:  The non-destructive test bit was set, so memory was not tested
            destructively.  Information only, no action required.

Processor is starting autoboot process.
To discontinue, press any key within 10 seconds.
Boot terminated.
2,通过“sea IPL”命令搜索可引导设备,找到磁带机的硬件路径地址0/0/1/0.0
3,通过磁带机引导,过程如下:
Main Menu: Enter command or menu > bo 0/0/1/0.0
Interact with IPL (Y, N, or Cancel)?> n
Booting...
Boot IO Dependent Code (IODC) revision 1

HARD Booted.
ISL Revision A.00.44  Mar 12, 2003
ISL booting  hpux (;0):INSTALL
Boot
: tape(0/0/1/0.0.0.0.0.0.0;0):WINSTALL
11751424 + 1970264 + 2631464 start 0x200d68


alloc_pdc_pages: Relocating PDC from 0xffff800000 to 0x7eb00000.
4,加载内核成功后,有如下显示:
gate64: sysvec_vaddr = 0xc0002000 for 2 pages
NOTICE: nfs3_link(): File system was registered at index 4.
NOTICE: autofs_link(): File system was registered at index 6.
NOTICE: cachefs_link(): File system was registered at index 7.
td: claimed Tachyon TL/TS Fibre Channel Mass Storage card at 1/2/0/0
    System Console is on the Built-In Serial Interface
    Swap device table:  (start & size given in 512-byte blocks)
        entry 0 - auto-configured on root device; ignored - no room
WARNING: no swap device configured, so dump cannot be defaulted to primary swap.
WARNING: No dump devices are configured.  Dump is disabled.
Starting the STREAMS daemons-phase 1
Create STCP device files
Starting the STREAMS daemons-phase 2
          $Revision: vmunix:    vw: -proj    selectors: CUPI80_BL2000_1108 -c 'Vw for CUPI80_BL2000_1108 build' -- cupi80_bl2000_1108 'CUPI80_BL2000_1108'  Wed Nov  8 19:24:56 PST 2000 $
Memory Information:
    physical page size = 4096 bytes, logical page size = 4096 bytes
    Physical: 4194304 Kbytes, lockable: 3203460 Kbytes, available: 3693540 Kbytes
=======  06/21/07 02:21:21 EDT  HP-UX Installation Initialization. (Thu Jun 21
         02:21:21 EDT 2007)
         @(#) Ignite-UX Revision C.6.1.44
         @(#) install/init (opt) $Revision: 10.303 $
       * Scanning system for IO devices...
       * Querying disk device: 0/0/2/1.6.0 ...
Recovery tape created from system: 4000new on Thu Jun 21 12:51:03 2007

WARNING: The configuration information calls for a non-interactive
         installation.
         Press <Return/Enter> within 10 seconds to cancel batch-mode installation:
       * Using client directory: /var/opt/ignite/clients/0x00306E1345B1
       * Checking configuration for consistency...
NOTE:    Free space (4129584KB) in "/var" where /var/adm/crash is located is
         less than system memory (4194304KB). This should be enough space to
         capture at least a single dump (and likely more than that if the dump
         is selective and/or compressed) in the event of a system crash.
         Additional space may be required to uncompress the dump in order to
         analyze it and to save multiple dumps. You can increase the size of
         the "/var" volume on the "File System" tab when using the advanced
         user interface.
WARNING: The disk at: 0/0/2/1.6.0 (HP_36.4GST336752LC) appears to contain a
         file system and boot area.  Continuing the installation will destroy
         any existing data on this disk.
         Press <Return/Enter> within 10 seconds to cancel batch-mode installation:
         Really cancel non-interactive install and start the
         user-interface? ([y]/n): y
       * Setting keyboard language to: PS2_DIN_US_English.
NOTE:   
         The console firmware terminal type is currently set to "vt100". If you
         are using any other type of terminal you will see "garbage" on the
         screen following this message.
         If this is the case, you will need to either change the terminal type
         set in the firmware via GSP (if your GSP firmware version supports
         this feature), or change your terminal emulation to match the
         firmware. In either case you will need to restart if your terminal and
         the firmware terminal type do not match.
         Press the 'b' key if you want to reboot now.
         
Recovery tape created from system: 4000new on Thu Jun 21 12:51:03 2007
5,通过手工中断,来到和光盘引导相同的安装界面:

             Welcome to the HP-UX installation/recovery process!
  Use the <tab> key to navigate between fields, and the arrow keys
  within fields.  Use the <return/enter> key to select an item.
  Use the <return/enter> or <space-bar> to pop-up a choices list.  If the
  menus are not clear, select the "Help" item for more information.
  Hardware Summary:         System Model: 9000/800/N4000-44
  +---------------------+----------------+-------------------+ [ Scan Again  ]
  | Disks: 1  ( 33.9GB) |  Floppies: 0   | LAN cards:   5    |
  | CD/DVDs:        0   |  Tapes:    1   | Memory:    4096Mb |
  | Graphics Ports: 0   |  IO Buses: 4   | CPUs:        4    | [ H/W Details ]
  +---------------------+----------------+-------------------+
                       [      Install HP-UX       ]
                       [   Run a Recovery Shell   ]
                       [    Advanced Options      ]
                       [  Read Sys-Admin Message  ]
          [  Reboot  ]                              [  Help  ]
6,按需求进行安装即可。

论坛徽章:
0
发表于 2008-09-23 11:13 |显示全部楼层
是不是选择,RUN a recovery shell??

论坛徽章:
0
发表于 2008-09-23 11:16 |显示全部楼层
还有一个问题,,用make_tape_recovery备份系统的时候,用make_tape_recovery -A -v /dev/rmt/0m?对吗?一般情况是怎么样的?

论坛徽章:
0
发表于 2008-09-23 11:16 |显示全部楼层
还有一个问题,,用make_tape_recovery备份系统的时候,用make_tape_recovery -A -v /dev/rmt/0m?对吗?一般情况是怎么样的?

论坛徽章:
0
发表于 2008-09-23 12:29 |显示全部楼层
应该选第一个 install ux ; 一般情况下make_tape_recovery -vA 就可以了。

论坛徽章:
0
发表于 2008-09-23 13:49 |显示全部楼层
原帖由 fengwangke 于 2008-9-23 11:13 发表
是不是选择,RUN a recovery shell??



选第一个INSTALL HP-UX就可以了。

论坛徽章:
0
发表于 2008-09-23 13:51 |显示全部楼层
原帖由 fengwangke 于 2008-9-23 11:16 发表
还有一个问题,,用make_tape_recovery备份系统的时候,用make_tape_recovery -A -v /dev/rmt/0m?对吗?一般情况是怎么样的?




是这样的,一般系统默认磁带机路径为/dev/rmt/0m,在这种情况下用make_tape_recovery -Av 就可以备份,而当磁带机路径变化,如变成/dev/rmt/1mn,那么,这时候就需要将路径带上,采取这样的备份方式:
make_tape_recovery -a /dev/rmt/1mn -Av,这样才能够备份成功。

论坛徽章:
0
发表于 2008-09-23 14:59 |显示全部楼层
学习中,make_tape_recovery确实很好用

论坛徽章:
0
发表于 2008-09-23 21:34 |显示全部楼层
选择install HP-UX。然后在一步界面中选择要恢复的内容记录

论坛徽章:
0
发表于 2008-09-24 14:14 |显示全部楼层
谢谢,有点明白啦!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP