[ale] writing to tape

Björn Gustafsson bg-ale at bjorng.net
Tue Feb 2 12:41:06 EST 2010


On Mon, Feb 1, 2010 at 10:31 AM, Geoffrey <lists at serioustechnology.com> wrote:
> Greg Freemyer wrote:
>> What's your command line including pipes.
>
> ssh servername "tar -cf - $BackupThis" | dd bs=10k of=/dev/nst0

I don't know if it works with GNU tar, but you might want to try the
-B switch and/or to set `-b 20' to explicitly match the dd blocksize.
(20 should be the default though.)

After quickly checking the GNU tar manpage, it seems to indicate that
-B only works for reads, but it might be worth a try anyway.

-- 
Björn Gustafsson



More information about the Ale mailing list