Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Tim Tuck" <tim.tuck@penrith.net>
To: axp-list@redhat.com
Subject: Re: speed up tape writes with /bin/buffer
Date: Thu, 19 Jul 2001 06:01:49 +1000	[thread overview]
Message-ID: <3B55EB2D.4DED603F@penrith.net> (raw)
In-Reply-To: 20010718190603.56143.qmail@web14901.mail.yahoo.com

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).

Whats the value of $TAPE_DEV ?

You should set it to the non-rewinding form ie: /dev/rmt/0lbn

This will leave you positioned at the end of the file once backup is
complete. You can continue to add file sets/tars/dumps etc until you run
out of tape. 
"mt status" will report the position  you are currently on and the file
you are current at the end off or in.

cheers

Tim




  parent reply	other threads:[~2001-07-18 20:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-18 19:06 speed up tape writes with /bin/buffer John Doe
2001-07-18 19:15 ` Island Computers
2001-07-18 20:01 ` Tim Tuck [this message]
2001-07-18 20:24 ` W Bauske
2001-07-18 20:37 ` alvin
2001-07-19  7:16 ` Mike Tibor
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox