Operating System - HP-UX
1837157 Members
2745 Online
110112 Solutions
New Discussion

Re: make_tape_recovery error, urgent !

 
SOLVED
Go to solution
yyghp
Super Advisor

make_tape_recovery error, urgent !

Hi, I am going to convert the system to trusted, before that, I tried to backup the system to the DLT tape:

# make_tape_recovery -x inc_entire=vg00 -l -v -a /dev/rmt/0mn
* Creating local directories for configuration files and archive.

======= 04/13/04 11:43:27 EDT Started make_tape_recovery. (Tue Apr 13
11:43:27 EDT 2004)
@(#) Ignite-UX Revision B.5.3.35
@(#) net_recovery (opt) $Revision: 10.624 $

* Testing pax for needed patch
* Passed pax tests.
* Checking Versions of Ignite-UX filesets
* Creating System Configuration.
* /opt/ignite/bin/save_config -f
/var/opt/ignite/recovery/2004-04-13,11:43/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
vgexport: Volume group "/dev/vg00" 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-04-13,11:43/archive_cfg -g
/var/opt/ignite/recovery/2004-04-13,11:43/flist -n 2004-04-13,11:43 -r
64 -d Recovery\ Archive -t -i 1 -m t
* Saving the information about archive to
/var/opt/ignite/recovery/previews
* Creating The Tape Archive
Adding /opt/ignite/Version file to LIF.
46322+0 records in
46322+0 records out
* /opt/ignite/data/scripts/make_sys_image -c n -d /dev/rmt/0mn -t n -s
local -n 2004-04-13,11:43 -m t -w
/var/opt/ignite/recovery/2004-04-13,11:43/recovery.log -u -R -g
/var/opt/ignite/recovery/2004-04-13,11:43/flist -a 11850890

* Preparing to create a system archive

* Archiving contents of srs070 via tar image to local device/dev/rmt/0mn.
pax: write : I/O error
pax: A write error has occurred.
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:
/var/tmp/ign_configure/make_sys_image.log


======= 04/13/04 15:03:39 EDT make_tape_recovery completed with warnings
You have mail in /var/mail/root



So, what raised the following error?
pax: write : I/O error
pax: A write error has occurred.
WARNING: The pax command returned a non-zero exit status (exit status 1)

Has the system backup successfully completed ?

(It's a brand new tape)

Thanks!
I am waiting online...
7 REPLIES 7
Naveej.K.A
Honored Contributor

Re: make_tape_recovery error, urgent !

Hi,

Don't think any issues are there. As the error message says, some of the files which have been marked for backup has been modified or moved by the time those files had to be copied. could be some files in the /tmp or /var/tmp.

This is the way i would interpret from Archiving contents of srs070 via tar image to local device/dev/rmt/0mn.
pax: write : I/O error
pax: A write error has occurred.
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:
/var/tmp/ign_configure/make_sys_image.log

u can check the archive by booting through the tape or could see whether the files have come in to the tape catridge.

mt rew
mt fs1
tar tv

with best wishes
Naveej
practice makes a man perfect!!!
Sundar_7
Honored Contributor
Solution

Re: make_tape_recovery error, urgent !

the probable cause is a dirty tape or drive, and the
recommended procedure to correct the problem is:

1. Run a cleaning tape through the drive several times.
2. Put a new tape into the drive.
3. Run make_tape_recovery on the system again.
4. Compare these results with the existing tape.
5. If possible, test this tape by booting from it.
Learn What to do ,How to do and more importantly When to do ?
Bryan D. Quinn
Respected Contributor

Re: make_tape_recovery error, urgent !

Hello,

I don't beleive this error is anything to worry about. I get this error when making a new Ignite on one of our DB servers with the DB up and running. I have sucessfully used one of these tapes to restore a system at a DR test.

So, from my experience you should be ok.

Hope this helps!
-Bryan
yyghp
Super Advisor

Re: make_tape_recovery error, urgent !

I tried the following:

# mt -t /dev/rmt/0mn rew
# mt -t /dev/rmt/0mn fsf 1
# tar tvf /dev/rmt/0mn
Tar: blocksize = 0; broken pipe?


It seemed nothing in the tape now, although it has run for more than 4 hours :(
Naveej.K.A
Honored Contributor

Re: make_tape_recovery error, urgent !

As you have spend almost 4 hours backing up to the tape, how about spending another 30 minutes and just see whether the system is booting through the tape??

with best wishes
naveej
practice makes a man perfect!!!
yyghp
Super Advisor

Re: make_tape_recovery error, urgent !

i have to make sure i have a successful backup before i can reboot the system, that's why i want to backup the system...
Helen French
Honored Contributor

Re: make_tape_recovery error, urgent !

I would suspect a tape media or drive problem here. To start troubleshoot, check your drive with a simple tar command:

# tar -cvf /dev/rmt/0m /tmp/XXXX
# tar -tvf /dev/rmt/0m

If this is successful, make sure that you have the latest pax (1m) patches installed. If this fails, try cleaning the drive or replace with another new media.
Life is a promise, fulfill it!