LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 04-18-2006, 01:08 PM   #1
froggo
LQ Newbie
 
Registered: May 2005
Posts: 28

Rep: Reputation: 15
CPIO Issues


THE FOLLOWING IS RUN IN A SCRIPT TO COPY TO THE TAPE:


find /backup/OLTP_exp*.dmp.Z > copy-oltp-to-tape
find /backup2/OLTP_exp*.dmp.Z >> copy-oltp-to-tape
find /backup4/OLTP_exp*.dmp.Z >> copy-oltp-to-tape
find /backup/*oltp* >> copy-oltp-to-tape
cat copy-oltp-to-tape | cpio -ocvB > /dev/st0


THE FOLLOWING IS RUN TO READ FROM THE TAPE AND STORE
THE RESULTS IN A FILE CALLED "tape-contents":

cpio -itvcB < /dev/st0 > tape-contents


Normally,the following would be seen:

[linux]$ cpio -itvcB < /dev/st0 > tape-contents
1289200 blocks



But the following error is appearing:

[linux]$ cpio -itvcB < /dev/st0 > tape-contents
cpio: warning: skipped 87566004 bytes of junk
cpio: warning: skipped 87535284 bytes of junk

The tape is active.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using cpio ksun Linux - Newbie 4 05-12-2006 05:14 AM
How to use cpio to extract a cpio archive? linx win Debian 4 06-17-2005 01:53 PM
cpio problem mgventura Red Hat 0 04-15-2004 07:56 AM
cpio.gz?? unprocessed Linux - Newbie 7 09-11-2002 04:37 PM
Does CPIO compress? severedhead Linux - Software 1 08-03-2002 07:26 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 09:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration