Optimize writing to a remote DLT 4 using tar and, dd and rsh

From: Filipe Litaiff (filipe_litaiff@optiglobe.com.br)
Date: Fri Mar 12 2004 - 13:06:55 EST


Greetings (again) fellow forumers,

We have a manual procedure to generate a DLT 4 tape and send it to our
customer on a regular basis. This procedure is controlled by a script and the
process depends on issues like assuring the DB is off, the size of the FS is
reazonable for the tape technology an so on.

We make this backup through the network. We have a HP DLT 8000 attached on a
remote E420 box, accessable by rsh.

Here goes how we are doing the job:

-----

while FS in $FS_LIST; do

        tar cvfb - 20 $FS | rsh $REMHOST dd of=$REMTAPE obs=20b

        # yadda yadda

done

rsh $REMHOST mt -f $REMTAPE rewoffl

-----

The REMTAPE device is non rewindable, of course.

The problem is :

It takes waaaay too long to backup large amounts of data. I mean 4.5 Gb/h
average, with 6Gb/h peak. Even considering the network bootleneck, it doesn4t
look reasonable. We have a 100 megabit full duplex network. Both machines are
at the same VLAN. No switch issues, apparently. No traffic competition.

Question 1: Optimizing this command somehow could improve performance?

Question 2: Is there better/faster way to do the job?

Question 3: Where could be the problem anyway?

Have tested changing tape parameters (compression, etc.) no better times
achieved.

Thanks in advance.

Filipe.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:15 EDT