Operating System - HP-UX
1753758 Members
4905 Online
108799 Solutions
New Discussion юеВ

Re: make_tape_recovery error

 
chad_c
Super Advisor

make_tape_recovery error

Hi. We are attempting to run a make_tape_recovery via ignite. We get the following error:

* Creating Control Configuration.
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 11
Open LV 11
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4350
VGDA 2
PE Size (Mbytes) 8
Total PE 4340
Alloc PE 4260
Free PE 80
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

* Creating Archive File List
* Creating Archive Configuration

* /opt/ignite/lbin/make_arch_config -c /var/opt/ignite/recovery/client_
m
nt/0x00306E2BDC62/recovery/2007-07-05,17:23/archive_cfg -g /var/opt/i
g
nite/recovery/client_mnt/0x00306E2BDC62/recovery/2007-07-05,17:23/fli
s
t -n 2007-07-05,17:23 -r pa -b 64 -d Recovery\ Archive -t 1 -i 1 -m t
* Saving the information about archive to
/var/opt/ignite/recovery/previews
* Creating The Tape Archive
49+0 records in
48+1 records out
I/O error
ERROR: /usr/bin/dd if=/var/tmp/uxinstlf.recovery of=/dev/rmt/0mn bs=2k faile
d
to write LIF onto tape.
ERROR: Failed to generate LIF on tape.



======= 07/05/07 17:27:24 CDT make_tape_recovery completed unsuccessfully


Can anyone shed some light on a possible remedy?

Regards,
Chad
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor

Re: make_tape_recovery error

Given your similar problems, before doing anything else make sure that you can actually write to this tape drive. Trying dd'ing a file to this drive using a 2k blocksize and then read the file back. Use the tape drive to create a tar or cpio image. Only when you can do that should you try make_tape_recovery.

Your problems could be legion: Poor/incorrect termination, no termination power, SCSI bus length standards exceeded, bad tape dive, bad or write-protected media, bad controller, ...

Rather than entering a host of separate threads, you will find that keeping all this in one thread makes it easier to solve a problem as it then becomes possible to easily see what has gone before.
If it ain't broke, I can fix that.
Basheer_2
Trusted Contributor

Re: make_tape_recovery error

Hi Chad,

Your logs indicate I/O errors.
few things you could check:
1) ioscan -funC tape
2) mt -f /dev/rmt/0mn status
(replace /dev/rmt/omn with the correct one.
3) Is this write protected
4) Check /var/opt/ignite/recovery/latest/recovery.log
5) the script i use
#!/usr/bin/ksh

#

# 10-26-06: ~bahmed/scr/ignite-info.ksh

# make ignite tape for disaster recovery and store off-site

# igntie Version C.6.8.152

#

SERVER=`hostname`

mmddyy=`date "+%m%d%Y"`

TAPE=/dev/rmt/0mn

cd ~bahmed/scr/ignite-info/



LOG=ignite.log.$mmddyy

st_date=`date`

echo " Started make_tape_recovery Tape For >>> $SERVER <<< on: `date`" > $LOG

timex /opt/ignite/bin/make_tape_recovery -a $TAPE -I -v -x inc_entire=vg00 >>$LOG 2>&1

echo " Make Recovery Tape Done on: `date`" >> $LOG

end_date=`date`



echo "-----------------------------------------------------------------" >> $LOG

echo " $SERVER Ignite Start At: $st_date " >> $LOG

echo " $SERVER Ignite End At: $end_date" >> $LOG

echo "-----------------------------------------------------------------" >> $LOG


Basheer_2
Trusted Contributor

Re: make_tape_recovery error

Hi Chad,

Your logs indicate I/O errors.
few things you could check:
1) ioscan -funC tape
2) mt -f /dev/rmt/0mn status
(mine looks like this)
Drive: HP C7438A
Format:
Status: [81114700] EOF online compression immediate-report-mode
File: 2
Block: -1


(replace /dev/rmt/omn with the correct one.
3) Is this write protected
4) Check /var/opt/ignite/recovery/latest/recovery.log
5) the script i use
#!/usr/bin/ksh

#

# 10-26-06: ~bahmed/scr/ignite-info.ksh

# make ignite tape for disaster recovery and store off-site

# igntie Version C.6.8.152

#

SERVER=`hostname`

mmddyy=`date "+%m%d%Y"`

TAPE=/dev/rmt/0mn

cd ~bahmed/scr/ignite-info/



LOG=ignite.log.$mmddyy

st_date=`date`

echo " Started make_tape_recovery Tape For >>> $SERVER <<< on: `date`" > $LOG

timex /opt/ignite/bin/make_tape_recovery -a $TAPE -I -v -x inc_entire=vg00 >>$LOG 2>&1

echo " Make Recovery Tape Done on: `date`" >> $LOG

end_date=`date`



echo "-----------------------------------------------------------------" >> $LOG

echo " $SERVER Ignite Start At: $st_date " >> $LOG

echo " $SERVER Ignite End At: $end_date" >> $LOG

echo "-----------------------------------------------------------------" >> $LOG