chenle1234 发表于 2012-10-26 11:39

make_tape_recovery -Av备份是否算成功

#more recovery.log


=======10/26/12 08:40:31 EATStarted make_tape_recovery. (Fri Oct 26
         08:40:31 EAT 2012)
         @(#)Ignite-UX Revision C.6.10.97
         @(#)ignite/net_recovery (opt) $Revision: 10.834 $ $Date: 2006/06/14
         13:47:40 $


       * Testing for necessary pax patch.
       * Passed pax tests.
       * 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
      2       v       /dev/vg00               0x00    /dev/dsk/c2t1d0 /dev/dsk/c3t0d0
                                                /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/lvswap
                                                /dev/vg00/lvnms /BOCO/NMS       2
                                                /dev/vg00/lvoracle      /opt/oracle1    2
                                                /dev/vg00/lvibm /opt/ibm      2
      0       v       /dev/vglock             0x06    /dev/dsk/c6t0d0 /dev/dsk/c8t0d0
      0       v       /dev/vg04               0x04    /dev/dsk/c6t1d7 /dev/dsk/c8t1d7
      0       v       /dev/vg05               0x05    /dev/dsk/c6t2d0 /dev/dsk/c8t2d0
      0       v       /dev/vg02               0x02    /dev/dsk/c6t0d7 /dev/dsk/c6t1d0 /dev/dsk/c6t1d1 /dev/dsk/c6t1d2 /dev/dsk/c6t1d3 /dev/dsk/c6t1d4 /dev/dsk/c8t0d7
/dev/dsk/c8t1d0 /dev/dsk/c8t1d1 /dev/dsk/c8t1d2 /dev/dsk/c8t1d3 /dev/dsk/c8t1d4
      0       v       /dev/vg01               0x01    /dev/dsk/c6t0d1 /dev/dsk/c6t0d2 /dev/dsk/c6t0d3 /dev/dsk/c6t0d4 /dev/dsk/c6t0d5 /dev/dsk/c6t0d6 /dev/dsk/c8t0d1
/dev/dsk/c8t0d2 /dev/dsk/c8t0d3 /dev/dsk/c8t0d4 /dev/dsk/c8t0d5 /dev/dsk/c8t0d6
      0       v       /dev/vg03               0x03    /dev/dsk/c6t1d5 /dev/dsk/c6t1d6 /dev/dsk/c6t2d1 /dev/dsk/c8t1d5 /dev/dsk/c8t1d6 /dev/dsk/c8t2d1

      ** 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
       * Creating System Configuration.
       * /opt/ignite/bin/save_config -f
         /var/opt/ignite/recovery/2012-10-26,08:40/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.

       * Backing Up Volume Group /dev/vglock
       * /usr/sbin/vgcfgbackup /dev/vglock
Volume Group configuration for /dev/vglock has been saved in /etc/lvmconf/vglock.conf
       * Creating Map Files for Volume Group /dev/vglock
       * /usr/sbin/vgexport -s -p -m /etc/lvmconf/vglock.mapfile /dev/vglock
vgexport: Volume group "/dev/vglock" is still active.

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

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

       * Backing Up Volume Group /dev/vg02
       * /usr/sbin/vgcfgbackup /dev/vg02
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c6t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c6t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c6t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c6t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c6t1d3":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c6t1d4":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t1d3":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t1d4":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Volume group not activated.
       * Creating Map Files for Volume Group /dev/vg02
       * /usr/sbin/vgexport -s -p -m /etc/lvmconf/vg02.mapfile /dev/vg02

       * Backing Up Volume Group /dev/vg01
       * /usr/sbin/vgcfgbackup /dev/vg01
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c6t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c6t0d2":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c6t0d3":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c6t0d4":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c6t0d5":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c6t0d6":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t0d2":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t0d3":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t0d4":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t0d5":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t0d6":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Volume group not activated.
       * Creating Map Files for Volume Group /dev/vg01
       * /usr/sbin/vgexport -s -p -m /etc/lvmconf/vg01.mapfile /dev/vg01

       * Backing Up Volume Group /dev/vg03
       * /usr/sbin/vgcfgbackup /dev/vg03
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c6t1d5":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c6t1d6":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c6t2d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t1d5":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t1d6":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c8t2d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Volume group not activated.
       * Creating Map Files for Volume Group /dev/vg03
       * /usr/sbin/vgexport -s -p -m /etc/lvmconf/vg03.mapfile /dev/vg03

       * Creating Control Configuration.
--- Volume groups ---
VG Name                     /dev/vglock
VG Write Access             read/write   
VG Status                   available               
Max LV                      255   
Cur LV                      0      
Open LV                     0      
Max PV                      16   
Cur PV                      1      
Act PV                      1      
Max PE per PV               65535      
VGDA                        2   
PE Size (Mbytes)            32            
Total PE                  5      
Alloc PE                  0      
Free PE                     5      
Total PVG                   0      
Total Spare PVs             0            
Total Spare PVs in use      0                     

vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg04".
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg05".
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg02".
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg01".
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg03".
--- Volume groups ---
VG Name                     /dev/vg00
VG Write Access             read/write   
VG Status                   available               
Max LV                      255   
Cur LV                      12   
Open LV                     12   
Max PV                      16   
Cur PV                      2      
Act PV                      2      
Max PE per PV               4384         
VGDA                        4   
PE Size (Mbytes)            32            
Total PE                  8748   
Alloc PE                  8652   
Free PE                     96      
Total PVG                   0      
Total Spare PVs             0            
Total Spare PVs in use      0                     

--- Volume groups ---
VG Name                     /dev/vglock
VG Write Access             read/write   
VG Status                   available               
Max LV                      255   
Cur LV                      0      
Open LV                     0      
Max PV                      16   
Cur PV                      1      
Act PV                      1      
Max PE per PV               65535      
VGDA                        2   
PE Size (Mbytes)            32            
Total PE                  5      
Alloc PE                  0      
Free PE                     5      
Total PVG                   0      
Total Spare PVs             0            
Total Spare PVs in use      0                     

vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg04".
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg05".
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg02".
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg01".
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg03".
       * Creating Archive File List
       * Creating Archive Configuration

       * /opt/ignite/lbin/make_arch_config -c
         /var/opt/ignite/recovery/2012-10-26,08:40/archive_cfg -g
         /var/opt/ignite/recovery/2012-10-26,08:40/flist -n 2012-10-26,08:40 -r
         pa -b 64 -d Recovery\ Archive -t 1 -i 2 -m t
       * Saving the information about archive to
         /var/opt/ignite/recovery/previews
       * Creating The Tape Archive
       * Checking configuration file for Syntax
       * Writing boot LIF to tape
50273+0 records in
50273+0 records out
       * Complete writing boot LIF onto tape.
       * /opt/ignite/data/scripts/make_sys_image -c n -d /dev/rmt/0mn -t n -s
         local -n 2012-10-26,08:40 -m t -w
         /var/opt/ignite/recovery/2012-10-26,08:40/recovery.log -u -R -g
         /var/opt/ignite/recovery/2012-10-26,08:40/flist -a 60276120
         
       * Preparing to create a system archive.

       * Archiving contents of dcndb via tar image to local device/dev/rmt/0mn.
pax: Aborted
WARNING: The pax command returned a non-zero exit status (exit status 1).
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/mana03790
       /tmp/cata03790

       * Archive created and rewind the tape to beginning of tape.
         
NOTE: Could not read the /etc/resolv.conf file.
       * Cleaning up old configuration file directories


=======10/26/12 10:45:09 EATmake_tape_recovery completed with warnings

oldnetangel 发表于 2012-10-26 12:42

应该是备份好了,之所以有Warning,是因为vg01、vg02、vg03、vg04和vg05在该系统上未激活,无法查询pv信息。

lbseraph 发表于 2012-10-26 19:41

可以用tar的命令来检查确认,不过要先跳过LIF区或EFI区。
页: [1]
查看完整版本: make_tape_recovery -Av备份是否算成功