From owner-freebsd-questions@FreeBSD.ORG Tue Mar 30 07:39:34 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 9328316A4CE for ; Tue, 30 Mar 2004 07:39:34 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C32A43D5A for ; Tue, 30 Mar 2004 07:39:34 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i2UFdXOB088616; Tue, 30 Mar 2004 09:39:33 -0600 (CST) (envelope-from dan) Date: Tue, 30 Mar 2004 09:39:33 -0600 From: Dan Nelson To: Jesse Guardiani Message-ID: <20040330153932.GE19463@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: Tue, 30 Mar 2004 15:39:34 -0000 In the last episode (Mar 30), Jesse Guardiani said: > I'm copying 35G/90G AIT-1 tapes on FreeBSD from tape drive to tape > drive (nrsa0 and nrsa1) using the tcopy -c command and it's taking > WAY too long. Over 12 hours including the verification process. (not > sure exactly how long as it finished when I was sleeping) > > Is there something I can do to speed this up? I don't think tcopy is double-buffered; if you only have one file on that tape and know the blocksize, dd if=/dev/nrsa0 bs=##k | dd of=/dev/nrsa0 bs=##k should be much faster. If you have multiple files or unknown blocksizes, the cptp command from the MAG package at http://www.cs.vu.nl/~dick/mag.html will preserve filemark and blocksize info through pipes, so you could do a cptp | cptp pipe. -- Dan Nelson dnelson@allantgroup.com