1836462 Members
2130 Online
110101 Solutions
New Discussion

Ignite errors

 
SOLVED
Go to solution
Rafael Casero
Regular Advisor

Ignite errors

Hello All,

I'm currently getting the following errors when creating a ignite tape:

miaux10: / =>/opt/ignite/bin/make_tape_recovery -r -a /dev/rmt/0mn
WARNING: /var/opt/ignite/recovery directory does not exist. Will create it.
NOTE: ******* RESUMING *******
ERROR: Failed open /var/opt/ignite/recovery/previews No such file or
directory (errno = 2)
ERROR: You may need to run the command -p option first then resume archive
creation.
ERROR: Failed to prepare for resuming.

Thanks,
Ralph.
27 REPLIES 27
David de Beer
Valued Contributor
Solution

Re: Ignite errors

Hm.. maybe run it without the "-r" option?

We use:
/opt/ignite/bin/make_tape_recovery -v -x inc_entire=vg00

Maybe there's a reason you use "-r"..?

David.
Michael Steele_2
Honored Contributor

Re: Ignite errors

I use make_tape_recovery -x inc_entire=vgxx -I -v -a /dev/rmt/0mn

Can't find a -r option.
Support Fatherhood - Stop Family Law
Darrel Louis
Honored Contributor

Re: Ignite errors

Rafael

The -r option should be used after â p to resume after /var/opt/ignite/recovery/arch.include is edited.

-p stands for preview
-r stands for resume after a preview mode

Darrel
Rafael Casero
Regular Advisor

Re: Ignite errors

Now getting this error ?

* Checking Versions of Ignite-UX filesets
ERROR: Failed to open tape device /dev/rmt/0mn:No such device or address
(errno = 6).
ERROR: Check tape device failed.

======= 06/10/06 09:51:16 EDT make_tape_recovery completed unsuccessfully

My ioscan is showing correct tape device path.

lass I H/W Path Driver S/W State H/W Type Description
==========================================================================
tape 0 1/0/1/1/0/1/0.1.0 stape CLAIMED DEVICE HP Ultrium 3-SCSI
/dev/rmt/0m /dev/rmt/c2t1d0BEST
/dev/rmt/0mb /dev/rmt/c2t1d0BESTb
/dev/rmt/0mn /dev/rmt/c2t1d0BESTn
/dev/rmt/0mnb /dev/rmt/c2t1d0BESTnb
Rafael Casero
Regular Advisor

Re: Ignite errors

Disregard,

Operations removed the tape for some bizar reason..

Thanks everyone.
Rafael Casero
Regular Advisor

Re: Ignite errors

Ok, now I get a lif error:

/dev/rmt/0mn: No such device or address
: error - Failed rewinding tape for writing recovery archive.
ERROR: System Error, /opt/ignite/bin/make_ipf_tape failed creating IPF boot
tape.
ERROR: Failed to generate LIF on tape .
Mridul Shrivastava
Honored Contributor

Re: Ignite errors

This is an issue with Ignite UX version installed on the server. where from you installed Ignite Ux software (application media or software site) and what is the current version of the ignite ux.
Time has a wonderful way of weeding out the trivial
Darrel Louis
Honored Contributor

Re: Ignite errors

Rafael,

Do the following:
Download the latest Ignite:
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=IGNITEUXB

# Remove the current Ignite from your server:
swremove
# Install the newly downloaded version:
swinstall

Check if you have the latest pax patch:
hp-ux 11.00: PHCO_30150
hp-ux 11.11: PHCO_32438
hp-ux 11.23: PHCO_31634

Darrel
Rafael Casero
Regular Advisor

Re: Ignite errors

I got the latest and greatest, I will swap the tape to run the rerun the make.

Rafael Casero
Regular Advisor

Re: Ignite errors

Anymore ideas, it failed again.

NOTE: File: /tmp/cfg is not world-readable, this may cause clients to fail
to read it during an installation.
/dev/rmt/0mn: No such device or address
: error - Failed rewinding tape for writing recovery archive.
ERROR: System Error, /opt/ignite/bin/make_ipf_tape failed creating IPF boot
tape.
ERROR: Failed to generate LIF on tape .
Rafael Casero
Regular Advisor

Re: Ignite errors

I unistalled Ignite and reinstalled it, I finally got it to work.

It's ending with pax errors, how do I unistall PHCO_31534 depot, so i can reinsatll it.

Please help...
Michael Steele_2
Honored Contributor

Re: Ignite errors

Here's a link that recommends a patch:

11.11 Ignite-UX make_medialif patch (PHSS_27406)
11.00 Ignite-UX make_medialif patch (PHSS_27407)

http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=178002

But also clean that tape drive out. Dirty head?
Support Fatherhood - Stop Family Law
Rafael Casero
Regular Advisor

Re: Ignite errors

I have the latest Ignite and pax patch. I have tried cleaning the drive and changing the tape. Still getting the following error.

Cannot rewind tape and then get lif error.

bsr 2 failed: I/O error
: error - Failed rewinding tape for writing recovery archive.
ERROR: System Error, /opt/ignite/bin/make_ipf_tape failed creating IPF boot
tape.
ERROR: Failed to generate LIF on tape .


Please HELP!!!!
Rafael Casero
Regular Advisor

Re: Ignite errors

I'm running 11.23

miaux10: / =>swlist -l product |grep -i ignite
Ignite-UX C.6.7.79 HP-UX System Installation Services


miaux10: / =>swlist -l product |grep -i PHCO_31634
PHCO_31634 1.0 Cumulative changes to pax(1)
Devender Khatana
Honored Contributor

