1830338 Members
2159 Online
110001 Solutions
New Discussion

Copy_boot_tape

 
SOLVED
Go to solution
Alessandro Pilati
Esteemed Contributor

Copy_boot_tape

Hi to all friends,
I would be happy to know if there is a way to check the LIF area and the archive of a tape containing a "make_tape_recovery" backup, avoiding the eject of the tape at the end of the check.

When I use copy_boot_tape, at the end of the creation of the boot image, it ejects the tape, and it's a problem 'cause the server room is too far...

Any help will be appreciated.

Thanks in advance,
Alessandro
if you don't try, you'll never know if you are able to
1 REPLY 1
Patrick Wallek
Honored Contributor
Solution

Re: Copy_boot_tape

You can copy the lif area of the tape off to a file:

# mt -f /dev/rmt/?mn rew
# dd if=/dev/rmt/?mn of=/var/tmp/mtr.bootlif bs=8192k

Let this run for a while. When it finishes you will have the boot LIF from the tape. You can then use the "lif*" utilities on the file.

# lifls /var/tmp/mtr.bootlif
# lifls -l /var/tmp/mtr.bootlif

If you want to look at the files on the tar archive part of the tape:

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

Be sure to use your appropriate tape device with the above commands.