Operating System - HP-UX
1753599 Members
6249 Online
108796 Solutions
New Discussion юеВ

How to view the contents in tape?

 
Livia
Advisor

How to view the contents in tape?

(I've never used ignite and tape before, but now I have to use ignite.)

I have a tape which is believed having HPUX OS full-backup(by ignite) in it. But it was made loooooong time ago. Now nobody knows whether it contains the correct version for us or not.

Therefore, I should check the content in it.

But how to check the contents in a tape?
....I even cannot make sure whether the old tape is usable or not.
4 REPLIES 4
Torsten.
Acclaimed Contributor

Re: How to view the contents in tape?

If created on a PA-RISC server do

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

? = number of the tape device

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!   
Livia
Advisor

Re: How to view the contents in tape?

/dev/rmt> mt -f /dev/rmt/1mn rew
/dev/rmt/1mn: No such device or address


(ioscan -fn)
tape 1 1/0/0/3/1.1.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/1m /dev/rmt/1mnb /dev/rmt/c5t1d0BESTn /dev/rmt/c5t1d0DDSb
/dev/rmt/1mb /dev/rmt/c5t1d0BEST /dev/rmt/c5t1d0BESTnb /dev/rmt/c5t1d0DDSn
/dev/rmt/1mn /dev/rmt/c5t1d0BESTb /dev/rmt/c5t1d0DDS /dev/rmt/c5t1d0DDSnb


.....something wrong?
Bill Hassell
Honored Contributor

Re: How to view the contents in tape?

You won't be able to see anything useful as far as a version on the tape. The first file is a binary image of the kernel, suitable for booting from the tape -- it would be quite difficult to locate the HP-UX version, and impossible to locate the model of the computer from which it was created. That will be the most incompatible part of the Ignite tape. If a "loooooong" time ago is more than a few months, there are many, many incompatible features in the source system.

The second file is a tar or cpio backup of the origianl system but you won't be able to tell whether it is a multi-VG backup or just VG00.

There is no point in trying to restore a really old tape, especially if you do not know the model of the original system. The I/O cards are very different and require drivers that are likely not present in the original system. And the original system may be so old that it is only a 32bit OS and no new HP hardware has been sold in the last several years that will run the old 32bit kernel code.

So about the only use for this tape is make a table of contents from the second file on the tape and see if any of the data files might be useful.


Bill Hassell, sysadmin
Avinash20
Honored Contributor

Re: How to view the contents in tape?

If the OS is up and running then why dont you take the latest Ignite backup by inserting a new tape.

# make_tape_recovery -Av -a /dev/rmt/Xmn

You could find the Tape device via

# ioscan -funC tape
"Light travels faster than sound. That's why some people appear bright until you hear them speak."