tilg 发表于 2015-10-6 11:04:54

HP-UX磁带备份错误收集

  磁带备份命令:
  make_tape_recovery -Av默认备份至/dev/rmt/0mn。
  如果有多个磁带机,那么需要使用下面命令
  make_tape_recovery -Av -a /dev/rmt/1mn
  lsdb#ioscan-fnC tape----扫描磁带机
  lsdb#make_tape_recovery -Av -a /dev/rmt/2mn   -这个通过ioscan -fnC 查看磁带机的路径
         * Creating local directories for configuration files and archive.
  =======12/21/12 18:07:42 EATStarted make_tape_recovery. (Fri Dec 21 18:07:42 EAT 2012)
           @(#)Ignite-UX Revision C.7.13.240
           @(#)ignite/net_recovery (opt) Revision: /branches/IUX_RA1109/ignite/src@83765 Last Modified: 2011-06-14 10:28:20 +0530 (Tue, 14 Jun 2011)
         * Recovery Archive Description = Recovery Archive
           
         * Recovery Archive Location    = /dev/rmt/2mn
   ........
  错误实例一:
  备份最后报错:(PA的CPU,安腾的就没有这个错)
  ERROR:   System Error, /opt/ignite/bin/make_medialif failed creating boot LIF file.
  ERROR:   Failed to generate LIF on tape.
  解决办法:
  solution:In /opt/ignite/bin/make_medialif
  change LIFVolSize='500000000' to LIFVolSize='750000000'.
  there is obviously not enough space in the defined LIF area to hold all the files
  
  错误实例二:多个的备份进程在执行,备份时速度很慢的,需要耐心等待,不能马上就KILL掉,容易出现这种问题。
  ERROR:   The make_sys_image command failed. The system recovery archive will
           not be created.
         * Creating local directories for configuration files and archive.
  =======09/17/13 16:39:18 EATStarted make_tape_recovery. (Tue Sep 17
           16:39:18 EAT 2013)
           @(#) Ignite-UX Revision C.6.0.115
           @(#) net_recovery (opt) $Revision: 10.655 $
  NOTE:    Another make_sys_image process appears to be running.
           Please wait for its completion or remove lockfile(s):
           /var/tmp/ign_configure/make_sys_image_flag16491
  NOTE:    The other make_sys_image process still has not stopped.
  NOTE:    The other make_sys_image process still has not stopped.
  解决办法:
  #ps -ef |grep make
  Kill any make_sys_image processes you find.
  Kill -9 if you need to. (sometimes you need to)
  Remove files from /var/tmp/ign_configure.
  Try it again.
  查看/var/tmp/ign_configure
  把下面的文件删除,或者MV掉,重新执行make_tape_recovery -Av
  http://h30499.www3.hp.com/t5/Ignite-UX/ERROR-previous-make-sys-image-process-hung/td-p/4057549
  http://h30499.www3.hp.com/t5/Ignite-UX/The-other-make-sys-image-process-still-has-not-stopped/td-p/3243696
  
  错误实例三 http://www.itpub.net/thread-529815-1-1.html
  make_recovery -ACv后出现下列问题
  make_recovery(466): Call to /opt/ignite/bin/make_medialif failed.
         Check the /var/opt/ignite/logs/makrec.log1 file.
        Cleanup
  察看文件
  ********
  Started - Wed Apr 19 03:34:01 2006
  ********
  make_recovery -A -C -v
  /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
  /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/swlist -X /opt/ignite/lib/sd_opts -l product > "/var/tmp/makrec.lasttm
  p"
  "/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" -v -a-f "/var/opt/ignite/recovery/config.recov
  er" -l "/var/tmp/uxinstlf.recovery" -C "HP-UX System Recovery" >> /var/opt/ignit
  e/logs/makrec.log1 2>&1
  lifcp: Cannot create SYSCMDS   ; no space on the LIF volume
  make_medialif: error - lifcp SYSCMDS failed, probable insufficient size for /var
  /tmp/uxinstlf.recovery
  磁带是好的,磁带机是测试的
  tar没有问题
  stm没有问题
  单单make_recovery有问题
  /dev/vg00/lvol6    2072576258304 1800320   13% /var
  回答一:
  这个问题我以前也碰到过,修改/opt/iignite/bin/make_medialif
  修改这一段:
  # Create lif volume using ipl_options
  把$ipl_options -v72000000修改成 $ipl_options -v102000000(把参数适当调大一点)
  回答二:
  是ignite的问题



  错误实例四:
ERROR:   Not Enough Disk Space. At least 33556500 bytes is needed for boot LIF
          file.
      * Creating local directories for configuration files and archive.
  解决办法:
方法一:指定uxinstlf.recovery 生成目录
To resolve this problem, it is necessary to increase the disk space in
/var. In the meantime, use the -B option to specify a location other
than /var/tmp/uxinstlf.recovery where more space exists.
For example, suppose /opt has lots of space, then use:
# make_tape_recovery -Av -B /opt/uxinstlf.recovery
  方法二:增加/var目录大小
因为默认路径为:The default file is /var/tmp/uxinstlf.recovery.
  
页: [1]
查看完整版本: HP-UX磁带备份错误收集