1834498 Members
2382 Online
110067 Solutions
New Discussion

make_tape_recovery

 
Donald C Nelson
Frequent Advisor

make_tape_recovery

Is there a process to check and make sure that a good make_tape_recovery was made besides the "check_tape_recovery" command. This command requires a disk space to copy files that I don't have.
6 REPLIES 6
Raj D.
Honored Contributor

Re: make_tape_recovery

Yes, Donald,

Its here:

# cat /var/opt/ignite/recovery/latest/recovery.log | grep -i successfull

If the make_tape_reovery is not successfull , it will give unsuccessfully completed.

Enjoy,
Cheers,
Raj.

" If u think u can , If u think u cannot , - You are always Right . "
Mel Burslan
Honored Contributor

Re: make_tape_recovery

Donald,

As a matter of fact, check_tape_recovery command basically checks the integrity of the files, does not guarantee you the absolute bootability of that tape.

The only surefire way of making sure a tape recovery is really good is to have a system on the side where you can boot from the newly created tape and rebuild this system. And I am afraid, this is costlier than the extra disk space requirement of check_tape_recovery command.
________________________________
UNIX because I majored in cryptology...
Uday_S_Ankolekar
Honored Contributor

Re: make_tape_recovery

A default log directory tells you if there is any errors while creating make_tape_recovery
You can find this log file in this directory

/var/opt/ignite/recovery/date_n_time of recovery ran/recovery.log

-USA..
Good Luck..
Donald C Nelson
Frequent Advisor

Re: make_tape_recovery

Thanks everyone. I know about all of the log files that say that the make_tape was successfull, but I thought that there was a way to check the boot_lif on the tape.
James R. Ferguson
Acclaimed Contributor

Re: make_tape_recovery

Hi Donald:

Assuming the the 'make_tape_recovery' session completed successfully, I suppose that you could re-read the tape; something along the lines of:

# mt -t /dev/rmt/0mn fsf 1 && tar -tvf /dev/rmt/0m; [$? -eq 0] echo "OK!

*However*, just because you can read the tape today, doesn't mean that when you need to use it you will be able to read it.

I like to reduce my odds of having a bad tape by having multiple copies.

The 'check_tape_recovery' command has been deprecated for some time, if I recall correctly, too.

Regards!

...JRF...
Hakan Aribas
Valued Contributor

Re: make_tape_recovery

After inserting the tape into the tape drive, type the following commands:

# mt -f /dev/rmt/ rew
# mt -t /dev/rmt/ fsf 1
# tar -tvf /dev/rmt/