Re: Ignite errors

Hi,


For sure this is the problem related to tape drive and OS / Ignite has nothing to do with it anymore. You can first rectify you drive and then can start taking ignite backups.

Try testing by use of other commands like tar , dd , cpio or mt. Rewinding will be best identified by

#mt -t /dev/rmt/xmn fsf 1 (Moving forward the tape)
#mt -t /dev/rmt/xmn rew (Rewinding the tape)

HTH,
Devender
Impossible itself mentions "I m possible"
Steven E. Protter
Exalted Contributor

Re: Ignite errors

Shalom Ralph,

Seems the original problem related to a file that was present when the image began to be created and was not there further along in the process.

The resource however is critical and I recommend the latest patch set and version of Ignite to deal with it.

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
Ludovic Derlyn
Esteemed Contributor

Re: Ignite errors

hi,

Try with /dev/rmt/0m , no rewind for a recovery

Nguyen Anh Tien
Honored Contributor

Re: Ignite errors

Try with
#make_tape_recovery -x inc_entire=vgxx -I -v -a /dev/rmt/0mn
DO NOT USE /dev/rmt/0m, THIS DEVICE FILE DO NOT SUPPORT REWIND OPTION.
HP is simple
Rafael Casero
Regular Advisor

Re: Ignite errors

Guy's it seems that it was the drive having the problem.


I changed the drive with anotherone and reran the ignite and it has been running for 4 hours and still running.


Is this normal for it to run for so long ?
Deoncia Grayson_1
Honored Contributor

Re: Ignite errors

All depends, how large are your core filesystems? I've known some to go for 6 hours and it was not any errors.
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
Rafael Casero
Regular Advisor

Re: Ignite errors

I have a concern about this ignite if is running or not. It has been running now for 7 half hours.

It's just a plain install with some kernal parm changes.

Is there some kind of log i can tail to see what is going on ?

Darrel Louis
Honored Contributor

Re: Ignite errors

Rafael,

It doesn't sound oke, it should be finished within 1 to 2 hours.
In /var/opt/ignite you should have a logs dir.
Is it a Internal or external tape device, how did you replace it?

Darrel
Chauhan Amit
Respected Contributor

Re: Ignite errors

Ignite Logs can be found at the location:

/var/opt/ignite/logs/makrec.log1 ==> progress and error log file
/var/opt/ignite/logs/makrec.log2 ==>tar archive content

-Amit
If you are not a part of solution , then you are a part of problem
Rafael Casero
Regular Advisor

Re: Ignite errors

Now the process is hanging, below is the full console printout.

miaux10: / =>/opt/ignite/bin/make_tape_recovery -v -x inc_entire=vg00 -I -a /dev/rmt/0mn

* Creating local directories for configuration files and archive.

======= 06/13/06 10:13:56 EDT Started /opt/ignite/bin/make_tape_recovery.
(Tue Jun 13 10:13:56 EDT 2006)
@(#) Ignite-UX Revision C.6.7.79
@(#) net_recovery (opt) $Revision: 10.778 $

* 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/vg name minor# Associated disks/mountpoints
2 v /dev/vg00 0x00 /dev/dsk/c0t6d0s2 /dev/dsk/c3t6d0s2
/dev/vg00/lvol1 /stand 2
/dev/vg00/lvol2
/dev/vg00/lvol3 / 2
/dev/vg00/lvol4 /home 2
/dev/vg00/lvol5 /opt 2
/dev/vg00/lvol6 /tmp 2
/dev/vg00/lvol7 /usr 2
/dev/vg00/lvol8 /var 2

** 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/2006-06-13,10:13/system_cfg vg00
NOTE: File: /var/opt/ignite/recovery/2006-06-13,10:13/system_cfg is not
world-readable, this may cause clients to fail to read it during an
installation.
* Backing Up Volume Group /dev/vg00
* /usr/sbin/vgcfgbackup /dev/vg00
* Creating Map Files for Volume Group /dev/vg00
* /usr/sbin/vgexport -s -p -m /etc/lvmconf/vg00.mapfile /dev/vg00

* Creating Control Configuration.
NOTE: File: /var/opt/ignite/recovery/2006-06-13,10:13/control_cfg is not
world-readable, this may cause clients to fail to read it during an
installation.
* Creating Archive File List
* Creating Archive Configuration

* /opt/ignite/lbin/make_arch_config -c
/var/opt/ignite/recovery/2006-06-13,10:13/archive_cfg -g
/var/opt/ignite/recovery/2006-06-13,10:13/flist -n 2006-06-13,10:13 -r
ipf -b 64 -d Recovery\ Archive -t 23 -i 1 -m t
NOTE: File: /var/opt/ignite/recovery/2006-06-13,10:13/archive_cfg is not
world-readable, this may cause clients to fail to read it during an
installation.
* Saving the information about archive to
/var/opt/ignite/recovery/previews
* Creating The Tape Archive
* Checking configuration file for Syntax
NOTE: File: /var/opt/ignite/recovery/2006-06-13,10:13/system_cfg is not
world-readable, this may cause clients to fail to read it during an
installation.
NOTE: File: /var/opt/ignite/recovery/2006-06-13,10:13/control_cfg is not
world-readable, this may cause clients to fail to read it during an
installation.
WARNING: You are about to create an Itanium-based recovery tape. To recover
the system using this tape, you must 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.
NOTE: File: /var/tmp/tmp_cfg_file is not world-readable, this may cause
clients to fail to read it during an installation.