1834263 Members
93260 Online
110066 Solutions
New Discussion

view content of tape!

 
SOLVED
Go to solution
Anh.Quan
Frequent Advisor

view content of tape!

Dear Experts,

I have a tape but I don't know HOW TO READ CONTENT OF TAPE. Please help me!!!

Many Thanks,
Vu
6 REPLIES 6
freddy_21
Respected Contributor

Re: view content of tape!

are you using tar or fbackup to backup the tape?


thanks
freddy
Peter Godron
Honored Contributor

Re: view content of tape!

Hi,
do you know what software was used to write the tape (dd, fbackup,tar..)?
You can load the tape into a tapedrive and then try SAM to do an recover.
Alternatives are dd (man dd) or pax.
Ludovic Derlyn
Esteemed Contributor

Re: view content of tape!

hi,

What is the format on the tape ?

if it's a tar , try tar -tvf /de:/rmt/xxxxx
if it's fbackup , try frecover -Nrv

Regards

L-DERLYN
Adisuria Wangsadinata_1
Honored Contributor
Solution

Re: view content of tape!

Hi Vu,

On HP-UX, the backup can be done on several ways. With basic HP-UX commands (eg. tar, fbackup, dd, cpio) OR by backup software management (dataprotector, netbackup, legato).

So tt's a good way to ask from the person who gave you that tape, about what's the method that he/she use to backup the data into the tape. That's the easy one and safely.

To make it safe, make sure the tape only for read only. And here is the command to check the content of the tape (eg. the tape device file : /dev/rmt/0m) :

- with tar command :
# tar tvf /dev/rmt/0m

- with fbackup/frecover command :
# frecover -rNv -f /dev/rmt/0m

- with cpio command :
# cpio -ictv < /dev/rmt/0m

And if the backup from make_tape_recovery command, here is to check the content :

Skip over the first image with mt command
# mt -f /dev/rmt/0mn rew
# mt -f /dev/rmt/0mn fsf 1

Verify the contents of the tar image:
# tar tvf /dev/rmt/0m

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Raj D.
Honored Contributor

Re: view content of tape!

Hi QVU ,

If it is in tar format ,You can check that with ,

# tar -tvf /dev/rmt/0mn

where /dev/rmt/0mn is the device name , can be found from ioscan -fnC tape,


cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Anh.Quan
Frequent Advisor

Re: view content of tape!

Dear Experts,

I am very thanks all of you. I cleared about this.

Thanks you so much
Vu.