Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2004 09:31:23 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Jesse Guardiani <jesse@wingnet.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: tcopy tape to tape WAY too slow
Message-ID:  <20040331153123.GA42077@dan.emsphone.com>
In-Reply-To: <200403301831.08196.jesse@wingnet.net>
References:  <c4c00b$4ug$1@sea.gmane.org> <200403301300.16163.jesse@wingnet.net> <20040330202711.GF19463@dan.emsphone.com> <200403301831.08196.jesse@wingnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040331153123.GA42077>