From owner-freebsd-questions@FreeBSD.ORG Tue Mar 30 10:00:20 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 D96B716A4D0 for ; Tue, 30 Mar 2004 10:00:20 -0800 (PST) Received: from chortos.wingnet.net (chortos.wingnet.net [206.30.57.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 4CC0443D3F for ; Tue, 30 Mar 2004 10:00:20 -0800 (PST) (envelope-from jesse@wingnet.net) Received: (qmail 98135 invoked by uid 3848); 30 Mar 2004 18:00:18 -0000 Received: from jesse@wingnet.net by chortos.wingnet.net by uid 1003 with qmail-scanner-1.21 (clamdscan: 0.70-rc. Clear:RC:1(206.30.215.5):. Processed in 0.067846 secs); 30 Mar 2004 18:00:18 -0000 X-Qmail-Scanner-Mail-From: jesse@wingnet.net via chortos.wingnet.net X-Qmail-Scanner: 1.21 (Clear:RC:1(206.30.215.5):. Processed in 0.067846 secs) Received: from makrothumia.wingnet.net (HELO 192.168.1.47) (206.30.215.5) by chortos.wingnet.net with SMTP; 30 Mar 2004 18:00:17 -0000 From: Jesse Guardiani Organization: WingNET To: Dan Nelson Date: Tue, 30 Mar 2004 13:00:15 -0500 User-Agent: KMail/1.5.4 References: <20040330153932.GE19463@dan.emsphone.com> In-Reply-To: <20040330153932.GE19463@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403301300.16163.jesse@wingnet.net> 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 18:00:21 -0000 On Tuesday 30 March 2004 10:39, you wrote: > 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. No, I've got between 70 and 90 files per tape. > 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. That looks promising. Do you have special build instructions for this package under FreeBSD 4.x? I'm getting the following error on 'gmake' or 'make': ------------------------------------------------------------- gcc -ansi -DUNIX -O -s -c tperr.c tperr.c:18: initializer element is not constant *** Error code 1 Stop in /usr/local/src/mag. Exit 1 ------------------------------------------------------------- -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net