Maybe I should clean the geezer-goggles more often. I didn't see the " was before the | and not at the of the dd line.<br><br><DOH!><br><br>So you are tar'ing to STDOUT over an ssh connection and piping that to a tape drive. Yep. Connection latency will be a major problem. The suggested mbuffer is also available for Fedora. It may be different as it appears to provide statistics about a process.<br>
<br>Maybe an rsync over ssh then a tar to tape would be more efficient. It would require the local system to have enough hard drive space but that's easy.<br><br><div class="gmail_quote">On Tue, Feb 2, 2010 at 1:51 PM, Geoffrey <span dir="ltr"><<a href="mailto:lists@serioustechnology.com">lists@serioustechnology.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">Jim Kinney wrote:<br>
> Just a probably dumb question but why pipe a tar output to a dd? Why not<br>
> use Tape ARchiver (tar) directly to write to the tape?<br>
> (maybe I should reread the entire thread....)<br>
<br>
</div>To be honest, I don't recall. Probably because we are tarring on the<br>
other end? We are tarring from another machine as follow:<br>
<br>
ssh $SERVER "tar -cf - $BackupThis" | dd bs=10k of=/dev/nst0<br>
<br>
><br>
> 2010/2/2 Björn Gustafsson <<a href="mailto:bg-ale@bjorng.net">bg-ale@bjorng.net</a> <mailto:<a href="mailto:bg-ale@bjorng.net">bg-ale@bjorng.net</a>>><br>
<div class="im">><br>
> On Mon, Feb 1, 2010 at 10:31 AM, Geoffrey<br>
</div>> <<a href="mailto:lists@serioustechnology.com">lists@serioustechnology.com</a> <mailto:<a href="mailto:lists@serioustechnology.com">lists@serioustechnology.com</a>>><br>
<div class="im">> wrote:<br>
> > Greg Freemyer wrote:<br>
> >> What's your command line including pipes.<br>
> ><br>
> > ssh servername "tar -cf - $BackupThis" | dd bs=10k of=/dev/nst0<br>
><br>
> I don't know if it works with GNU tar, but you might want to try the<br>
> -B switch and/or to set `-b 20' to explicitly match the dd blocksize.<br>
> (20 should be the default though.)<br>
><br>
> After quickly checking the GNU tar manpage, it seems to indicate that<br>
> -B only works for reads, but it might be worth a try anyway.<br>
><br>
> --<br>
> Björn Gustafsson<br>
><br>
> _______________________________________________<br>
> Ale mailing list<br>
</div>> <a href="mailto:Ale@ale.org">Ale@ale.org</a> <mailto:<a href="mailto:Ale@ale.org">Ale@ale.org</a>><br>
<div class="im">> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
><br>
><br>
><br>
><br>
> --<br>
> --<br>
> James P. Kinney III<br>
> Actively in pursuit of Life, Liberty and Happiness<br>
><br>
><br>
</div>> ------------------------------------------------------------------------<br>
<div class="im">><br>
> _______________________________________________<br>
> Ale mailing list<br>
> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br>
<br>
--<br>
</div><div class="im">Until later, Geoffrey<br>
<br>
"I predict future happiness for America if they can prevent<br>
the government from wasting the labors of the people under<br>
the pretense of taking care of them."<br>
- Thomas Jefferson<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br>Actively in pursuit of Life, Liberty and Happiness <br><br>