Solved

Redhat Linux Tar and Solaris

Posted on 1997-08-18
5
509 Views
Last Modified: 2013-12-05
Is it possible to read a tape created in solaris 5.1 in
redhat linux for Sparcs. I can untar tapes created in Linux
under solaris but cannot do the reverse. I'm using a sparc 5
running solaris 5.1 and redhat linux with a exabyte tape drive
0
Comment
Question by:RipCurl
  • 2
  • 2
5 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1626597
Should work. Use a fixed block size, for example:
tar cbf 126 ...
tar xbf 126 ...
0
 

Author Comment

by:RipCurl
ID: 1626598
That answers part of my question.   I receive tapes from several offsight locations very often.   I do not know the Block size they use when the make the tapes, and I'm pretty sure they don't either.   I would like to find a way to do it with out using pre-determined block sizes.     Thanks for your answer.  If you no one can answer this question better, then I will give you the points.   Thanks

0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1626599
You are lucky that Linux is you platform wich causes the problem.
So, if you have gtar (linux named tar, test with: tar --version), following options can help you: -B -i -o -R (see man for details).
If there is no GNU tar (gtar), I only know of an -e option which may help.
0
 
LVL 1

Accepted Solution

by:
jantypas earned 100 total points
ID: 1626600
You're running Solaris 5.1???  You brave soul...

We've found the easiest thing to do was compile our pax utility onto Solaris from Linux.  Works like a charm.
0
 

Author Comment

by:RipCurl
ID: 1626601
Thanks for the info
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question