The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
reading/ writing to sockets rein Shell Programming and Scripting 1 09-20-2007 05:57 PM
Reading and Writing file on LAN lucky001 High Level Programming 3 03-30-2007 11:16 AM
Reading and Writing Files ? tracydp UNIX for Dummies Questions & Answers 3 08-30-2006 07:24 AM
Help With Reading Partitioned Tapes dhaverstick HP-UX 2 05-23-2006 07:56 AM
Reading tapes from other platform Stefan L UNIX for Advanced & Expert Users 1 08-17-2005 08:02 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-24-2003
Registered User
 

Join Date: Nov 2002
Location: Raleigh, N.C.
Posts: 78
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.
Forum Sponsor
  #2  
Old 04-25-2003
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,493
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
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,493
GNU CPIO

I found it......

http://www.gnu.org/directory/GNU/cpio.html
  #4  
Old 04-27-2003
Registered User
 

Join Date: Nov 2002
Location: Raleigh, N.C.
Posts: 78
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.
Google The UNIX and Linux Forums
Closed Thread

Tags
cpio

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:29 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0