lgatuk 发表于 2013-07-11 14:32

make_tape_recovery失败,

make_tape_recovery报错,我应该如何下手啊
新手不知道怎么下手,求教
google了一下,有人说/tmp下有strange文件,remove就好了,我的/tmp下都是业务的人弄的,不敢清除

hostname#more /var/opt/ignite/recovery/latest/recovery.log


=======07/11/13 11:01:32 EATStarted make_tape_recovery. (Thu Jul 11
         11:01:32 EAT 2013)
         @(#)Ignite-UX Revision C.7.9.254
         @(#)ignite/net_recovery (opt) Revision:
         /branches/IUX_RA0909/ignite/src@78594 Last Modified: 2009-07-15
         15:20:38 -0600 (Wed, 15 Jul 2009)


       * Recovery Archive Description = Recovery Archive
         
       * Recovery Archive Location    = /dev/rmt/0mn
         
       * Number of Archives to Save   = 2
         
       * Pax type= tar
         
      
      In?   dsk/vgname                  minor#Associated disks/mountpoints
      0       x       /dev/vx/dsk/vg03      N/A   /dev/dsk/c10t2d7 /dev/dsk/c10t3d0 /dev/dsk/c10t3d1 /dev/dsk/c10t7d7 /dev/dsk/c10t8d0 /dev/dsk/c10t8d1 /dev/dsk/
c10t8d2 /dev/dsk/c10t8d3 /dev/dsk/c10t8d4 /dev/dsk/c10t8d5 /dev/dsk/c10t8d6 /dev/dsk/c10t8d7
                                                /dev/vx/dsk/vg03/lvol1/mdmprod/apps   0
      1       v       /dev/vg00               0x00    /dev/disk/disk5_p2 /dev/disk/disk7_p2
                                                /dev/vg00/lvol1 /stand2
                                                /dev/vg00/lvol2
                                                /dev/vg00/lvol3 /       2
                                                /dev/vg00/lvol4 /tmp    2
                                                /dev/vg00/lvol5 /home   2
                                                /dev/vg00/lvol6 /opt    2
                                                /dev/vg00/lvol7 /usr    2
                                                /dev/vg00/lvol8 /var    2
                                                /dev/vg00/lvol9 /StageR12       0
                                                /dev/vg00/lvol10      /mdmprod/inst   0
      0       v       /dev/vglock             0x01    /dev/dsk/c10t0d5 /dev/dsk/c12t0d5

      ** 0 - The Volume Group or Filesystem is Not included in the
               System Recovery Archive
      ** 1 - The Volume Group or Filesystem is Partially included in the
               System Recovery Archive
      ** 2 - The Volume Group or Filesystem is Fully included in the
               System Recovery Archive

       * Checking Versions of Ignite-UX filesets
       * Scanning system for IO devices...
       * Boot device is: 0/0/0/2/0.0x6.0x0
       * Creating System Configuration.
WARNING: The volume group /dev/vg00 will be only partially included in the
         System Recovery Archive.This means that not all files and
         directories on this volume group will be restored when the archive is
         installed.This message can be suppressed using the "-P s" option for
         make_tape_recovery. See make_tape_recovery(1M) for more details.
         
       * /opt/ignite/bin/save_config -f
         /var/opt/ignite/recovery/2013-07-11,11:01/system_cfg vg00
       * Backing Up Volume Group /dev/vg00
       * /usr/sbin/vgcfgbackup /dev/vg00
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
       * Creating Map Files for Volume Group /dev/vg00
       * /usr/sbin/vgexport -s -p -m /etc/lvmconf/vg00.mapfile /dev/vg00
vgexport: Volume group "/dev/vg00" is still active.
vgexport: Preview of vgexport on volume group "/dev/vg00" succeeded.

       * Backing Up Volume Group /dev/vglock
       * /usr/sbin/vgcfgbackup /dev/vglock
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c10t0d5":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c12t0d5":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query the list of physical volumes.
vgcfgbackup: Volume group not activated.
       * Creating Map Files for Volume Group /dev/vglock
       * /usr/sbin/vgexport -s -p -m /etc/lvmconf/vglock.mapfile /dev/vglock
vgexport: Preview of vgexport on volume group "/dev/vglock" succeeded.

       * Creating Control Configuration.
       * Creating Archive File List
       * Creating Archive Configuration

       * /opt/ignite/lbin/make_arch_config -c
         /var/opt/ignite/recovery/2013-07-11,11:01/archive_cfg -g
         /var/opt/ignite/recovery/2013-07-11,11:01/flist -n 2013-07-11,11:01 -r
         ipf -b 64 -d Recovery\ Archive -t 22 -i 1 -m t
       * Saving the information about archive to
         /var/opt/ignite/recovery/previews
       * Creating The Tape Archive
       * Checking configuration file for Syntax
WARNING: You are about to create an Itanium-based recovery tape.If this
         system does NOT support direct tape boot, you will need to perform
         "two-step media recovery" where the boot media (CD or DVD) has the
         same version of Ignite-UX as the version on this tape.
       * Complete writing boot LIF onto tape.
       * /opt/ignite/data/scripts/make_sys_image -c n -d /dev/rmt/0mn -t n -s
         local -n 2013-07-11,11:01 -m t -w
         /var/opt/ignite/recovery/2013-07-11,11:01/recovery.log -u -R -g
         /var/opt/ignite/recovery/2013-07-11,11:01/flist -a 31405600
         
       * Preparing to create a system archive.

       * Archiving contents of humdma01 via tar image to local device /dev/rmt/0mn.
pax: var/spool/mqueue/dfr5T6XHiI016524 : No such file or directory
pax: var/spool/mqueue/dfr5TB42at002398 : No such file or directory
pax: var/spool/mqueue/dfr5SL1fiL011236 : No such file or directory
WARNING: The pax command returned a non-zero exit status (exit status 1).
       * Creation of system archive complete.
NOTE:    The following files are in the list of files that were on the
         system, but they are no longer present.These files are not
         included in the backup:
         /tmp/ma025933
         /tmp/ma025932
这里东西太多,就不复制了,都是ma0259开头的
这里东西太多,就不复制了,都是/var/spool/mqueue/dfr开头的
   /var/spool/mqueue/dfr612AYXW000670
         /var/spool/mqueue/dfr614AsXT023821
         /var/spool/mqueue/dfr611eTXc024606
         /var/spool/mqueue/dfr63JLSWc005403
         /var/opt/ignite/tmp/AAA027735
         /var/opt/ignite/tmp/BAA027735

ERROR:   The make_sys_image command failed. The system recovery archive will
         not be created.


=======07/11/13 13:04:57 EATmake_tape_recovery completed unsuccessfully

lbseraph 发表于 2013-07-11 21:42

回复 1# lgatuk

1. /tmp的东西不用备份,可以exclude掉或者备份到本地后清空;/var/spool/mqueue/是mail队列的,可以清理掉的~
2. 升级Ignite-UX到最新的版本C.7.16.283后再重新尝试备份。

Ignite-UX下载链接:
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=IGNITEUXB

lgatuk 发表于 2013-07-11 16:34

怎么没有回复的呢

lgatuk 发表于 2013-07-14 09:46

谢谢您的回复 我尝试一下
它为什么会报sendmail的目录的错误呢回复 3# lbseraph


   

weixiaoma0 发表于 2013-07-23 12:11

是不是磁带机有问题啊

lgatuk 发表于 2013-07-25 15:53

何以见得回复 5# weixiaoma0


   

lbseraph 发表于 2013-07-26 17:51

其实你直接用tar命令的话能正常写文件到磁带机的话,磁带机应该没有问题的~

lgatuk 发表于 2013-07-31 10:13

回复 7# lbseraph


    是啊是啊

eagle8465 发表于 2013-08-04 20:33

我遇到过两回

1、创建SYSTEM ARCHIRVE的逻辑卷空间满了所以得为文件生成提供空间

2、前一次磁带备份失败了得把上次备份生成的文件删除掉。

多数在报错的信息里 能寻找到蛛丝马迹。

lgatuk 发表于 2013-08-07 11:05

eagle8465 发表于 2013-08-04 20:33 static/image/common/back.gif
我遇到过两回

1、创建SYSTEM ARCHIRVE的逻辑卷空间满了所以得为文件生成提供空间


问了下应用的人 他们说不上来sendmail有没有用 也没敢停止
后来备份时我except了/var/spool/mqueue/这个目录就成功了。

PS:/var/spool/mqueue/目录下有大量的文件,估计是长年累月积累的。我全部删除了,对应用也没有影响。
页: [1]
查看完整版本: make_tape_recovery失败,