Operating System - HP-UX
1833513 Members
3327 Online
110061 Solutions
New Discussion

make_tape_recovery failed.

 
SOLVED
Go to solution
Brian Ham
Advisor

make_tape_recovery failed.

I am running the latest version of ignite-ux and I cant get my system image to back up properly. Any ideas? please review below:

orca:/# /opt/ignite/bin/make_tape_recovery -v -I -x inc_entire=vg00
* Creating local directories for configuration files and archive.

======= 01/09/04 11:22:47 EST Started /opt/ignite/bin/make_tape_recovery.
(Fri Jan 09 11:22:47 EST 2004)
@(#) Ignite-UX Revision B.4.4.29
@(#) net_recovery (opt) $Revision: 10.611 $

* Testing pax for needed 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/vg name minor# Associated disks/mountpoints
2 v /dev/vg00 0x00 /dev/dsk/c1t2d0 /dev/dsk/c2t2d0
/dev/vg00/lvol1 /stand 2
/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/lvol15 /tmp/software 2
/dev/vg00/patrol /opt/patrol 2
0 v /dev/vg01 0x01 /dev/dsk/c4t0d0
/dev/vg01/lvol9 /var/opt/oracle/u01 0
/dev/vg01/lvol10 /var/opt/oracle/u02 0
/dev/vg01/lvol11 /var/opt/oracle/u03 0
/dev/vg01/lvol12 /var/opt/oracle/u04 0
/dev/vg01/lvol17 /var/data 0
0 v /dev/vg02 0x02 /dev/dsk/c4t0d1
/dev/vg02/lvol14 /var/opt/oracle/u05 0
/dev/vg02/secswap2
0 v /dev/vg03 0x03 /dev/dsk/c1t0d0 /dev/dsk/c2t0d0
/dev/vg03/lvol16 /opt/oracle 0

** 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/2004-01-09,11:22/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 -p -m /etc/lvmconf/vg00.mapfile /dev/vg00
Volume group "/dev/vg00" is still active.

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

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

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

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

* /opt/ignite/bin/make_arch_config -c
/var/opt/ignite/recovery/2004-01-09,11:22/archive_cfg -g
/var/opt/ignite/recovery/2004-01-09,11:22/flist -n 2004-01-09,11:22 -r
64 -d Recovery\ Archive -t -i 2 -m t
* Saving the information about archive to
/var/opt/ignite/recovery/previews
* Creating The Tape Archive
* Checking configuration file for Syntax
Adding /opt/ignite/Version file to LIF.
* Writing boot LIF to tape
43474+1 records in
43474+1 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 2004-01-09,11:22 -m t -w
/var/opt/ignite/recovery/2004-01-09,11:22/recovery.log -u -R -g
/var/opt/ignite/recovery/2004-01-09,11:22/flist -a 4885520

* Preparing to create a system archive

* Archiving contents of orca via tar image to local device/dev/rmt/0mn.
pax: home/v112/\usr\localhome/v112/group20_load_study_403_r_file_0.dat : 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 back-up:
/tmp/mana12720
/var/tmp/ign_configure/make_sys_image.log

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

======= 01/09/04 12:34:31 EST make_tape_recovery completed unsuccessfully
3 REPLIES 3
Helen French
Honored Contributor
Solution

Re: make_tape_recovery failed.

Check if you have a file like this exists:
home/v112/\usr\localhome/v112/group20_load_study_403_r_file_0.dat

If yes, correct the file path and name issue (check the forward and backward slashes after v112 and usr)
Life is a promise, fulfill it!
Steven E. Protter
Exalted Contributor

Re: make_tape_recovery failed.

There is probably an unprintable, illegal character in that filename.

How it happens is a mystery.

delete the file in question and your Ignite backup will run.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Todd McDaniel_1
Honored Contributor

Re: make_tape_recovery failed.

You can also use the -x exclude option to leave out that directory OR file if don't want to delete it...

Also, you can move it to a filesystem that is not part of your make_tape_recovery. Then simply move it back afterwards.


-x exclude=file|dir

--- Excludes the file or directory from the archive. When a
directory is specified, no files beneath that directory will
be stored in the archive.
Unix, the other white meat.