Operating System - HP-UX
1833756 Members
2487 Online
110063 Solutions
New Discussion

Re: problem in HPRX4640SErver in creating make_tape_recovery

 
Darshil
New Member

problem in HPRX4640SErver in creating make_tape_recovery

# make_tape_recovery -Av
* Creating local directories for configuration files and archive.

======= 10/31/07 11:29:35 CAT Started make_tape_recovery. (Wed Oct 31
11:29:35 CAT 2007)
@(#)Ignite-UX Revision C.6.9.141
@(#)ignite/net_recovery (opt) $Revision: 10.834 $ $Date: 2006/06/14
13:47:40 $

* 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/c2t1d0s2 /dev/dsk/c2t0d0s2
/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/oraas /oraas 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: Failed to open tape device /dev/rmt/0mn:No such device or address
(errno = 6).
ERROR: Check tape device failed.

======= 10/31/07 11:29:38 CAT make_tape_recovery completed unsuccessfully
8 REPLIES 8
J. Bravo
Respected Contributor

Re: problem in HPRX4640SErver in creating make_tape_recovery

Hi!

Please, verify the tape state with "ioscan -fnC tape"

Regards;

J. Bravo.
Wim Rombauts
Honored Contributor

Re: problem in HPRX4640SErver in creating make_tape_recovery

It looks like there is no tape available in /dev/rmt/0mn.

Check the tapedrive with "mt -t /dev/rmt/0mn status", or add "-a" option to make_tape_recovery to point the output to a different tapedrive.
Darshil
New Member

Re: problem in HPRX4640SErver in creating make_tape_recovery

Thankss
I am able to take backthrough SAM so there is no issue of TAPE

I have given below command & it works
# make_tape_recovery -A -v -a /dev/rmt/3mn
it gives some wraning

WARNING: You are about to create an Itanium-based recovery tape. If this
system does NOT support direct tape boot, you will need to 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.
* Complete writing boot LIF onto tape.
* /opt/ignite/data/scripts/make_sys_image -c n -d /dev/rmt/3mn -t n -s
local -n 2007-10-31,12:09 -m t -w
/var/opt/ignite/recovery/2007-10-31,12:09/recovery.log -u -R -g
/var/opt/ignite/recovery/2007-10-31,12:09/flist -a 13437520

* Preparing to create a system archive.

* Archiving contents of TMBAPP02 via tar image to local device/dev/rmt/3mn.
* 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 backup:
/var/tmp/ign_configure/make_sys_image.log

WARNING: There was a problem with the list of files/directories to archive.
Input: /var/opt/ignite/recovery/2007-10-31,12:09/flist
The following line(s) had too few/incorrect entries:
Problem lines:
line: 24 oraas/oraforms/bin/nmo0 100600 1084943520 0 0 NA 1 4056 40000009
* Archive created and rewind the tape to beginning of tape.

NOTE: Could not read the /etc/resolv.conf file.
* Cleaning up old configuration file directories

======= 10/31/07 12:21:40 CAT make_tape_recovery completed with warnings
is itr any problem?
How can I check that is successfull backup?
Can you give me procedure to restore?
does it take backup of all LVM, Volumegroup, configuration, Software & data?

How can I restore particualr file from this ?


If I take backup through SAM , How can I check what files are in backup & how can I restore particular file through SAM or any other way?
How can I restore file in other path or directory?
whiteknight
Honored Contributor

Re: problem in HPRX4640SErver in creating make_tape_recovery

Hi

your /dev/rmt/0mn is missing.
You need to create back the device file

WK
Problem never ends, you must know how to fix it
whiteknight
Honored Contributor

Re: problem in HPRX4640SErver in creating make_tape_recovery

To extract file

Using tar to extract a file:

To extract a file from an existing make_tape_recovery

- Rewind the tape:

# mt -t /dev/rmt/0m rew

- Forward past the lif area

# mt -t /dev/rmt/0mn fsf 1

- Extract the file from archive

# tar xvf /dev/rmt/0mn /etc/hosts


WK
Problem never ends, you must know how to fix it
Darshil
New Member

Re: problem in HPRX4640SErver in creating make_tape_recovery

# make_tape_recovery -A -v -a /dev/rmt/3mn
* Creating local directories for configuration files and archive.

======= 10/31/07 12:09:46 CAT Started make_tape_recovery. (Wed Oct 31
12:09:46 CAT 2007)
@(#)Ignite-UX Revision C.6.9.141
@(#)ignite/net_recovery (opt) $Revision: 10.834 $ $Date: 2006/06/14
13:47:40 $

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

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

* Number of Archives to Save = 2

* Pax type = tar


In? dsk/vg name minor# Associated disks/mountpoints
2 v /dev/vg00 0x00 /dev/dsk/c2t1d0s2 /dev/dsk/c2t0d0s2
/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/oraas /oraas 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/2007-10-31,12:09/system_cfg vg00
* 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.
* Creating Archive File List
* Creating Archive Configuration

* /opt/ignite/lbin/make_arch_config -c
/var/opt/ignite/recovery/2007-10-31,12:09/archive_cfg -g
/var/opt/ignite/recovery/2007-10-31,12:09/flist -n 2007-10-31,12:09 -r
ipf -b 64 -d Recovery\ Archive -t 23 -i 1 -m t
* Saving the information about archive to
/var/opt/ignite/recovery/previews
* Creating The Tape Archive
* Checking configuration file for Syntax
WARNING: You are about to create an Itanium-based recovery tape. If this
system does NOT support direct tape boot, you will need to 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.
* Complete writing boot LIF onto tape.
* /opt/ignite/data/scripts/make_sys_image -c n -d /dev/rmt/3mn -t n -s
local -n 2007-10-31,12:09 -m t -w
/var/opt/ignite/recovery/2007-10-31,12:09/recovery.log -u -R -g
/var/opt/ignite/recovery/2007-10-31,12:09/flist -a 13437520

* Preparing to create a system archive.

* Archiving contents of TMBAPP02 via tar image to local device/dev/rmt/3mn.
* 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 backup:
/var/tmp/ign_configure/make_sys_image.log

WARNING: There was a problem with the list of files/directories to archive.
Input: /var/opt/ignite/recovery/2007-10-31,12:09/flist
The following line(s) had too few/incorrect entries:
Problem lines:
line: 24 oraas/oraforms/bin/nmo0 100600 1084943520 0 0 NA 1 4056 40000009
* Archive created and rewind the tape to beginning of tape.

NOTE: Could not read the /etc/resolv.conf file.
* Cleaning up old configuration file directories

======= 10/31/07 12:21:40 CAT make_tape_recovery completed with warnings



Is above make_tape_created correct ? is warning create any problem? Shoould I ignore above warinig?
Darshil
New Member

Re: problem in HPRX4640SErver in creating make_tape_recovery

does this tape recover creatd on Tape or Hard disk ?
How can I know the content of backup?

does it covers back of OS, configuration,all LVM, VG00, VG01 VG02 etc?

how can I resore in failure of hard disk or OS ?
How can i restorre particular one file ?
Darshil
New Member

Re: problem in HPRX4640SErver in creating make_tape_recovery

How can i know that it is succesfully backup?

does this tape recover creatd on Tape or Hard disk ?
How can I know the content of backup?

does it covers back of OS, configuration,all LVM, VG00, VG01 VG02 etc?

how can I resore in failure of hard disk or OS ?
How can i restorre particular one file ?