Reading and writing SCO DAT tapes uing Linux


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Reading and writing SCO DAT tapes uing Linux
# 1  
Old 04-24-2003
Reading and writing SCO DAT tapes uing Linux

Hi, Guys.

I've been trying to read and write SCO DAT tapes to my Linux
hard disk. I'm using RedHat 6.0 because it is the only version
that has device drivers for my SCSI host adapter and SCSI tape
drive.

When I run the command "cpio -ivt > /dev/st0" I can read the
archive from the SCO DAT tape, but when I try to write to the hard disk from the tape device the processes either hangs or returns the following output:

cpio: warning: skipped 50935378 bytes of junk
cpio: warning: skipped 3551 bytes of junk
cpio: warning: skipped 25774 bytes of junk
cpio: warning: skipped 10757bytes of junk
cpio: warning: skipped 11251 bytes of junk
cpio: warning: skipped 38043 bytes of junk
cpio: warning: skipped 2326 bytes of junk

The restore command I'm running is "cpio
idcmv /wicprod/REC1.sql < /dev/st0

I have tested cpio commands from my Linux machine itself and
everything worked properly. Any help from you guys will be greatly appreciated.
# 2  
Old 04-25-2003
You might consider compiling the same cpio software on both platforms (SCO and LINUX) and then writing-reading with the same software.

Does GNU distribute a version of cpio ?

www.gnu.org


If you can find a GNU version compile for both platforms, that might help..... Neo
# 3  
Old 04-25-2003
GNU CPIO

I found it......

http://www.gnu.org/directory/GNU/cpio.html
# 4  
Old 04-27-2003
NEO, thanks for the info, but the problem was solved by simply removing the -c flag from the cpio command. The weird thing is that if a cpio archive is created with the -c flag, isn't it required to unarchive with the -c flag? Hmmm, I guess the version of cpio on
my SCO box doesn't recognize the -c flag.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

reading a .dat file in to a string

i have folowing code. i dont want data in an array. i like to put my data file info (after filtering and converting to lower case) in to a string call "name". so it would look like this, name= ffjtgj345 thgkty3 456gfhf rhtfn4 ...... how do i do that? i dont want to read # or blank lines. ... (13 Replies)
Discussion started by: usustarr
13 Replies

2. Shell Programming and Scripting

Reading a .dat file in to 2 different arrays

hi all, i have a data file that contains 2 columns, names and numbers. i need to read names in to a an array call names and numbers in to an array call numbers. i also have # and blank lines in my dat file and i need to skip those when i read the dat file. how do i do this? btw, my column 1 and... (3 Replies)
Discussion started by: usustarr
3 Replies

3. SCO

SCO UNIX DAT Tape Device

Looking for specifically naming convention for a tape device for SCO Unix What full system backup command should I use for SCO UNIX (1 Reply)
Discussion started by: jedimaster
1 Replies

4. SCO

DAT drive problem in sco

my server os version is openserver 5.0.6.from past few days it is giving problem while taking backup.it is giving error such that "TAPE WRITE ERROR".anyone can help to come out of this. (3 Replies)
Discussion started by: prakrithi
3 Replies

5. HP-UX

Help With Reading Partitioned Tapes

I have a bunch of 4 mm DDS tapes that have two partitions. I read them on my HP-UX 10.20 box by referencing the device files /dev/rmt/0m (partition 0) and /dev/rmt/0mp (partition 1). Unfortunately, my HP-UX box was lightning struck last week so now I'm trying to read these tapes using Unix Services... (2 Replies)
Discussion started by: dhaverstick
2 Replies

6. UNIX for Dummies Questions & Answers

Acess DAT with SCO 3.2

Hi, I've just get a SCO UNIX computer that includes DAT reader. This computer also run a professionnal software i do not know. It runs Kornshell too. I tried so use ls /dev/rmt, but I always have the same files... so, I think /dev/rmt is not the right file. My question is : how can I get... (1 Reply)
Discussion started by: chodaboy
1 Replies

7. UNIX for Advanced & Expert Users

Reading tapes from other platform

I hope someone can provide some suggestions on my problem. I'm trying to read some catridge tapes created (tar or dd format) from SUN or SGI onto an ancient AT&T Unix System V/386 Rel 3.2 machine. But everything I tried to read in the tape on the AT&T machine there is this error message... (1 Reply)
Discussion started by: Stefan L
1 Replies

8. Solaris

Copying DAT tapes

I am trying to find a way of copying a system DAT tape onto another DAT tape for security reasons. I have tried searching the net for commands but so far I have been unsuccessful. (2 Replies)
Discussion started by: johnrussell
2 Replies

9. UNIX for Dummies Questions & Answers

Copying DAT tapes

I am looking for a way of making a backup of a system DAT tape onto another DAT tape for security reasons. (0 Replies)
Discussion started by: johnrussell
0 Replies

10. UNIX for Dummies Questions & Answers

Reading SCO floppy on Linux

Is there any way I can read a floppy written on SCO Unix 3 on a Redhat Linux 6.0 machine?? If so, how? Thanks in advance, Leo :confused: (4 Replies)
Discussion started by: Leo Gessford Jr
4 Replies
Login or Register to Ask a Question