System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Ignite make_recovery problem

radheshyam garg
Occasional Advisor

Ignite make_recovery problem

Could you please help me to find out the cuase to failing make_recovery

vgexport: Volume group "/dev/vg01" is still active.

* Creating Control Configuration.
* Creating Archive File List
* Creating Archive Configuration
NOTE: vgdisplay -v unsuccessful

* /opt/ignite/bin/make_arch_config -c
/var/opt/ignite/recovery/2006-10-05,04:06/archive_cfg -g
/var/opt/ignite/recovery/2006-10-05,04:06/flist -n 2006-10-05,04:06 -r
64 -d chmdoc1\ DR\ Tape,\ 10/05/06\ @\ 04:06:39 -t -i 1 -m t
* Saving the information about archive to
/var/opt/ignite/recovery/previews
* Creating The Tape Archive
* Checking configuration file for Syntax
Adding /opt/ignite/Version file to LIF.
* Writing boot LIF to tape
1793+0 records in
1792+1 records out
I/O error
ERROR: /usr/bin/dd if=/var/tmp/uxinstlf.recovery of=/dev/rmt/0mnb bs=2k
failed to write LIF onto tape.
ERROR: Failed to generate LIF on tape .


root@chmdoc1:(root) =>bdf /var/tmp
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvvar 2621440 1582727 975217 62% /var
root@chmdoc1:(root) =>


root@chmdoc1:(root) =>dd if=/tmp/ioscan-disk.txt of=/dev/rmt/0mnb bs=2k
51+1 records in
51+1 records out
root@chmdoc1:(root) =>


root@chmdoc1:(root) =>/usr/bin/dd if=/var/tmp/uxinstlf.recovery of=/dev/rmt/0mnb bs=2k
I/O error
1793+0 records in
1792+1 records out
root@chmdoc1:(root) =>ls -ltr /var/tmp/uxinstlf.recovery
-rw-r--r-- 1 root sys 94924800 Oct 5 04:12 /var/tmp/uxinstlf.recovery
root@chmdoc1:(root) =>
10 REPLIES
Steven E. Protter
Exalted Contributor

Re: Ignite make_recovery problem

Shalom,

Possible causes:

1) Hardware trouble on the tape drive.
2) Bad tape
3) Not enough free space on /var

Address the issue and it should be okay.

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
radheshyam garg
Occasional Advisor

Re: Ignite make_recovery problem

Thanks,

But File system size is OK
root@chmdoc1:(root) =>ioscan -fnuH 10/12/5.0.0
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
tape 0 10/12/5.0.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/0m /dev/rmt/0mnb /dev/rmt/c2t0d0BESTn /dev/rmt/c2t0d0DDSb
/dev/rmt/0mb /dev/rmt/c2t0d0BEST /dev/rmt/c2t0d0BESTnb /dev/rmt/c2t0d0DDSn
/dev/rmt/0mn /dev/rmt/c2t0d0BESTb /dev/rmt/c2t0d0DDS /dev/rmt/c2t0d0DDSnb
root@chmdoc1:(root) =>

and

I tried with new tape .. same problem occur..
Wim Rombauts
Honored Contributor

Re: Ignite make_recovery problem

I have seen this behaviour before.
Nothing wrong with the tape, nothing wrong with the tapedrive.
If I remember correctly, it had something to do with the exact size of the input file that is not a multiple of the specified blocksize.
I cannot replicate the behaviour on my systems anymore, but I am certain it can be resolved by installing OS-patches.
What OS version do you have ? I think I had this issue in the HP-UX 11.23 december 2005 release.
radheshyam garg
Occasional Advisor

Re: Ignite make_recovery problem

Thank you ...

But we are usring 11.11
root@chmdoc1:(root) =>uname -a
HP-UX chmdoc1 B.11.11 U 9000/800 1064661381 unlimited-user license
root@chmdoc1:(root) =>

and other server with same OS version and same H/W .. doing good.. no error generated when i create make_recovery.
Michal Toth
Regular Advisor

Re: Ignite make_recovery problem

this applies to san attached tapes only:

check if you have st_san_safe kernel parameter enabled, if yes - you can only use no-rewind device files
Michal Toth
Regular Advisor

Re: Ignite make_recovery problem

furthermore make_recovery script is kinda stupid, and fails to handle properly anything but simple /dev/Nm or /dev/Nmn device files.. check your TAPE_IGNITE configuration parameter
Calandrello
Trusted Contributor

Re: Ignite make_recovery problem

garg which version ignite ?

radheshyam garg
Occasional Advisor

Re: Ignite make_recovery problem

root@chmdoc2:() =>swlist -l product | grep -i ignite
Ignite-UX B.5.1.33 HP-UX System Installation Services
root@chmdoc2:() =>
Calandrello
Trusted Contributor

Re: Ignite make_recovery problem

Garg
it would be interesting to install finishes it versao of the ignite .
download in the site can be effected:
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=IGNITEUXB


Hrvoje Gjuric
Occasional Visitor

Re: Ignite make_recovery problem

you have to use the other device file (BESTn).
example:
make_tape_recovery -Av -a /dev/rmt/c2t3d0BESTn