tcopy tape to tape WAY too slow

Dan Nelson dnelson at allantgroup.com
Wed Mar 31 07:31:25 PST 2004


In the last episode (Mar 30), Jesse Guardiani said:
> Having lotsa trouble getting this working. I'm using this command line:
> 
> cptp -hm 1 of=- | cptp -hm 0 if=-
> 
> (tried it without the -h too)
> 
> And getting this output:
> 
> After 0 tape marks, after 0 blocks: tape image format error on standard input
> 
> And this error in /var/log/messages:
> 
> Mar 30 18:23:24 billmax /kernel: (sa1:ahc0:0:2:0): 64512-byte tape record bigger than supplied buffer

Aha.  Also edit tp.h, and change TP_MAX_BLK_SIZE to 131072 (the max
FreeBSD supports, I believe)

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list