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.
|