Operating System - HP-UX
1834804 Members
2813 Online
110070 Solutions
New Discussion

trying to recover from bad lif on tape

 
Ed Segura
Frequent Advisor

trying to recover from bad lif on tape

I am trying to recover using a tape that has a bad Lif. Once I get to the DVD menu I am having troubles finding how to load from tape through the recovery menu.
2 REPLIES 2
Mark McDonald_2
Trusted Contributor

Re: trying to recover from bad lif on tape

Not sure about the DVD method, but I think it may be possible to dd a new lif area on to the tape.

I used to copy ignite tapes, they are made up of 2 area, firstly a lif are with block size of 2k followed by the actual data block size of 10k

If you have a copy of the lif you could:
dd if=/dir/lif_copy of=/dev/rm/0m bs=2k

However, it would be better to backup the data first.

dd if=/dev/rmt/0mn of=/dev/null bs=2k
OR just fast forward the tape past the LIF
Then
dd if=/dev/rmt/0m of=/dir/data_backup bs=10k

Someone else will confirm whether this can be done, but I would give it a try. Perhaps dd the good lif on to a new tape, then dd the data on to the new tape after the lif.
Torsten.
Acclaimed Contributor

Re: trying to recover from bad lif on tape

Try to boot from CD/DVD and select

-> Install HP-UX -> select Advanced Installation -> Recovery tape -> GO!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!