Operating System - HP-UX
1832592 Members
2817 Online
110043 Solutions
New Discussion

Looking on more than one tape with the tar command

 
SOLVED
Go to solution
ROSS HANSON
Regular Advisor

Looking on more than one tape with the tar command

Hello,
I have created a make_tape_recovery tape which spans 3 dds tapes.
I need to see the contents of the tapes to find a specific file.
when going through the tape with a
tar tvf /dev/rmt/0mn command I finally receive

tar: to continue, enter device/file name when ready or null string to quit

When I put in the device file I hit return and the same message comes back at me
Does anyone know why I am receiving this???
Ross Hanson
7 REPLIES 7
TwoProc
Honored Contributor

Re: Looking on more than one tape with the tar command

when it asks:
a) eject the first tape,
b) put in the second
c) type "/dev/rmt/0mn" (sans quotes) and hit enter

you should be good to go after that,

just repeat for the next tape.
We are the people our parents warned us about --Jimmy Buffett
ROSS HANSON
Regular Advisor

Re: Looking on more than one tape with the tar command

Do I type the " ? I guess I don't understand what sans quotes is.
Ross Hanson
TwoProc
Honored Contributor

Re: Looking on more than one tape with the tar command

No - don't type the quotes
We are the people our parents warned us about --Jimmy Buffett
ROSS HANSON
Regular Advisor

Re: Looking on more than one tape with the tar command

Ok,
Thanks for the info. I have tried putting in
/dev/rmt/0mn many times and the same message keeps coming back at me.
Any other ideas??
Ross Hanson
TwoProc
Honored Contributor
Solution

Re: Looking on more than one tape with the tar command

Weird, 'cause I know that this is the answer.
maybe /dev/rmt/0m (leave off the "n").

Also, *don't* hit enter before the file/path - only afterwards... so all you type is ...
/dev/rmt/0m[ENTER]

Let us know...
We are the people our parents warned us about --Jimmy Buffett
ROSS HANSON
Regular Advisor

Re: Looking on more than one tape with the tar command

John,
I thank you. It worked!!
Ross Hanson
TwoProc
Honored Contributor

Re: Looking on more than one tape with the tar command

Ross, thanks for the pts - please update and close the question when done.
We are the people our parents warned us about --Jimmy Buffett