1830827 Members
2842 Online
110017 Solutions
New Discussion

Reading tape contents

 
SOLVED
Go to solution
Kevin_107
Regular Advisor

Reading tape contents

I have just been handed a DLT tape and asked what is on it...I have tried tar and frecover..I am getting a read error with Tar and not a fbackup header...is there anyway of listing a tape's contents if you do not know how the contents of the tape were backed up
He who laughs last.....doesnt get the joke !!
6 REPLIES 6
Bill McNAMARA_1
Honored Contributor
Solution

Re: Reading tape contents

try swinstall
alternatively, if you've got disk space!!. convert to file:
# dd if=/dev/rmt/0mn of=bootfile bs=2k
# dd if=/dev/rmt/0m of=sdfile bs=10k

Later,
Bill
It works for me (tm)
ZEISS
Occasional Advisor

Re: Reading tape contents

Hello

make a more or cat on the devicefile ...
RAC_1
Honored Contributor

Re: Reading tape contents

use dd command
dd if=/dev/rmt/0m of=file1 bs=10k

Say file file1 that will give you what that file is.

Regards,
There is no substitute to HARDWORK
Jean-Louis Phelix
Honored Contributor

Re: Reading tape contents

hi,

You've forgotten cpio ... You could also try pax (nice tool which reads tar AND cpio, and helps relocating absolute pathes with pattern matching substitutions.

Regards.
It works for me (© Bill McNAMARA ...)
Leif Halvarsson_2
Honored Contributor

Re: Reading tape contents

Hi,
cpio or ftio can be a chance, try:
cpio -ivt
ftio -gv

But, it is possible the tape is created with a backup application. In this case it is not possible to read the tape without the application which created it.
Chuck J
Valued Contributor

Re: Reading tape contents

Kevin

I guess you already tried:

# tar -tvf /dev/rmt/0m

Chuck J