From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 3AD8C2F044 for ; Thu, 19 Jul 2001 03:16:30 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f6J79fA25934 for axp-list@listman.redhat.com; Thu, 19 Jul 2001 03:09:41 -0400 Received: from asimov.lib.uaa.alaska.edu (asimov.uaa.alaska.edu [137.229.112.4]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f6J79eg25930 for ; Thu, 19 Jul 2001 03:09:41 -0400 Received: by asimov.lib.uaa.alaska.edu (Postfix, from userid 500) id B0F883006; Wed, 18 Jul 2001 23:16:09 -0800 (AKDT) Received: from localhost (localhost [127.0.0.1]) by asimov.lib.uaa.alaska.edu (Postfix) with ESMTP id A69C61011 for ; Wed, 18 Jul 2001 23:16:09 -0800 (AKDT) Date: Wed, 18 Jul 2001 23:16:09 -0800 (AKDT) From: Mike Tibor To: Subject: Re: speed up tape writes with /bin/buffer In-Reply-To: <20010718190603.56143.qmail@web14901.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Wed, 18 Jul 2001, John Doe wrote: > Hello List, > > I am trying to write to a tape on a remote linux > box by using the following command: > > gtar cPvf - $FILELIST | rsh -l $username \ > $remote_host /bin/buffer -o $TAPE_DEV Others have already commented on using the norewind tape device, and that's what I'd recommend too. One other thing I'd recommend is that if the backup is being done over 10Mbit ethernet, you could probably use compression depending on the cpu power of the host being backed up. For example: rsh $remote_host "mt compression 0" gtar zcPvf - $FILELIST | rsh -l $username \ $remote_host /bin/buffer -o $TAPE_DEV This would be more appropriate for relatively recent cpus over slower ethernet. Another way to shrink your backup window if you are stuck with a relatively slow tape drive, is to output the data to files in a holding area on disk and then flush them to tape using cat or dd. This way your tape drive is less of a bottleneck. Mike -- Mike Tibor Univ. of Alaska Anchorage (907) 786-1001 voice Network Technician Consortium Library (907) 786-6050 fax tibor@lib.uaa.alaska.edu http://www.lib.uaa.alaska.edu/~tibor/ http://www.lib.uaa.alaska.edu/~tibor/pgpkey for PGP public key