Solved

Redhat Linux Tar and Solaris

Posted on 1997-08-18
5
510 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
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é.
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.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

792 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