Operating System - HP-UX
1752781 Members
6016 Online
108789 Solutions
New Discussion юеВ

Re: ERROR's using make_recovery_type using Ignite-UX Revision B.3.6.82 - HPUX 11.0,

 
SOLVED
Go to solution
Omar Mu├▒oz
Advisor

ERROR's using make_recovery_type using Ignite-UX Revision B.3.6.82 - HPUX 11.0,

Hi,

I have the following ERRORs after execute make_recovery_tape for a vg00 bakcup:

# /opt/ignite/bin/make_tape_recovery -a /dev/rmt/2m -v -x inc_entire=vg00

* Creating local directories for configuration files and archive.

======= 04/01/08 00:17:04 CST Started /opt/ignite/bin/make_tape_recovery.
(Tue Apr 01 00:17:04 CST 2008)
@(#) Ignite-UX Revision B.3.6.82
@(#) net_recovery (opt) $Revision: 10.567 $

* Testing pax for needed patch
* Passed pax tests.
* Recovery Archive Description = Recovery Archive

* Recovery Archive Location = /dev/rmt/2m

* Number of Archives to Save = 2


In? dsk/vg name minor# Associated disks/mountpo
ints
0 d /dev/dsk/c1t1d0
0 d /dev/dsk/c1t1d1
2 v /dev/vg00 0x00 /dev/dsk/c0t6d0 /dev/dsk
/c0t5d0
/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

** 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



# /opt/ignite/bin/make_tape_recovery -a /dev/rmt/2m -v -x inc_entire=vg00

* Creating local directories for configuration files and archive.

======= 04/01/08 00:30:13 CST Started /opt/ignite/bin/make_tape_recovery.
(Tue Apr 01 00:30:13 CST 2008)
@(#) Ignite-UX Revision B.3.6.82
@(#) net_recovery (opt) $Revision: 10.567 $

* Testing pax for needed patch
* Passed pax tests.
* Recovery Archive Description = Recovery Archive

* Recovery Archive Location = /dev/rmt/2m

* Number of Archives to Save = 2


In? dsk/vg name minor# Associated disks/mountpo
ints
0 d /dev/dsk/c1t1d0
0 d /dev/dsk/c1t1d1
2 v /dev/vg00 0x00 /dev/dsk/c0t6d0 /dev/dsk
/c0t5d0
/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

** 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
ERROR: This is not a no rewind device file.
ERROR: Check tape device failed.



Any idea or Solution?

I will appreciate.. Thanks in advance.
8 REPLIES 8
Dennis Handly
Acclaimed Contributor
Solution

Re: ERROR's using make_recovery_type using Ignite-UX Revision B.3.6.82 - HPUX 11.0,

>ERROR: This is not a no rewind device file.

I assume it wants you to use this no rewind device:
-a /dev/rmt/2mn
Omar Mu├▒oz
Advisor

Re: ERROR's using make_recovery_type using Ignite-UX Revision B.3.6.82 - HPUX 11.0,

Thanks it seems is working .. just we have these messages.. I will let you know..

# /opt/ignite/bin/make_tape_recovery -a /dev/rmt/2mn -v -x inc_entire=v
g00 * Creating local directories for configuration files and archive.

======= 04/04/08 18:29:58 CST Started /opt/ignite/bin/make_tape_recovery.
(Fri Apr 04 18:29:58 CST 2008)
@(#) Ignite-UX Revision B.3.6.82
@(#) net_recovery (opt) $Revision: 10.567 $

* Testing pax for needed patch
* Passed pax tests.
* Recovery Archive Description = Recovery Archive

* Recovery Archive Location = /dev/rmt/2mn

* Number of Archives to Save = 2


In? dsk/vg name minor# Associated disks/mountpoints
0 d /dev/dsk/c1t1d0
0 d /dev/dsk/c1t1d1
1 v /dev/vg00 0x00 /dev/dsk/c0t6d0 /dev/dsk/c0t5d0
/dev/vg00/lvol1 /stand 1
/dev/vg00/lvol2
/dev/vg00/lvol3 / 1
/dev/vg00/lvol4 /tmp 0
/dev/vg00/lvol5 /home 0
/dev/vg00/lvol6 /opt 0
/dev/vg00/lvol7 /usr 1
/dev/vg00/lvol8 /var 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.
WARNING: The volume group /dev/vg00 will be only partially included in the
System Recovery Archive. This means that not all files and
directories on this volume group will be restored when the archive is
installed. This message can be suppressed using the "-P s" option for
make_tape_recovery. See make_tape_recovery(1M) for more details.

Robert-Jan Goossens
Honored Contributor

Re: ERROR's using make_recovery_type using Ignite-UX Revision B.3.6.82 - HPUX 11.0,

For some reason vg00 is only partial included in your make_tape_recovery. I would update your ignite software with a more recent version.

http://www.flyupload.com/get?fid=6569345

Regards,
Robert-Jan
YAQUB_1
Respected Contributor

Re: ERROR's using make_recovery_type using Ignite-UX Revision B.3.6.82 - HPUX 11.0,

Hi Omar,

>>ERROR: Check tape device failed.

Can U execute "ioscan -fnC tape" command & check Ur tape is "CLAIMED DEVICE HP C7438A" or "UNCLAIMED DEVICE HP C7438A" if it is "CLAIMED" then U can execute below commands:-

"make_tape_recovery -x inc_entire=vg00 -v -a /dev/rmt/2mn"

or if Ur tape status "UNCLAIMED" then Un should follow below process:-
1. Power off Ur tape library
2. Check the SCSI cable all are properly connect or not
3. Power up the tape library
4. ioscan
5. insf -e
6. ioscan -fnC tape

Then follow make_tape_recovery process.

Thanks--Yaqub
HP Support!!!


Omar Mu├▒oz
Advisor

Re: ERROR's using make_recovery_type using Ignite-UX Revision B.3.6.82 - HPUX 11.0,

Thanks, this is the info, it seems to be OK. My question is why before was wrking not rewind using /dev/rmt/2m ?

# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=================================================================
tape 2 10/16/8.2.0 tape2 CLAIMED DEVICE HP C1537A
/dev/diag/rmt/c5t2d0 /dev/rmt/c5t2d0BEST
/dev/rmt/2m /dev/rmt/c5t2d0BESTb
/dev/rmt/2mb /dev/rmt/c5t2d0BESTn
/dev/rmt/2mn /dev/rmt/c5t2d0BESTnb
/dev/rmt/2mnb
# make_tape_recovery -x inc_entire=vg00 -v -a /dev/rmt/2mn
* Creating local directories for configuration files and archive.

======= 04/07/08 10:36:40 CDT Started make_tape_recovery. (Mon Apr 07
10:36:40 CDT 2008)
@(#) Ignite-UX Revision B.3.6.82
@(#) net_recovery (opt) $Revision: 10.567 $

* Testing pax for needed patch
* Passed pax tests.
* Recovery Archive Description = Recovery Archive

* Recovery Archive Location = /dev/rmt/2mn

* Number of Archives to Save = 2


In? dsk/vg name minor# Associated disks/mountpoints
0 d /dev/dsk/c1t1d0
0 d /dev/dsk/c1t1d1
2 v /dev/vg00 0x00 /dev/dsk/c0t6d0 /dev/dsk/c0t5d0
/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

** 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/2008-04-07,10:36/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.

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

* /opt/ignite/bin/make_arch_config -c
/var/opt/ignite/recovery/2008-04-07,10:36/archive_cfg -g
/var/opt/ignite/recovery/2008-04-07,10:36/flist -n 2008-04-07,10:36 -r
32 -d Recovery\ Archive -t -i 1
* 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
James R. Ferguson
Acclaimed Contributor

Re: ERROR's using make_recovery_type using Ignite-UX Revision B.3.6.82 - HPUX 11.0,

Hi Omar:

> My question is why before was wrking not rewind using /dev/rmt/2m ?

To make an Ignite tape recovery image requires a no-rewind tape device, hence the 'mn' notation with the unit number. This is because Ignite writes a bootable LIF image on the tape; does NOT rewind the tape; and then writes a 'pax' (tar) archive following the LIF (bootable) image.

If you were to rewind the tape between writing the LIF and the Ignite archive, you would be left WITHOUT the LIF and have an unbootable, useless recovery tape.

The manpages for 'mt(7)' describe tape devices.

Once you have made a successful Ignite recovery tape you can also recover a single file from it:

# mt -f /dev/rmt/2mn fsf 1
# tar -xvf /dev/rmt/2m filetorecover

This again shows the use of a no-rewind tape device to leave the tape head positioned AFTER the LIF and at the beginning of the 'pax' archive --- exactly like you would extract any 'tar' or 'pax' archive.

Regards!

...JRF...



Regards!

...JRF...
Dennis Handly
Acclaimed Contributor

Re: ERROR's using make_recovery_type using Ignite-UX Revision B.3.6.82 - HPUX 11.0,

>My question is why before was working not rewind using /dev/rmt/2m?

Besides the details that Bill gave, it wasn't working before because Ignite said it wanted a no rewind device. It let you know before you were hosed.
Omar Mu├▒oz
Advisor

Re: ERROR's using make_recovery_type using Ignite-UX Revision B.3.6.82 - HPUX 11.0,

Thanks to everyone for your comments and support. I really appreciated for your help.
Omar.