Hi Uwe,

Uwe Hentzschel wrote:
> 
> cat /tmp/pipe | gzip -q | dd of=/dev/st0 bs=10240
> 
> Now I want redirect to the remote tape.
> 
> cat /tmp/pipe | gzip -q | ssh [EMAIL PROTECTED] dd of=/dev/st0 bs=10240
> 
> I allways get:
>   dd: writing `/dev/st0': Invalid argument
>   4+6 records in
>   4+5 records out
>   13+32 Records ein
>   13+31 Records aus
> 
> And in the logfile i read:
>   Aug 20 17:12:50 sapi01 kernel: st0: Write not multiple of tape block size.

it's a little bit strange that the local solution is working here with a
cat. Usual you use dd here to connect to the pipe and not cat e.g. like

dd if=<input pipe from DB> bs=32k | gzip -q | dd of=<tape> bs=32k
 
Therefore the solution for a remote tape might be as follows 

dd if=<input pipe from DB> bs=32k | gzip -q | ssh <user>@<host> dd
of=<tape> bs=32k

Please let me know if this works ...

Ciao  Ralf
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to