[comp.unix.questions] Unisys -> Sun

kristinn@rhi.hi.is (Kristinn Eiriksson) (10/07/90)

I have some data on a Unisys (5000/6000?) and need to get it over to a
Sun SPARC machine.  The only way is to use a cartridge tape (60Mb).
I have tried cpio (with some switches I can't remeber anymore) and tar cvf,
but the Sun machine can't read what the Unisys machine wrote!

Does anyone have any ideas how I can solve this?  The tape is the *only*
way to get the data across, the machines are in different countries with
an Atlantic ocean between'em!

Any help will be greatly appreciated;-)

Kiddi
kristinn@rhi.hi.is

dold@=.Convergent.COM (Clarence Dold) (10/10/90)

in article <2255@krafla.rhi.hi.is>, kristinn@rhi.hi.is (Kristinn Eiriksson) says:

> I have some data on a Unisys (5000/6000?) and need to get it over to a
> Sun SPARC machine.  The only way is to use a cartridge tape (60Mb).
> I have tried cpio (with some switches I can't remeber anymore) and tar cvf,
> but the Sun machine can't read what the Unisys machine wrote!

We have moved data from a Unisys 6000/50 to a SparcStation with no trouble.
We used tar.  I work on the Unisys end, so I'm not sure what options were
used on the Sun, but I've heard vaguely that only certain device names 
work.

More likely is the fact that the Unisys has a 150MB drive, which can't 
write a 60MB tape in any case.

If you have a Unisys 5000/xx, not including 5000/70 and 5000/95, then the
machine does "Intel" byte swapping to tape.  You can use the following
sequence for cpio:
5000:  cpio -oBc >/dev/rmt0
Sun:   dd if=/dev/rmt0 conv=swab | cpio -iBc


-- 
---
Clarence A Dold - dold@tsmiti.Convergent.COM            (408) 435-5293
               ...pyramid!ctnews!tsmiti!dold        FAX (408) 435-3105
               P.O.Box 6685, San Jose, CA 95150-6685         MS#10-007

erik@unislc.uucp (Erik Sean Nolte) (10/11/90)

In article <2255@krafla.rhi.hi.is> kristinn@rhi.hi.is (Kristinn Eiriksson) writes:
>I have some data on a Unisys (5000/6000?) and need to get it over to a
>Sun SPARC machine.  The only way is to use a cartridge tape (60Mb).
>I have tried cpio (with some switches I can't remeber anymore) and tar cvf,
>but the Sun machine can't read what the Unisys machine wrote!

What U series machine are you using?  Tapes written on U5000/30-55 (NCR) 
are incompatible with tapes written on U6000 and presumably Sun machines.
To fix this problem try swapping the bytes as you read the tape into the
U6000/Sun (ex dd if=<tape device> of=/tmp/myfile conv=swab).

My response would be more complete if I knew what the machines were and
exactly what commands you tried.