Problem
I have a tape with a cpio(C) archive on it. If I put the tape into the tape drive and, as root, enter:
dtype /dev/rmt/ctape0I get:/dev/rmt/ctape0 I/O error Cause
dtype(C) uses a read size of 6*512byte blocks when reading from a device. If the cpio archive is not written with a block size of 512 bytes, or one which is compatible with a read of 6*512 bytes, then dtype will fail with the error described above.
Solution
There is no solution for cpio archives that have already been written to tape.
If you want your future cpio archives to be recognisable using dtype(C) then use the -C option and specify a multiple of 6*512bytes when writing your archives.