From owner-freebsd-questions@FreeBSD.ORG Wed Mar 31 07:31:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C65D16A4CE for ; Wed, 31 Mar 2004 07:31:25 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id C57A543D58 for ; Wed, 31 Mar 2004 07:31:24 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i2VFVNGS090389; Wed, 31 Mar 2004 09:31:23 -0600 (CST) (envelope-from dan) Date: Wed, 31 Mar 2004 09:31:23 -0600 From: Dan Nelson To: Jesse Guardiani Message-ID: <20040331153123.GA42077@dan.emsphone.com> References: <200403301300.16163.jesse@wingnet.net> <20040330202711.GF19463@dan.emsphone.com> <200403301831.08196.jesse@wingnet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200403301831.08196.jesse@wingnet.net> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: tcopy tape to tape WAY too slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2004 15:31:25 -0000 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