Making, drinking tea and reading an opus magnum from Joe Szedula:
> I use a command like:
>
> cpio -o -z -v -F /dev/rst0 < in.lst > out.lst
>
> to perform a backup. But when I attempt to index the tape contents using:
>
> cpio -i -t -v -z -F /dev/rst0
>
> I get:
>
> gzip: /dev/stdin: unrecognized file format
> cpio: End of archive volume 1 reached
> Oct 7 11:50:48 sys /bsd: st0: 10-byte record too big
> Oct 7 11:50:48 sys /bsd: st0: 10-byte record too big
>
> ATTENTION! cpio archive volume change required.
> Ready for archive volume: 1
> Input archive name or "." to quit cpio.
> Archive name > .
> Quitting cpio!
> cpio: Sorry, unable to determine archive format.
>
> as the result. I've tried this with a few tapes of varying usage although
> they are all the same age. If I remove "-z" from the commands the write &
> index work no error messages.
>
> I'm running OpenBSD 3.7 (GENERIC) #50
>
> the "st" portion of dmesg is:
>
> st0 at scsibus0 targ 1 lun 0: <ECRIX, VXA-1 V219191B, 0001> SCSI2
> 1/sequential removable
> st0: density code 0x80, 1024-byte blocks, write-enabled
>
> Any suggestions for solving this problem?
you have to pipe it thru dd.
tapes work in blocks. gzip is not exactly like that
cu
--
paranoic mickey (my employers have changed but, the name has remained)