make_tape_recovery verify on itanium HPUX 11.23 (813 Views)
Reply
Regular Advisor
Larry Basford
Posts: 128
Registered: ‎06-23-1998
Message 1 of 14 (813 Views)
Accepted Solution

make_tape_recovery verify on itanium HPUX 11.23

I am testing a new itanium rx2630
Trying to make an ignite tape and recover with it. I'll not be confortable with it if I can't quickly recover

I created a tape Ignite C.6.2.241
/opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I

It reports sucessfull.
I am unable to read the tape.

mt -f /dev/rmt/0mn fsf 1
pax -vf /dev/rmt/0mn

This works on my PA systems Ignite C.6.1.44

RECOVERY LOG PART
* /opt/ignite/data/scripts/make_sys_image -c n -d /dev/rmt/0mn -t n -s
local -n 2005-10-10,15:41 -m t -w
/var/opt/ignite/recovery/2005-10-10,15:41/recovery.log -u -R -g
/var/opt/ignite/recovery/2005-10-10,15:41/flist -a 8167990

* Preparing to create a system archive.

* Archiving contents of oradevt via tar image to local device/dev/rmt/0mn.
* Creation of system archive complete.

Desaster recovery? Right !
Outstanding Contributor
Pete Randall
Posts: 16,205
Registered: ‎11-03-1996
Message 2 of 14 (813 Views)

Re: make_tape_recovery verify on itanium HPUX 11.23

Larry,

Rather than pax, can you try using tar?

mt -f /dev/rmt/0mn fsf 1
tar -tvg /dev/rmt/omn


Pete

Pete
Regular Advisor
Larry Basford
Posts: 128
Registered: ‎06-23-1998
Message 3 of 14 (813 Views)

Re: make_tape_recovery verify on itanium HPUX 11.23

pax,tar dosn't matter.
I get block read error
tar -vtf /dev/rmt/0mn works OK on other tapes.
Desaster recovery? Right !
Honored Contributor
Duncan Edmonstone
Posts: 5,684
Registered: ‎08-05-2000
Message 4 of 14 (813 Views)

Re: make_tape_recovery verify on itanium HPUX 11.23

Well Integrity systems can't boot direct off tape (you have to boot off CD and then restore from the ignite tape), so maybe the itanium version of make_tape_recovery doesn't bother to put a boot image at the start of the tape? What if you don't bother with the 'fsf 1'?

HTH

Duncan

HTH

Duncan
Regular Advisor
Larry Basford
Posts: 128
Registered: ‎06-23-1998
Message 5 of 14 (813 Views)

Re: make_tape_recovery verify on itanium HPUX 11.23

# mt -f /dev/rmt/0mn rew
# tar -tvf /dev/rmt/0mn
Tar: tape blocksize error

Does not seem to mater.
Desaster recovery? Right !
Honored Contributor
Sameer_Nirmal
Posts: 2,108
Registered: ‎02-21-2004
Message 6 of 14 (813 Views)

Re: make_tape_recovery verify on itanium HPUX 11.23

I think you need to use

# mt -f /dev/rmt/0mn rew
# mt -f /dev/rmt/0mn fsf 1
# tar -tvf /dev/rmt/0m
Regular Advisor
Larry Basford
Posts: 128
Registered: ‎06-23-1998
Message 7 of 14 (813 Views)

Re: make_tape_recovery verify on itanium HPUX 11.23


According to the C.6.2 release notes, the tape format used for Itanium systems
has changed in order to provide future support for direct boot capability. For
more details, see the Ignite-UX release notes:

/opt/ignite/share/doc/release_note
In order to access the tar archive, do the following, assuming /dev/rmt/0mn is
the device in question:

# mt -t /dev/rmt/0mn rew
# mt -t /dev/rmt/0mn fsf 22
# pax -vt /dev/rmt/0m

I tried this and It does work.
Desaster recovery? Right !
Regular Advisor
Ramesh.K.R.
Posts: 217
Registered: ‎04-14-2002
Message 8 of 14 (813 Views)

Re: make_tape_recovery verify on itanium HPUX 11.23

Larry,

I am also facing the same problem. The only difference is, i am using "rx2620" h/w (HPUX 11.23).
In my case also, the archiving went on smoothly. But, when i attached the tape drive onto the m/c & try to boot through it, it fails !!
I am interested to know, how did you succeed in doing this ??
Also, where did you run these commands:

# mt -t /dev/rmt/0mn rew
# mt -t /dev/rmt/0mn fsf 22
# pax -vt /dev/rmt/0m

Waiting eagerly for your answer.

Regards,
Ramesh.K.R.

hai
Regular Advisor
Larry Basford
Posts: 128
Registered: ‎06-23-1998
Message 9 of 14 (813 Views)

Re: make_tape_recovery verify on itanium HPUX 11.23

You have to boot from the install CD and on the menu you will find there is an option to boot from tape.

Those lines were run from the command line when the system was up only to verify that the tape was good without actually igniting the system.

Also be avare of the fact that the boot media and the tape media must match.
http://docs.hp.com/en/IUX/2stepmedia.html

Read up on new ignite version problems.
http://docs.hp.com/en/IUX/recommendations.html


Get the latest ignite document for procedures.
http://docs.hp.com/en/B2355-90970/ch08s02.html?btnPrev=%AB%A0prev

Desaster recovery? Right !
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 10 of 14 (813 Views)

Re: make_tape_recovery verify on itanium HPUX 11.23

Shalom,

The only way to be sure the image will work is to use the image. That requires you to either recover it to a scratch system or to arrange time in a local HP performane center to test it.

There are things that can go wrong that happen after recovery or that do not have anything to do with reading the tape, which is what the work on this issue have shown thus far.

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
Regular Advisor
Ramesh.K.R.
Posts: 217
Registered: ‎04-14-2002
Message 11 of 14 (813 Views)

Re: make_tape_recovery verify on itanium HPUX 11.23

Larry,

Thanks. Let me try & come back to you.

Regards,
Ramesh.K.R.
hai
Frequent Advisor
Xavier Gutierrez_2
Posts: 54
Registered: ‎08-11-2004
Message 12 of 14 (813 Views)

Re: make_tape_recovery verify on itanium HPUX 11.23

Hi!

I normally use:
# export TAPE=/dev/rmt/Xmn
# mt fsf 1
# dd if=/dev/rmt/Xmn bs=10k | gzcat -c - | tar tvf -

Let me know if it works for you...

Regards,

X.-
Regular Advisor
Larry Basford
Posts: 128
Registered: ‎06-23-1998
Message 13 of 14 (813 Views)

Re: make_tape_recovery verify on itanium HPUX 11.23

Sorry to slap you with no points but this question was answered be Ramesh 2 years ago.
Desaster recovery? Right !
Frequent Advisor
Xavier Gutierrez_2
Posts: 54
Registered: ‎08-11-2004
Message 14 of 14 (813 Views)

Re: make_tape_recovery verify on itanium HPUX 11.23

Close the thread then...
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.