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 68B8D2F83B for ; Wed, 18 Jul 2001 16:01:31 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f6IJsgm27696 for axp-list@listman.redhat.com; Wed, 18 Jul 2001 15:54:42 -0400 Received: from paralleldata.com ([63.93.128.8]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f6IJsfg27692 for ; Wed, 18 Jul 2001 15:54:41 -0400 Received: by paralleldata.com from localhost (router,SLMail V5.0); Wed, 18 Jul 2001 15:00:28 -0500 for Received: from paralleldata.com [65.3.53.39] by paralleldata.com [63.93.128.8] (SLmail 5.0.0.4348) with ESMTP id 38B1AC3567BD4980A43E3F7FFA8570D6 for ; Wed, 18 Jul 2001 15:00:28 -0500 Message-ID: <3B55F065.F357E0C9@paralleldata.com> Date: Wed, 18 Jul 2001 15:24:05 -0500 From: "W Bauske" Organization: PDS Inc. X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: speed up tape writes with /bin/buffer References: <20010718190603.56143.qmail@web14901.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SLUIDL: 8C69D7A0-55F24469-9A4C8534-8E262A8F 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: Try adding '-b 128' to your old command and see if that speeds it up a bit. Experiment with various values to see what your drive will allow and which performs best. Then you get your original append function back. Wes 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 > > This works really well, reducing the amount of time > to backup by an order of magnitude (due to the use > of the /bin/buffer command). > > The old command was: > > gtar rPvf $username@$remote_host:$TAPE_DEV \ > $FILELIST > > Which took way too much time (but the "r" did > allow me to append to the existing data). > > My problem is this: > > After writing to the tape once, any subsequent > backups will overwrite the previous (the tape > has plenty of room for more files) since the > buffer command does not have the ability to > "append" to the tape archive. > > Is there a way to use the first command I listed > and have it "APPEND" to the tape rather than over > write it? > > I have tried to use the "no-rewind" option, but one > of the requirements of the script is that it rewind > the tape and re-read what is listed to verify that > all the files got backed up. This would be okay if > I could find a way to position the tape at the end > of the existing archives prior to writing to the tape, > but I've not been able to figure out how to position > the tape. > > I've used the "mt" command with "eod", but this didn't > seem to prevent the overwritting of existing files. > > Any suggestions would be appreciated and I will > summarize. > > Regards, > Robert > > __________________________________________________ > Do You Yahoo!? > Get personalized email addresses from Yahoo! Mail > http://personal.mail.yahoo.com/ > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list